glassfish 0.1.1-universal-java-1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. data/COPYRIGHT +33 -0
  2. data/LICENSE.txt +263 -0
  3. data/README +12 -0
  4. data/bin/asadmin +7 -0
  5. data/bin/asadmin.bat +8 -0
  6. data/bin/glassfish_rails +40 -0
  7. data/config/asadminenv.conf +6 -0
  8. data/config/asenv.bat +28 -0
  9. data/config/asenv.conf +27 -0
  10. data/config/glassfish.container +4 -0
  11. data/domains/domain1/config/admin-keyfile +3 -0
  12. data/domains/domain1/config/cacerts.jks +0 -0
  13. data/domains/domain1/config/default-web.xml +906 -0
  14. data/domains/domain1/config/domain-passwords +0 -0
  15. data/domains/domain1/config/domain.xml +208 -0
  16. data/domains/domain1/config/keyfile +6 -0
  17. data/domains/domain1/config/keystore.jks +0 -0
  18. data/domains/domain1/config/logging.properties +82 -0
  19. data/domains/domain1/config/login.conf +18 -0
  20. data/domains/domain1/config/server.policy +160 -0
  21. data/domains/domain1/config/sun-acc.xml +40 -0
  22. data/domains/domain1/config/wss-server-config-1.0.xml +86 -0
  23. data/domains/domain1/config/wss-server-config-2.0.xml +94 -0
  24. data/domains/domain1/docroot/favicon.gif +0 -0
  25. data/domains/domain1/docroot/index.html +87 -0
  26. data/domains/domain1/master-password +0 -0
  27. data/lib/appclient/appclientlogin.conf +10 -0
  28. data/lib/appclient/client.policy +79 -0
  29. data/lib/appclient/wss-client-config-1.0.xml +84 -0
  30. data/lib/appclient/wss-client-config-2.0.xml +96 -0
  31. data/lib/dtds/application-client_1_2.dtd +292 -0
  32. data/lib/dtds/application-client_1_3.dtd +506 -0
  33. data/lib/dtds/application_1_2.dtd +197 -0
  34. data/lib/dtds/application_1_3.dtd +312 -0
  35. data/lib/dtds/connector_1_0.dtd +561 -0
  36. data/lib/dtds/ejb-jar_1_1.dtd +894 -0
  37. data/lib/dtds/ejb-jar_2_0.dtd +1671 -0
  38. data/lib/dtds/sun-application-client-container_1_0.dtd +123 -0
  39. data/lib/dtds/sun-application-client-container_1_1.dtd +264 -0
  40. data/lib/dtds/sun-application-client-container_1_2.dtd +267 -0
  41. data/lib/dtds/sun-application-client_1_3-0.dtd +57 -0
  42. data/lib/dtds/sun-application-client_1_4-0.dtd +182 -0
  43. data/lib/dtds/sun-application-client_1_4-1.dtd +431 -0
  44. data/lib/dtds/sun-application-client_5_0-0.dtd +495 -0
  45. data/lib/dtds/sun-application_1_3-0.dtd +30 -0
  46. data/lib/dtds/sun-application_1_4-0.dtd +44 -0
  47. data/lib/dtds/sun-application_5_0-0.dtd +51 -0
  48. data/lib/dtds/sun-cmp-mapping_1_0.dtd +100 -0
  49. data/lib/dtds/sun-cmp-mapping_1_1.dtd +99 -0
  50. data/lib/dtds/sun-cmp-mapping_1_2.dtd +106 -0
  51. data/lib/dtds/sun-connector_1_0-0.dtd +66 -0
  52. data/lib/dtds/sun-connector_1_5-0.dtd +62 -0
  53. data/lib/dtds/sun-domain_1_0.dtd +2007 -0
  54. data/lib/dtds/sun-domain_1_1.dtd +3080 -0
  55. data/lib/dtds/sun-domain_1_2.dtd +3697 -0
  56. data/lib/dtds/sun-domain_1_3.dtd +3867 -0
  57. data/lib/dtds/sun-ejb-jar_2_0-0.dtd +449 -0
  58. data/lib/dtds/sun-ejb-jar_2_0-1.dtd +454 -0
  59. data/lib/dtds/sun-ejb-jar_2_1-0.dtd +756 -0
  60. data/lib/dtds/sun-ejb-jar_2_1-1.dtd +1085 -0
  61. data/lib/dtds/sun-ejb-jar_3_0-0.dtd +1113 -0
  62. data/lib/dtds/sun-loadbalancer_1_0.dtd +156 -0
  63. data/lib/dtds/sun-loadbalancer_1_1.dtd +172 -0
  64. data/lib/dtds/sun-resources_1_0.dtd +650 -0
  65. data/lib/dtds/sun-resources_1_1.dtd +650 -0
  66. data/lib/dtds/sun-resources_1_2.dtd +662 -0
  67. data/lib/dtds/sun-resources_1_3.dtd +732 -0
  68. data/lib/dtds/sun-server_1_0.dtd +1056 -0
  69. data/lib/dtds/sun-web-app_2_3-0.dtd +230 -0
  70. data/lib/dtds/sun-web-app_2_3-1.dtd +230 -0
  71. data/lib/dtds/sun-web-app_2_4-0.dtd +466 -0
  72. data/lib/dtds/sun-web-app_2_4-1.dtd +742 -0
  73. data/lib/dtds/sun-web-app_2_5-0.dtd +789 -0
  74. data/lib/dtds/web-app_2_2.dtd +639 -0
  75. data/lib/dtds/web-app_2_3.dtd +1063 -0
  76. data/lib/dtds/web-jsptaglibrary_1_1.dtd +265 -0
  77. data/lib/dtds/web-jsptaglibrary_1_2.dtd +468 -0
  78. data/lib/package-appclient.xml +185 -0
  79. data/lib/processLauncher.properties +25 -0
  80. data/lib/processLauncher.xml +189 -0
  81. data/lib/schemas/XMLSchema.dtd +402 -0
  82. data/lib/schemas/application-client_1_4.xsd +267 -0
  83. data/lib/schemas/application-client_5.xsd +304 -0
  84. data/lib/schemas/application_1_4.xsd +315 -0
  85. data/lib/schemas/application_5.xsd +336 -0
  86. data/lib/schemas/connector_1_5.xsd +1036 -0
  87. data/lib/schemas/datatypes.dtd +203 -0
  88. data/lib/schemas/ejb-jar_2_1.xsd +2208 -0
  89. data/lib/schemas/ejb-jar_3_0.xsd +2706 -0
  90. data/lib/schemas/j2ee_1_4.xsd +1608 -0
  91. data/lib/schemas/j2ee_jaxrpc_mapping_1_1.xsd +886 -0
  92. data/lib/schemas/j2ee_web_services_1_1.xsd +491 -0
  93. data/lib/schemas/j2ee_web_services_client_1_1.xsd +345 -0
  94. data/lib/schemas/javaee_5.xsd +2096 -0
  95. data/lib/schemas/javaee_web_services_1_2.xsd +747 -0
  96. data/lib/schemas/javaee_web_services_client_1_2.xsd +578 -0
  97. data/lib/schemas/jax-rpc-ri-config.xsd +416 -0
  98. data/lib/schemas/jsp_2_0.xsd +308 -0
  99. data/lib/schemas/jsp_2_1.xsd +343 -0
  100. data/lib/schemas/orm_1_0.xsd +1516 -0
  101. data/lib/schemas/persistence_1_0.xsd +260 -0
  102. data/lib/schemas/web-app_2_4.xsd +1234 -0
  103. data/lib/schemas/web-app_2_5.xsd +1271 -0
  104. data/lib/schemas/web-jsptaglibrary_2_0.xsd +1010 -0
  105. data/lib/schemas/web-jsptaglibrary_2_1.xsd +1144 -0
  106. data/lib/schemas/xml.xsd +82 -0
  107. data/modules/admin-cli-10.0-SNAPSHOT.jar +0 -0
  108. data/modules/auto-depends-0.2-SNAPSHOT.jar +0 -0
  109. data/modules/cli-framework-10.0-SNAPSHOT.jar +0 -0
  110. data/modules/common-ee-util-10.0-SNAPSHOT.jar +0 -0
  111. data/modules/common-util-10.0-SNAPSHOT.jar +0 -0
  112. data/modules/config-0.2-SNAPSHOT.jar +0 -0
  113. data/modules/config-api-10.0-SNAPSHOT.jar +0 -0
  114. data/modules/gf-jruby-connector-10.0-SNAPSHOT.jar +0 -0
  115. data/modules/glassfish-10.0-SNAPSHOT.jar +0 -0
  116. data/modules/glassfish-api-10.0-SNAPSHOT.jar +0 -0
  117. data/modules/glassfish.rb +10 -0
  118. data/modules/grizzly-framework-1.7.1.jar +0 -0
  119. data/modules/grizzly-http-1.7.1.jar +0 -0
  120. data/modules/grizzly-http-utils-1.7.1.jar +0 -0
  121. data/modules/grizzly-jruby-1.7.0.jar +0 -0
  122. data/modules/grizzly-jruby-module-1.7.0.jar +0 -0
  123. data/modules/grizzly-module-1.7.1.jar +0 -0
  124. data/modules/grizzly-portunif-1.7.1.jar +0 -0
  125. data/modules/grizzly-rcm-1.7.1.jar +0 -0
  126. data/modules/hk2-0.2-SNAPSHOT.jar +0 -0
  127. data/modules/hk2-core-0.2-SNAPSHOT.jar +0 -0
  128. data/modules/junit-4.3.1.jar +0 -0
  129. data/modules/kernel-10.0-SNAPSHOT.jar +0 -0
  130. data/modules/persistence-api-1.0b.jar +0 -0
  131. data/modules/servlet-api-2.5.jar +0 -0
  132. data/modules/sjsxp-1.0.jar +0 -0
  133. data/modules/stax-api-1.0-2.jar +0 -0
  134. data/modules/tiger-types-1.0.jar +0 -0
  135. metadata +206 -0
@@ -0,0 +1,197 @@
1
+ <!--
2
+ Copyright 1999 Sun Microsystems, Inc. 901 San Antonio Road,
3
+ Palo Alto, CA 94303, U.S.A. All rights reserved.
4
+
5
+ This product or document is protected by copyright and distributed
6
+ under licenses restricting its use, copying, distribution, and
7
+ decompilation. No part of this product or documentation may be
8
+ reproduced in any form by any means without prior written authorization
9
+ of Sun and its licensors, if any.
10
+
11
+ Third party software, including font technology, is copyrighted and
12
+ licensed from Sun suppliers.
13
+
14
+ Sun, Sun Microsystems, the Sun Logo, Solaris, Java, JavaServer Pages, Java
15
+ Naming and Directory Interface, JDBC, JDK, JavaMail and Enterprise JavaBeans,
16
+ are trademarks or registered trademarks of Sun Microsystems, Inc in the U.S.
17
+ and other countries.
18
+
19
+ All SPARC trademarks are used under license and are trademarks
20
+ or registered trademarks of SPARC International, Inc.
21
+ in the U.S. and other countries. Products bearing SPARC
22
+ trademarks are based upon an architecture developed by Sun Microsystems, Inc.
23
+
24
+ PostScript is a registered trademark of Adobe Systems, Inc.
25
+
26
+
27
+ Federal Acquisitions: Commercial Software - Government Users Subject to
28
+ Standard License Terms and Conditions.
29
+
30
+
31
+
32
+ DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED
33
+ CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY
34
+ IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
35
+ PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT
36
+ TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY
37
+ INVALID.
38
+
39
+ _________________________________________________________________________
40
+ Copyright 1999 Sun Microsystems, Inc.,
41
+ 901 San Antonio Road, Palo Alto, CA 94303, Etats-Unis.
42
+ Tous droits re'serve's.
43
+
44
+
45
+ Ce produit ou document est prote'ge' par un copyright et distribue' avec
46
+ des licences qui en restreignent l'utilisation, la copie, la distribution,
47
+ et la de'compilation. Aucune partie de ce produit ou de sa documentation
48
+ associe'e ne peut e^tre reproduite sous aucune forme, par quelque moyen
49
+ que ce soit, sans l'autorisation pre'alable et e'crite de Sun et de ses
50
+ bailleurs de licence, s'il y en a.
51
+
52
+ Le logiciel de'tenu par des tiers, et qui comprend la technologie
53
+ relative aux polices de caracte`res, est prote'ge' par un copyright
54
+ et licencie' par des fournisseurs de Sun.
55
+
56
+ Sun, Sun Microsystems, le logo Sun, Solaris, Java, JavaServer Pages, Java
57
+ Naming and Directory Interface, JDBC, JDK, JavaMail, et Enterprise JavaBeans,
58
+ sont des marques de fabrique ou des marques de'pose'es de Sun
59
+ Microsystems, Inc. aux Etats-Unis et dans d'autres pays.
60
+
61
+ Toutes les marques SPARC sont utilise'es sous licence et sont
62
+ des marques de fabrique ou des marques de'pose'es de SPARC
63
+ International, Inc. aux Etats-Unis et dans
64
+ d'autres pays. Les produits portant les marques SPARC sont
65
+ base's sur une architecture de'veloppe'e par Sun Microsystems, Inc.
66
+
67
+ Postcript est une marque enregistre'e d'Adobe Systems Inc.
68
+
69
+ LA DOCUMENTATION EST FOURNIE "EN L'ETAT" ET TOUTES AUTRES CONDITIONS,
70
+ DECLARATIONS ET GARANTIES EXPRESSES OU TACITES SONT FORMELLEMENT EXCLUES,
71
+ DANS LA MESURE AUTORISEE PAR LA LOI APPLICABLE, Y COMPRIS NOTAMMENT
72
+ TOUTE GARANTIE IMPLICITE RELATIVE A LA QUALITE MARCHANDE, A L'APTITUDE
73
+ A UNE UTILISATION PARTICULIERE OU A L'ABSENCE DE CONTREFACON.
74
+ -->
75
+
76
+ <!--
77
+ The alt-dd element specifies an optional URI to the post-assembly version of the
78
+ deployment descriptor file for a particular J2EE module. The URI must specify
79
+ the full pathname of the deployment descriptor file relative to the
80
+ application's root directory. If alt-dd is not specified, the deployer must read
81
+ the deployment descriptor from the default location and file name required by
82
+ the respective component specification.
83
+ -->
84
+ <!ELEMENT alt-dd (#PCDATA)>
85
+
86
+ <!--
87
+ The application element is the root element of a J2EE application deployment
88
+ descriptor.
89
+ -->
90
+ <!ELEMENT application (icon?, display-name, description?, module+,
91
+ security-role*)>
92
+
93
+ <!--
94
+ The context-root element specifies the context root of a web application
95
+ -->
96
+ <!ELEMENT context-root (#PCDATA)>
97
+
98
+ <!--
99
+ The description element provides a human readable description of the
100
+ application. The description element should include any information that the
101
+ application assembler wants to provide the deployer.
102
+ -->
103
+ <!ELEMENT description (#PCDATA)>
104
+
105
+ <!--
106
+ The display-name element specifies an application name.
107
+ The application name is assigned to the application by the application assembler
108
+ and is used to identify the application to the deployer at deployment time.
109
+ -->
110
+ <!ELEMENT display-name (#PCDATA)>
111
+
112
+ <!--
113
+ The ejb element specifies the URI of a ejb-jar, relative to the top level of the
114
+ application package.
115
+ -->
116
+ <!ELEMENT ejb (#PCDATA)>
117
+
118
+ <!--
119
+ The icon element contains a small-icon and large-icon element which specify the
120
+ URIs for a small and a large GIF or JPEG icon image to represent the application
121
+ in a GUI.
122
+ -->
123
+ <!ELEMENT icon (small-icon?, large-icon?)>
124
+
125
+ <!--
126
+ The java element specifies the URI of a java application client module, relative
127
+ to the top level of the application package.
128
+ -->
129
+ <!ELEMENT java (#PCDATA)>
130
+
131
+ <!--
132
+ The large-icon element specifies the URI for a large GIF or JPEG icon image to
133
+ represent the application in a GUI.
134
+ -->
135
+ <!ELEMENT large-icon (#PCDATA)>
136
+
137
+ <!--
138
+ The module element represents a single J2EE module and contains an ejb, java, or
139
+ web element, which indicates the module type and contains a path to the module
140
+ file, and an optional alt-dd element, which specifies an optional URI to the
141
+ post-assembly version of the deployment descriptor.
142
+ The application deployment descriptor must have one module element for each J2EE
143
+ module in the application package.
144
+ -->
145
+ <!ELEMENT module ((ejb | java | web), alt-dd?)>
146
+
147
+ <!--
148
+ The role-name element contains the name of a security role.
149
+ -->
150
+ <!ELEMENT role-name (#PCDATA)>
151
+
152
+ <!--
153
+ The security-role element contains the definition of a security role which is
154
+ global to the application. The definition consists of a description of the
155
+ security role, and the security role name. The descriptions at this level
156
+ override those in the component level security-role definitions and must be the
157
+ descriptions tool display to the deployer.
158
+ -->
159
+ <!ELEMENT security-role (description?, role-name)>
160
+
161
+ <!--
162
+ The small-icon element specifies the URI for a small GIF or JPEG icon image to
163
+ represent the application in a GUI.
164
+ -->
165
+ <!ELEMENT small-icon (#PCDATA)>
166
+
167
+ <!--
168
+ The web element contains the web-uri and context-root of a web application
169
+ module.
170
+ -->
171
+ <!ELEMENT web (web-uri, context-root)>
172
+
173
+ <!--
174
+ The web-uri element specifies the URI of a web application file, relative to the
175
+ top level of the application package.
176
+ -->
177
+ <!ELEMENT web-uri (#PCDATA)>
178
+
179
+ <!--
180
+ The ID mechanism is to allow tools to easily make tool-specific references to
181
+ the elements of the deployment descriptor.
182
+ -->
183
+ <!ATTLIST alt-dd id ID #IMPLIED>
184
+ <!ATTLIST application id ID #IMPLIED>
185
+ <!ATTLIST context-root id ID #IMPLIED>
186
+ <!ATTLIST description id ID #IMPLIED>
187
+ <!ATTLIST display-name id ID #IMPLIED>
188
+ <!ATTLIST ejb id ID #IMPLIED>
189
+ <!ATTLIST icon id ID #IMPLIED>
190
+ <!ATTLIST java id ID #IMPLIED>
191
+ <!ATTLIST large-icon id ID #IMPLIED>
192
+ <!ATTLIST module id ID #IMPLIED>
193
+ <!ATTLIST role-name id ID #IMPLIED>
194
+ <!ATTLIST security-role id ID #IMPLIED>
195
+ <!ATTLIST small-icon id ID #IMPLIED>
196
+ <!ATTLIST web id ID #IMPLIED>
197
+ <!ATTLIST web-uri id ID #IMPLIED>
@@ -0,0 +1,312 @@
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>