blob: 22a49aca1e48f3862aeffb36a86ea28b55bd2bad [file] [log] [blame]
david_williamse073de12007-04-28 04:01:44 +00001<!--
2Copyright (c) 2000 Sun Microsystems, Inc.,
3901 San Antonio Road,
4Palo Alto, California 94303, U.S.A.
5All rights reserved.
6
7Sun Microsystems, Inc. has intellectual property rights relating to
8technology embodied in the product that is described in this document.
9In particular, and without limitation, these intellectual property
10rights may include one or more of the U.S. patents listed at
11http://www.sun.com/patents and one or more additional patents or
12pending patent applications in the U.S. and in other countries.
13
14This document and the product to which it pertains are distributed
15under licenses restricting their use, copying, distribution, and
16decompilation. This document may be reproduced and distributed but may
17not be changed without prior written authorization of Sun and its
18licensors, if any.
19
20Third-party software, including font technology, is copyrighted and
21licensed from Sun suppliers.
22
23Sun, Sun Microsystems, the Sun logo, Java, JavaServer Pages, Java
24Naming and Directory Interface, JDBC, JDK, JavaMail and and
25Enterprise JavaBeans are trademarks or registered trademarks of Sun
26Microsystems, Inc. in the U.S. and other countries.
27
28Federal Acquisitions: Commercial Software - Government Users Subject to
29Standard License Terms and Conditions.
30
31DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED
32CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED
33WARRANTY OF MERCHANTABILITY, FITNESS FOR FOR A PARTICULAR PURPOSE OR
34NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH
35DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.
36
37
38_________________________________________________________________________
39
40Copyright (c) 2000 Sun Microsystems, Inc.,
41901 San Antonio Road,
42Palo Alto, California 94303, E'tats-Unis.
43Tous droits re'serve's.
44
45Sun Microsystems, Inc. a les droits de proprie'te' intellectuels
46relatants a` la technologie incorpore'e dans le produit qui est de'crit
47dans ce document. En particulier, et sans la limitation, ces droits de
48proprie'te' intellectuels peuvent inclure un ou plus des brevets
49ame'ricains e'nume're's a` http://www.sun.com/patents et un ou les
50brevets plus supple'mentaires ou les applications de brevet en attente
51dans les E'tats-Unis et dans les autres pays.
52
53Ce produit ou document est prote'ge' par un copyright et distribue'
54avec des licences qui en restreignent l'utilisation, la copie, la
55distribution, et la de'compilation. Ce documention associe n peut
56e^tre reproduite et distribuer, par quelque moyen que ce soit, sans
57l'autorisation pre'alable et e'crite de Sun et de ses bailleurs de
58licence, le cas e'che'ant.
59
60Le logiciel de'tenu par des tiers, et qui comprend la technologie
61relative aux polices de caracte`res, est prote'ge' par un copyright et
62licencie' par des fournisseurs de Sun.
63
64Sun, Sun Microsystems, le logo Sun, Java, JavaServer Pages, Java
65Naming and Directory Interface, JDBC, JDK, JavaMail et and
66Enterprise JavaBeans sont des marques de fabrique ou des marques
67de'pose'es de Sun Microsystems, Inc. aux E'tats-Unis et dans d'autres
68pays.
69
70LA DOCUMENTATION EST FOURNIE "EN L'E'TAT" ET TOUTES AUTRES CONDITIONS,
71DECLARATIONS ET GARANTIES EXPRESSES OU TACITES SONT FORMELLEMENT
72EXCLUES, DANS LA MESURE AUTORISEE PAR LA LOI APPLICABLE, Y COMPRIS
73NOTAMMENT TOUTE GARANTIE IMPLICITE RELATIVE A LA QUALITE MARCHANDE, A
74L'APTITUDE A UNE UTILISATION PARTICULIERE OU A L'ABSENCE DE
75CONTREFAC,ON.
76-->
77
78<!--
79This is the XML DTD for the J2EE 1.3 application deployment
80descriptor. All J2EE 1.3 application deployment descriptors
81must include a DOCTYPE of the following form:
82
83 <!DOCTYPE application PUBLIC
84 "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN"
85 "http://java.sun.com/dtd/application_1_3.dtd">
86
87-->
88
89<!--
90The following conventions apply to all J2EE deployment descriptor
91elements unless indicated otherwise.
92
93- In elements that contain PCDATA, leading and trailing whitespace
94 in the data may be ignored.
95
96- In elements whose value is an "enumerated type", the value is
97 case sensitive.
98
99- In elements that specify a pathname to a file within the same
100 JAR file, relative filenames (i.e., those not starting with "/")
101 are considered relative to the root of the JAR file's namespace.
102 Absolute filenames (i.e., those starting with "/") also specify
103 names in the root of the JAR file's namespace. In general, relative
104 names are preferred. The exception is .war files where absolute
105 names are preferred for consistency with the servlet API.
106-->
107
108
109<!--
110The application element is the root element of a J2EE application
111deployment descriptor.
112-->
113<!ELEMENT application (icon?, display-name, description?, module+,
114 security-role*)>
115
116<!--
117The alt-dd element specifies an optional URI to the post-assembly
118version of the deployment descriptor file for a particular J2EE module.
119The URI must specify the full pathname of the deployment descriptor
120file relative to the application's root directory. If alt-dd is not
121specified, the deployer must read the deployment descriptor from the
122default location and file name required by the respective component
123specification.
124
125Used in: module
126-->
127<!ELEMENT alt-dd (#PCDATA)>
128
129<!--
130The connector element specifies the URI of a resource adapter archive
131file, relative to the top level of the application package.
132
133Used in: module
134-->
135<!ELEMENT connector (#PCDATA)>
136
137<!--
138The context-root element specifies the context root of a web
139application.
140
141Used in: web
142-->
143<!ELEMENT context-root (#PCDATA)>
144
145<!--
146The description element is used to provide text describing the parent
147element. The description element should include any information that
148the application ear file producer wants to provide to the consumer of
149the application ear file (i.e., to the Deployer). Typically, the tools
150used by the application ear file consumer will display the description
151when processing the parent element that contains the description.
152
153Used in: application, security-role
154-->
155<!ELEMENT description (#PCDATA)>
156
157<!--
158The display-name element contains a short name that is intended to be
159displayed by tools. The display name need not be unique.
160
161Used in: application
162
163Example:
164
165<display-name>Employee Self Service</display-name>
166-->
167<!ELEMENT display-name (#PCDATA)>
168
169<!--
170The ejb element specifies the URI of an ejb-jar, relative to the top
171level of the application package.
172
173Used in: module
174-->
175<!ELEMENT ejb (#PCDATA)>
176
177<!--
178The icon element contains small-icon and large-icon elements that
179specify the file names for small and a large GIF or JPEG icon images
180used to represent the parent element in a GUI tool.
181
182Used in: application
183-->
184<!ELEMENT icon (small-icon?, large-icon?)>
185
186<!--
187The java element specifies the URI of a java application client module,
188relative to the top level of the application package.
189
190Used in: module
191-->
192<!ELEMENT java (#PCDATA)>
193
194<!--
195The large-icon element contains the name of a file
196containing a large (32 x 32) icon image. The file
197name is a relative path within the application's
198ear file.
199
200The image may be either in the JPEG or GIF format.
201The icon can be used by tools.
202
203Used in: icon
204
205Example:
206
207<large-icon>employee-service-icon32x32.jpg</large-icon>
208-->
209<!ELEMENT large-icon (#PCDATA)>
210
211<!--
212The module element represents a single J2EE module and contains a
213connector, ejb, java, or web element, which indicates the module type
214and contains a path to the module file, and an optional alt-dd element,
215which specifies an optional URI to the post-assembly version of the
216deployment descriptor.
217
218The application deployment descriptor must have one module element for
219each J2EE module in the application package.
220
221Used in: application
222-->
223<!ELEMENT module ((connector | ejb | java | web), alt-dd?)>
224
225<!--
226The role-name element contains the name of a security role.
227
228The name must conform to the lexical rules for an NMTOKEN.
229
230Used in: security-role
231-->
232<!ELEMENT role-name (#PCDATA)>
233
234<!--
235The security-role element contains the definition of a security
236role. The definition consists of an optional description of the
237security role, and the security role name.
238
239Used in: application
240
241Example:
242
243 <security-role>
244 <description>
245 This role includes all employees who are authorized
246 to access the employee service application.
247 </description>
248 <role-name>employee</role-name>
249 </security-role>
250-->
251<!ELEMENT security-role (description?, role-name)>
252
253<!--
254The small-icon element contains the name of a file
255containing a small (16 x 16) icon image. The file
256name is a relative path within the application's
257ear file.
258
259The image may be either in the JPEG or GIF format.
260The icon can be used by tools.
261
262Used in: icon
263
264Example:
265
266<small-icon>employee-service-icon16x16.jpg</small-icon>
267-->
268<!ELEMENT small-icon (#PCDATA)>
269
270<!--
271The web element contains the web-uri and context-root of a web
272application module.
273
274Used in: module
275-->
276<!ELEMENT web (web-uri, context-root)>
277
278<!--
279The web-uri element specifies the URI of a web application file,
280relative to the top level of the application package.
281
282Used in: web
283-->
284<!ELEMENT web-uri (#PCDATA)>
285
286<!--
287The ID mechanism is to allow tools that produce additional deployment
288information (i.e., information beyond the standard deployment
289descriptor information) to store the non-standard information in a
290separate file, and easily refer from these tool-specific files to the
291information in the standard deployment descriptor.
292
293Tools are not allowed to add the non-standard information into the
294standard deployment descriptor.
295-->
296
297<!ATTLIST alt-dd id ID #IMPLIED>
298<!ATTLIST application id ID #IMPLIED>
299<!ATTLIST connector id ID #IMPLIED>
300<!ATTLIST context-root id ID #IMPLIED>
301<!ATTLIST description id ID #IMPLIED>
302<!ATTLIST display-name id ID #IMPLIED>
303<!ATTLIST ejb id ID #IMPLIED>
304<!ATTLIST icon id ID #IMPLIED>
305<!ATTLIST java id ID #IMPLIED>
306<!ATTLIST large-icon id ID #IMPLIED>
307<!ATTLIST module id ID #IMPLIED>
308<!ATTLIST role-name id ID #IMPLIED>
309<!ATTLIST security-role id ID #IMPLIED>
310<!ATTLIST small-icon id ID #IMPLIED>
311<!ATTLIST web id ID #IMPLIED>
312<!ATTLIST web-uri id ID #IMPLIED>