Menu
Home Explore People Places Arts History Plants & Animals Science Life & Culture Technology
On this page
Deployment descriptor
Component in Java Platform, Enterprise Edition applications

A deployment descriptor (DD) refers to a configuration file for an artifact that is deployed to some container/engine.

In the Java Platform, Enterprise Edition, a deployment descriptor describes how a component, module or application (such as a web application or enterprise application) should be deployed. It directs a deployment tool to deploy a module or application with specific container options, security settings and describes specific configuration requirements. XML is used for the syntax of these deployment descriptor files.

For web applications, the deployment descriptor must be called web.xml and must reside in the WEB-INF directory in the web application root. For Java EE applications, the deployment descriptor must be named application.xml and must be placed directly in the META-INF directory at the top level of the application .ear file.

We don't have any images related to Deployment descriptor yet.
We don't have any YouTube videos related to Deployment descriptor yet.
We don't have any PDF documents related to Deployment descriptor yet.
We don't have any Books related to Deployment descriptor yet.
We don't have any archived web articles related to Deployment descriptor yet.

Types

In Java EE, there are two types of deployment descriptors: "Java EE deployment descriptors" and "runtime deployment descriptors".2 The Java EE deployment descriptors are defined by the language specification,3 whereas the runtime descriptors are defined by the vendor of each container implementation. For example, the web.xml file is a standard Java EE deployment descriptor, specified in the Java Servlet specification, but the sun-web.xml file contains configuration data specific to the Sun GlassFish Enterprise Server implementation.4

See also

References

  1. "The Java EE 5 Tutorial: Packaging Applications", retrieved 2010-07-13 http://docs.oracle.com/javaee/5/tutorial/doc/bnaby.html

  2. "The Java EE 5 Tutorial: Packaging Applications", retrieved 2010-07-13 http://docs.oracle.com/javaee/5/tutorial/doc/bnaby.html

  3. "Java EE : XML Schemas for Java EE Deployment Descriptors", retrieved 2010-07-13 http://java.sun.com/xml/ns/javaee/index.html

  4. "Sun Java System Application Server Descriptors"[permanent dead link], retrieved 2010-07-13 http://docs.sun.com/app/docs/doc/820-4502/beaqj?l=en&a=view