|Every J2EE application module must include an XML based deployment descriptor that provide configuration information for the asset as well as defining relationships to other components.
There are two types of deployments descriptors:
Deployment descriptors are necessary but are not always sufficient to deploy an asset on your server.
- vendor neutral deployment descriptors (a.k.a deployment descriptors)
- vendor specific deployment descriptor (a.k.a deployment plans)
Deployment plans provides additional information to map declared resources names, ejb names, security roles, JMS roles (if any) to actual resources in the server. The deployment plans also contain specific server settings and configurations.
J2EE deployment descriptors XML DTDs and XML Schemas
The deployment descriptors and deployment plans XML files must comply with a specific format.
In J2EE specifications up through version 1.3, these deployment descriptors were based on XML DTDs.
Starting with J2EE 1.4, these deployment descriptors are based on XML Schemas.
More information about XML Schemas for Java EE Deployment Descriptors, see:
The deployment plan XML DTDs and XML Schemas are not described in this quick guide.
Java EE 5 Schema Resources
J2EE 1.4 XML Schemas
J2EE 1.3 DTDs
J2EE 1.2 DTDs