The target audience for this guide is the Application Assembler, i.e. the person in charge of combining one or more J2EE components (ejb-jars and/or wars) to create a J2EE application. It describes how the J2EE components should be packaged to create a J2EE application.
The content of this guide is the following:
J2EE applications are packaged for deployment in a standard Java programming language Archive file, called an ear file (Enterprise ARchive). This file can contain
To build an ear file for a J2EE application, the ejb-jars and the wars that you want to package in your J2EE application must have been built and the XML deployment descriptor (application.xml) should have been written.
Then, the ear file (<j2ee-application>.ear
) is built, using the jar command:
cd <your_j2ee_application_directory> jar cvf <j2ee-application>.ear *