views:

28

answers:

1

Hi,

I'm developing a JSF2 application using Glassfish which contains some EJB's; is there a reason I should use sun-application.xml versus the standard application.xml file?

I would like to deploy my application as an exploded EAR. Do I need to do anything special with the application xml configuration?

Thanks in advance!

+1  A: 

Use application.xml for standard j2ee configuration, sun-application.xml is the vendor specific descriptor. You'll find that other containers have vendor specific descriptors -- like jboss-application.xml.

jskaggz
Thanks for the tip, are the vendor-specific descriptors optional (unless I want vendor-specific things)?
Jon
Thats exactly it :-)
jskaggz
Sounds good, thanks
Jon