J2EE.8.3 Deployment


The J2EE platform supports two types of deployment units:

  • Stand-alone J2EE modules.

  • J2EE applications, consisting of one or more J2EE modules. A J2EE application must include one J2EE application deployment descriptor.

Any J2EE platform must be able to accept a J2EE application delivered as a .ear file.

J2EE.8.3.1 Deploying a Stand-Alone J2EE Module

This section specifies the requirements for deployment of a stand-alone J2EE module.

  1. The deployment tool must first read the J2EE module deployment descriptor from the package. See the EJB and servlet specifications for the required location and name of the deployment descriptor for each component type.

  2. The deployment tool must deploy all of the components listed in the J2EE module deployment descriptor according to the deployment requirements of the respective J2EE component specification.

J2EE.8.3.2 Deploying a J2EE Application

This section specifies the requirements for deployment of a J2EE application.

  1. The deployment tool must first read the J2EE application deployment descriptor from the application .ear file ( META-INF/application.xml ).

  2. The deployment tool must open each of the J2EE modules listed in the J2EE application deployment descriptor and read the J2EE module deployment descriptor from the package. See the Enterprise JavaBeans, servlet, and application client specifications for the required location and name of the deployment descriptor for each component type. (The application client specification is Chapter J2EE.9, "Application Clients.")

  3. The deployment tool must install all of the components described by each module deployment descriptor into the appropriate container according to the deployment requirements of the respective J2EE component specification.

  4. The deployment tool must allow the deployer to configure the container to reflect the values of all the properties declared by the deployment descriptor element for each component.

  5. Repeat steps 2 through 4 until all the modules listed in the application deployment descriptor have been deployed.



Java 2 Platform, Enterprise Edition. Platform and Component Specifications
Java 2 Platform, Enterprise Edition: Platform and Component Specifications
ISBN: 0201704560
EAN: 2147483647
Year: 2000
Pages: 399

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net