users@glassfish.java.net

Re: When do I use the sun-resources.xml and .sun-resource files?

From: <glassfish_at_javadesktop.org>
Date: Wed, 30 Apr 2008 08:04:58 PDT

That is about right.

The NetBeans IDE uses these files when you deploy your project to make sure the server is configured to run your project. Historically, the files were named *.sun-resource. These files were migrated into a single sun-resources.xml file in the 6.0 release timeframe.

At deployment time, the server integration plugin reads these files and uses the data to drive the creation or update of resources on the server.

These files are created explicitly by wizards or implicitly by executing actions like 'Use Database'.

If you are using asadmin or the admin console to create or update the resources, then these files may not be necessary.

vbk
[Message sent by forum member 'vbkraemer' (vbkraemer)]

http://forums.java.net/jive/thread.jspa?messageID=272237