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