application_1_2.dtd: Elements - Entities - Source | Intro - Index
FRAMES / NO FRAMES

application_1_2.dtd

Copyright 1999 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, CA 94303, U.S.A. All rights reserved.

This product or document is protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation. No part of this product or documentation may be reproduced in any form by any means without prior written authorization of Sun and its licensors, if any.

Third party software, including font technology, is copyrighted and licensed from Sun suppliers.

Sun, Sun Microsystems, the Sun Logo, Solaris, Java, JavaServer Pages, Java Naming and Directory Interface, JDBC, JDK, JavaMail and Enterprise JavaBeans, are trademarks or registered trademarks of Sun Microsystems, Inc in the U.S. and other countries.

All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the U.S. and other countries. Products bearing SPARC trademarks are based upon an architecture developed by Sun Microsystems, Inc.

PostScript is a registered trademark of Adobe Systems, Inc.

Federal Acquisitions: Commercial Software - Government Users Subject to Standard License Terms and Conditions.

DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.

_________________________________________________________________________ Copyright 1999 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303, Etats-Unis. Tous droits re'serve's.

Ce produit ou document est prote'ge' par un copyright et distribue' avec des licences qui en restreignent l'utilisation, la copie, la distribution, et la de'compilation. Aucune partie de ce produit ou de sa documentation associe'e ne peut e^tre reproduite sous aucune forme, par quelque moyen que ce soit, sans l'autorisation pre'alable et e'crite de Sun et de ses bailleurs de licence, s'il y en a.

Le logiciel de'tenu par des tiers, et qui comprend la technologie relative aux polices de caracte`res, est prote'ge' par un copyright et licencie' par des fournisseurs de Sun.

Sun, Sun Microsystems, le logo Sun, Solaris, Java, JavaServer Pages, Java Naming and Directory Interface, JDBC, JDK, JavaMail, et Enterprise JavaBeans, sont des marques de fabrique ou des marques de'pose'es de Sun Microsystems, Inc. aux Etats-Unis et dans d'autres pays.

Toutes les marques SPARC sont utilise'es sous licence et sont des marques de fabrique ou des marques de'pose'es de SPARC International, Inc. aux Etats-Unis et dans d'autres pays. Les produits portant les marques SPARC sont base's sur une architecture de'veloppe'e par Sun Microsystems, Inc.

Postcript est une marque enregistre'e d'Adobe Systems Inc.

LA DOCUMENTATION EST FOURNIE "EN L'ETAT" ET TOUTES AUTRES CONDITIONS, DECLARATIONS ET GARANTIES EXPRESSES OU TACITES SONT FORMELLEMENT EXCLUES, DANS LA MESURE AUTORISEE PAR LA LOI APPLICABLE, Y COMPRIS NOTAMMENT TOUTE GARANTIE IMPLICITE RELATIVE A LA QUALITE MARCHANDE, A L'APTITUDE A UNE UTILISATION PARTICULIERE OU A L'ABSENCE DE CONTREFACON.



<alt-dd> Child of module

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.

<alt-dd>'s attributes
NameValuesDefault
idMatch the ID rules.

<application> Root element

The application element is the root element of a J2EE application deployment descriptor.

<application>'s children
NameCardinality
descriptionOne or none
display-nameOnly one
iconOne or none
moduleAt least one
security-roleAny number
<application>'s attributes
NameValuesDefault
idMatch the ID rules.
Element's model:

(icon?, display-name, description?, module+, security-role*)


<context-root> Child of web

The context-root element specifies the context root of a web application

<context-root>'s attributes
NameValuesDefault
idMatch the ID rules.

<description> Child of application, security-role

The description element provides a human readable description of the application. The description element should include any information that the application assembler wants to provide the deployer.

<description>'s attributes
NameValuesDefault
idMatch the ID rules.

<display-name> Child of application

The display-name element specifies an application name. The application name is assigned to the application by the application assembler and is used to identify the application to the deployer at deployment time.

<display-name>'s attributes
NameValuesDefault
idMatch the ID rules.

<ejb> Child of module

The ejb element specifies the URI of a ejb-jar, relative to the top level of the application package.

<ejb>'s attributes
NameValuesDefault
idMatch the ID rules.

<icon> Child of application

The icon element contains a small-icon and large-icon element which specify the URIs for a small and a large GIF or JPEG icon image to represent the application in a GUI.

<icon>'s children
NameCardinality
large-iconOne or none
small-iconOne or none
<icon>'s attributes
NameValuesDefault
idMatch the ID rules.
Element's model:

(small-icon?, large-icon?)


<java> Child of module

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

<java>'s attributes
NameValuesDefault
idMatch the ID rules.

<large-icon> Child of icon

The large-icon element specifies the URI for a large GIF or JPEG icon image to represent the application in a GUI.

<large-icon>'s attributes
NameValuesDefault
idMatch the ID rules.

<module> Child of application

The module element represents a single J2EE module and contains an 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.

<module>'s children
NameCardinality
alt-ddOne or none
ejbOne or none
javaOne or none
webOne or none
<module>'s attributes
NameValuesDefault
idMatch the ID rules.
Element's model:

((ejb | java | web), alt-dd?)


<role-name> Child of security-role

The role-name element contains the name of a security role.

<role-name>'s attributes
NameValuesDefault
idMatch the ID rules.

<security-role> Child of application

The security-role element contains the definition of a security role which is global to the application. The definition consists of a description of the security role, and the security role name. The descriptions at this level override those in the component level security-role definitions and must be the descriptions tool display to the deployer.

<security-role>'s children
NameCardinality
descriptionOne or none
role-nameOnly one
<security-role>'s attributes
NameValuesDefault
idMatch the ID rules.
Element's model:

(description?, role-name)


<small-icon> Child of icon

The small-icon element specifies the URI for a small GIF or JPEG icon image to represent the application in a GUI.

<small-icon>'s attributes
NameValuesDefault
idMatch the ID rules.

<web> Child of module

The web element contains the web-uri and context-root of a web application module.

<web>'s children
NameCardinality
context-rootOnly one
web-uriOnly one
<web>'s attributes
NameValuesDefault
idMatch the ID rules.
Element's model:

(web-uri, context-root)


<web-uri> Child of web

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

<web-uri>'s attributes
NameValuesDefault
idMatch the ID rules.

@id Attribute of alt-dd

The ID mechanism is to allow tools to easily make tool-specific references to the elements of the deployment descriptor.

Possible values: Match the ID rules.


@id Attribute of application

Element identifier.

Possible values: Match the ID rules.


@id Attribute of context-root

Element identifier.

Possible values: Match the ID rules.


@id Attribute of description

Element identifier.

Possible values: Match the ID rules.


@id Attribute of display-name

Element identifier.

Possible values: Match the ID rules.


@id Attribute of ejb

Element identifier.

Possible values: Match the ID rules.


@id Attribute of icon

Element identifier.

Possible values: Match the ID rules.


@id Attribute of java

Element identifier.

Possible values: Match the ID rules.


@id Attribute of large-icon

Element identifier.

Possible values: Match the ID rules.


@id Attribute of module

Element identifier.

Possible values: Match the ID rules.


@id Attribute of role-name

Element identifier.

Possible values: Match the ID rules.


@id Attribute of security-role

Element identifier.

Possible values: Match the ID rules.


@id Attribute of small-icon

Element identifier.

Possible values: Match the ID rules.


@id Attribute of web

Element identifier.

Possible values: Match the ID rules.


@id Attribute of web-uri

Element identifier.

Possible values: Match the ID rules.