Application assembly and J2EE applications
Application assembly is the process of creating an *.ear file containing all files related to an application, as well as an XML deployment descriptor for the application. *.ear files are comprised of the following archives...
Enterprise bean *.jar Web archive *.war Application client *.jar Resource adapter archive *.rar
WAR modules can be deployed individually. WAR modules can contain regular JAR files, but may not contain the other module types.
The assembly process is as follows...
- Select all of the files to include in the module.
- Create a deployment descriptor containing instructions for module deployment on the appserver.
- Package modules into a single EAR file, which contains one or more files in a compressed format.