An enterprise application archive (EAR) can consist of several application modules. The application modules can be several web application archives (WAR) , EJB modules (JAR), application client modules (JAR) or resource archive modules (RAR). User can either deploy these modules individually or bundle them into a single EAR file and deploy that file.
When deployed individually, each application module should accompany a Geronimo deployment plan to map declared resources names, ejb names, security roles, JMS roles (if any) to actual resources in the server. The Geronimo deployment plans also contain any Geronimo specific settings and configurations. When deployed as a single bundle (EAR), user can create a single Geronimo deployment plan accomplish to perform all the mappings/settings and configurations.
Java EE Deployment Plans
Module Type |
Geronimo Schema |
Preferred Java EE Schema |
JEE deployment descriptor (DD) |
Geronimo deployment plan |
---|---|---|---|---|
General (Tomcat or Jetty) Web Application (WAR) |
|
|||
Tomcat-Only Web Application (WAR) |
|
|||
Jetty-Only Web Application (WAR) |
|
|||
EJB (JAR) |
|
|||
J2EE Connector (RAR) |
|
|||
Application Client (JAR) |
http://geronimo.apache.org/xml/ns/j2ee/application-client-2.0 |
|
||
Application (EAR) |
|
Common Elements & Configuration
Module Type |
Geronimo Schema |
Description |
---|---|---|
Server Plans & Common Elements |
Used to deploy new services in Geronimo in a standalone plan, and also contains common elements used by many other plans. |
|
Geronimo Plugin Descriptor |
Metadata on a Geronimo plugin or a list of available Geronimo plugins. |
|
Security Mapping |
Common security elements used by other plans. |
|
Security Realms |
Abbreviated syntax for configuring security realm and login module GBeans. You can either manually configure multiple GBeans or declare a single GBean for the realm using this to configure all the login modules. |
|
Naming |
Common elements for references to other components (EJBs, database pools, JMS resources, J2EE Connectors, Web Services, etc.) |
|
Primary Key Generator |
Abbreviated syntax for configuring primary key generators for CMP entity beans. Avoids manually configuring and wiring up PK generator GBeans. |
|
CORBA CSS Configuration |
Abbreviated syntax for configuring security for clients accessing remote EJBs via CORBA. |
|
CORBA TSS Configuration |
Abbreviated syntax for configuring security for EJBs exposed via CORBA. |
|
config.xml |
The format of the |
|
Tomcat Web App Configuration |
If you use the generic ( |
|
Jetty Web App Configuration |
If you use the generic ( |