Sun GlassFish Enterprise Server v3 Prelude Application Deployment Guide

Assembling Modules and Applications

Assembling (or packaging) modules and applications in Enterprise Server conforms to all of the customary Java-EE-defined specifications. The only difference is that when you assemble in Enterprise Server, you can include optional Enterprise Server specific deployment descriptors that enhance the functionality of the Enterprise Server.

For example, when you assemble an EJB JAR module, you annotate or create two deployment descriptor files with these names: ejb-jar.xml and sun-ejb-jar.xml. For more information about sun-ejb-jar.xml, see Appendix A, Deployment Descriptor Files.

The Enterprise Server provides these tools for assembling and verifying a module or an application:

The NetBeans IDE

You can use the NetBeansTM Integrated Development Environment (IDE), or another IDE, to assemble Java EE applications and modules. The GlassFish edition of the Enterprise Server is bundled with the NetBeans 6.1 IDE. For more information about using the NetBeans IDE, see