In my initial blog post about GlassFish Server 3.1 support in NetBeans dev builds, I mentioned that projects that target 3.1 will get glassfish-*.xml deployment descriptors instead of sun-*.xml deployment descriptors. There are a number of other files that are getting name and content changes in 3.1. One of the files that is getting changed is the resource definition file, previously known as sun-resources.xml.


If you create a project that targets GlassFish Server 3.1 and that project needs to define resources, the definitions will be persisted in a file named glassfish-resources.xml.

WebApp431 (web app for three one) targets GlassFish Server 3.1


The content of an automatically generated glassfish-resources.xml file.


Read More about [Supporting glassfish-resources.xml...