The EAR file that is produced has the following structure and contents:
This file is automatically generated and lists the mapping of EJB modules to JAR files that are contained in the application.
A generated WebSphere Application Server -specific extension file.
A generated WebSphere Application Server -specific extension file.
WebSphere Application Server security policy file that grants the application the Java permissionjava.security.AllPermission.
The manifest file which details the contents of the EAR file.
The core JAR files include1:
This is only present if facade generation has been enabled. All facades defined in the application are packaged into one JAR file, FacadeModule.jar. This JAR file contains the bean implementation classes for the EJB modules that represent the facades. The JAR file contains the following files in the META-INF directory:
This file is automatically generated and contains the definition of every EJB module contained in the JAR file. All the publicly available methods are listed and the details of the resources available to the EJB modules.
A generated WebSphere Application Server -specific extension file.
A generated WebSphere Application Server -specific extension file.
The manifest file, detailing the classpath for the EJB.
The other JAR files contain the generated and hand crafted code from the application. These include application.jar, codetable.jar, events.jar, struct.jar, messages.jar, implementation.jar and properties.jar. The properties.jar file contains the Bootstrap.properties file. This is the file containing the machine specific configuration properties for initially getting a connection to the database.