XML DTD - application_1_3.dtd
Schema has:
16 element definitions and 32 element attribute definitions.
Possible root elements: < application >

Element list

Element application
diagram element image
attributes id 
uses icon  display-name  description  module  security-role 
content a sequence of elements
occurrence required (default)
Attribute Datatype Required Values Default Comments
id ID no (default)      

Element alt-dd
diagram element image
description The alt-dd element specifies an optional URI to the post-assembly version of the deployment descriptor file for a particular J2EE module. The URI must specify the full pathname of the deployment descriptor file relative to the application's root directory. If alt-dd is not specified, the deployer must read the deployment descriptor from the default location and file name required by the respective component specification.

Used in: module

attributes id 
uses
content character data
occurrence
Attribute Datatype Required Values Default Comments
id ID no (default)     The ID mechanism is to allow tools that produce additional deployment information (i.e., information beyond the standard deployment descriptor information) to store the non-standard information in a separate file, and easily refer from these tool-specific files to the information in the standard deployment descriptor. Tools are not allowed to add the non-standard information into the standard deployment descriptor.  

Element connector
diagram element image
description The connector element specifies the URI of a resource adapter archive file, relative to the top level of the application package.

Used in: module

attributes id 
uses
content character data
occurrence
Attribute Datatype Required Values Default Comments
id ID no (default)      

Element context-root
diagram element image
description The context-root element specifies the context root of a web application.

Used in: web

attributes id 
uses
content character data
occurrence
Attribute Datatype Required Values Default Comments
id ID no (default)      

Element description
diagram element image
description The description element is used to provide text describing the parent element. The description element should include any information that the application ear file producer wants to provide to the consumer of the application ear file (i.e., to the Deployer). Typically, the tools used by the application ear file consumer will display the description when processing the parent element that contains the description.

Used in: application, security-role

attributes id 
uses
content character data
occurrence
Attribute Datatype Required Values Default Comments
id ID no (default)      

Element display-name
diagram element image
description The display-name element contains a short name that is intended to be displayed by tools. The display name need not be unique.

Used in: application

Example:
<display-name>Employee Self Service</display-name>

attributes id 
uses
content character data
occurrence
Attribute Datatype Required Values Default Comments
id ID no (default)      

Element ejb
diagram element image
description The ejb element specifies the URI of an ejb-jar, relative to the top level of the application package.

Used in: module

attributes id 
uses
content character data
occurrence
Attribute Datatype Required Values Default Comments
id ID no (default)      

Element icon
diagram element image
description The icon element contains small-icon and large-icon elements that specify the file names for small and a large GIF or JPEG icon images used to represent the parent element in a GUI tool.

Used in: application

attributes id 
uses small-icon  large-icon 
content a sequence of elements
occurrence required (default)
Attribute Datatype Required Values Default Comments
id ID no (default)      

Element java
diagram element image
description The java element specifies the URI of a java application client module, relative to the top level of the application package.

Used in: module

attributes id 
uses
content character data
occurrence
Attribute Datatype Required Values Default Comments
id ID no (default)      

Element large-icon
diagram element image
description The large-icon element contains the name of a file containing a large (32 x 32) icon image. The file name is a relative path within the application's ear file. The image may be either in the JPEG or GIF format. The icon can be used by tools.

Used in: icon

Example:
<large-icon>employee-service-icon32x32.jpg</large-icon>

attributes id 
uses
content character data
occurrence
Attribute Datatype Required Values Default Comments
id ID no (default)      

Element module
diagram element image
description The module element represents a single J2EE module and contains a connector, ejb, java, or web element, which indicates the module type and contains a path to the module file, and an optional alt-dd element, which specifies an optional URI to the post-assembly version of the deployment descriptor. The application deployment descriptor must have one module element for each J2EE module in the application package.

Used in: application

attributes id 
uses connector  ejb  java  web  alt-dd 
content a sequence of elements
occurrence required (default)
Attribute Datatype Required Values Default Comments
id ID no (default)      

Element role-name
diagram element image
description The role-name element contains the name of a security role. The name must conform to the lexical rules for an NMTOKEN.

Used in: security-role

attributes id 
uses
content character data
occurrence
Attribute Datatype Required Values Default Comments
id ID no (default)      

Element security-role
diagram element image
description The security-role element contains the definition of a security role. The definition consists of an optional description of the security role, and the security role name.

Used in: application

Example:
<security-role> <description> This role includes all employees who are authorized to access the employee service application. </description> <role-name>employee</role-name> </security-role>

attributes id 
uses description  role-name 
content a sequence of elements
occurrence required (default)
Attribute Datatype Required Values Default Comments
id ID no (default)      

Element small-icon
diagram element image
description The small-icon element contains the name of a file containing a small (16 x 16) icon image. The file name is a relative path within the application's ear file. The image may be either in the JPEG or GIF format. The icon can be used by tools.

Used in: icon

Example:
<small-icon>employee-service-icon16x16.jpg</small-icon>

attributes id 
uses
content character data
occurrence
Attribute Datatype Required Values Default Comments
id ID no (default)      

Element web
diagram element image
description The web element contains the web-uri and context-root of a web application module.

Used in: module

attributes id 
uses web-uri  context-root 
content a sequence of elements
occurrence required (default)
Attribute Datatype Required Values Default Comments
id ID no (default)      

Element web-uri
diagram element image
description The web-uri element specifies the URI of a web application file, relative to the top level of the application package.

Used in: web

attributes id 
uses
content character data
occurrence
Attribute Datatype Required Values Default Comments
id ID no (default)