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,315 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+
3
+ <xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
4
+ targetNamespace="http://java.sun.com/xml/ns/j2ee"
5
+ xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
6
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
7
+ elementFormDefault="qualified"
8
+ attributeFormDefault="unqualified"
9
+ version="1.4">
10
+ <xsd:annotation>
11
+ <xsd:documentation>
12
+ @(#)application_1_4.xsds 1.13 02/11/03
13
+ </xsd:documentation>
14
+ </xsd:annotation>
15
+
16
+ <xsd:annotation>
17
+ <xsd:documentation>
18
+
19
+ Copyright 2003 Sun Microsystems, Inc., 901 San Antonio
20
+ Road, Palo Alto, California 94303, U.S.A. All rights
21
+ reserved.
22
+
23
+ Sun Microsystems, Inc. has intellectual property rights
24
+ relating to technology described in this document. In
25
+ particular, and without limitation, these intellectual
26
+ property rights may include one or more of the U.S. patents
27
+ listed at http://www.sun.com/patents and one or more
28
+ additional patents or pending patent applications in the
29
+ U.S. and other countries.
30
+
31
+ This document and the technology which it describes are
32
+ distributed under licenses restricting their use, copying,
33
+ distribution, and decompilation. No part of this document
34
+ may be reproduced in any form by any means without prior
35
+ written authorization of Sun and its licensors, if any.
36
+
37
+ Third-party software, including font technology, is
38
+ copyrighted and licensed from Sun suppliers.
39
+
40
+ Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
41
+ JavaServer Pages, Enterprise JavaBeans and the Java Coffee
42
+ Cup logo are trademarks or registered trademarks of Sun
43
+ Microsystems, Inc. in the U.S. and other countries.
44
+
45
+ Federal Acquisitions: Commercial Software - Government Users
46
+ Subject to Standard License Terms and Conditions.
47
+
48
+ </xsd:documentation>
49
+ </xsd:annotation>
50
+
51
+ <xsd:annotation>
52
+ <xsd:documentation>
53
+ <![CDATA[
54
+
55
+ This is the XML Schema for the application 1.4 deployment
56
+ descriptor. The deployment descriptor must be named
57
+ "META-INF/application.xml" in the application's ear file.
58
+ All application deployment descriptors must indicate
59
+ the application schema by using the J2EE namespace:
60
+
61
+ http://java.sun.com/xml/ns/j2ee
62
+
63
+ and indicate the version of the schema by
64
+ using the version element as shown below:
65
+
66
+ <application xmlns="http://java.sun.com/xml/ns/j2ee"
67
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
68
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
69
+ http://java.sun.com/xml/ns/j2ee/application_1_4.xsd"
70
+ version="1.4">
71
+ ...
72
+ </application>
73
+
74
+ The instance documents may indicate the published version of
75
+ the schema using the xsi:schemaLocation attribute for J2EE
76
+ namespace with the following location:
77
+
78
+ http://java.sun.com/xml/ns/j2ee/application_1_4.xsd
79
+
80
+ ]]>
81
+ </xsd:documentation>
82
+ </xsd:annotation>
83
+
84
+ <xsd:annotation>
85
+ <xsd:documentation>
86
+
87
+ The following conventions apply to all J2EE
88
+ deployment descriptor elements unless indicated otherwise.
89
+
90
+ - In elements that specify a pathname to a file within the
91
+ same JAR file, relative filenames (i.e., those not
92
+ starting with "/") are considered relative to the root of
93
+ the JAR file's namespace. Absolute filenames (i.e., those
94
+ starting with "/") also specify names in the root of the
95
+ JAR file's namespace. In general, relative names are
96
+ preferred. The exception is .war files where absolute
97
+ names are preferred for consistency with the Servlet API.
98
+
99
+ </xsd:documentation>
100
+ </xsd:annotation>
101
+
102
+ <xsd:include schemaLocation="j2ee_1_4.xsd"/>
103
+
104
+
105
+ <!-- **************************************************** -->
106
+
107
+
108
+ <xsd:element name="application" type="j2ee:applicationType">
109
+ <xsd:annotation>
110
+ <xsd:documentation>
111
+
112
+ The application element is the root element of a J2EE
113
+ application deployment descriptor.
114
+
115
+ </xsd:documentation>
116
+ </xsd:annotation>
117
+
118
+ <xsd:unique name="context-root-uniqueness">
119
+ <xsd:annotation>
120
+ <xsd:documentation>
121
+
122
+ The context-root element content must be unique
123
+ in the ear.
124
+
125
+ </xsd:documentation>
126
+ </xsd:annotation>
127
+ <xsd:selector xpath="j2ee:module/j2ee:web"/>
128
+ <xsd:field xpath="j2ee:context-root"/>
129
+ </xsd:unique>
130
+
131
+ <xsd:unique name="security-role-uniqueness">
132
+ <xsd:annotation>
133
+ <xsd:documentation>
134
+
135
+ The security-role-name element content
136
+ must be unique in the ear.
137
+
138
+ </xsd:documentation>
139
+ </xsd:annotation>
140
+ <xsd:selector xpath="j2ee:security-role"/>
141
+ <xsd:field xpath="j2ee:role-name"/>
142
+ </xsd:unique>
143
+
144
+ </xsd:element>
145
+
146
+ <!-- **************************************************** -->
147
+
148
+ <xsd:complexType name="applicationType">
149
+ <xsd:annotation>
150
+ <xsd:documentation>
151
+
152
+ The applicationType defines the structure of the
153
+ application.
154
+
155
+ </xsd:documentation>
156
+ </xsd:annotation>
157
+
158
+ <xsd:sequence>
159
+ <xsd:group ref="j2ee:descriptionGroup"/>
160
+ <xsd:element name="module"
161
+ type="j2ee:moduleType"
162
+ maxOccurs="unbounded">
163
+ <xsd:annotation>
164
+ <xsd:documentation>
165
+
166
+ The application deployment descriptor must have one
167
+ module element for each J2EE module in the
168
+ application package. A module element is defined
169
+ by moduleType definition.
170
+
171
+ </xsd:documentation>
172
+ </xsd:annotation>
173
+ </xsd:element>
174
+ <xsd:element name="security-role"
175
+ type="j2ee:security-roleType"
176
+ minOccurs="0"
177
+ maxOccurs="unbounded"/>
178
+ </xsd:sequence>
179
+ <xsd:attribute name="version"
180
+ type="j2ee:dewey-versionType"
181
+ fixed="1.4"
182
+ use="required">
183
+ <xsd:annotation>
184
+ <xsd:documentation>
185
+
186
+ The required value for the version is 1.4.
187
+
188
+ </xsd:documentation>
189
+ </xsd:annotation>
190
+ </xsd:attribute>
191
+
192
+ <xsd:attribute name="id" type="xsd:ID"/>
193
+ </xsd:complexType>
194
+
195
+ <!-- **************************************************** -->
196
+
197
+ <xsd:complexType name="moduleType">
198
+ <xsd:annotation>
199
+ <xsd:documentation>
200
+
201
+ The moduleType defines a single J2EE module and contains a
202
+ connector, ejb, java, or web element, which indicates the
203
+ module type and contains a path to the module file, and an
204
+ optional alt-dd element, which specifies an optional URI to
205
+ the post-assembly version of the deployment descriptor.
206
+
207
+ </xsd:documentation>
208
+ </xsd:annotation>
209
+
210
+ <xsd:sequence>
211
+ <xsd:choice>
212
+ <xsd:element name="connector"
213
+ type="j2ee:pathType">
214
+ <xsd:annotation>
215
+ <xsd:documentation>
216
+
217
+ The connector element specifies the URI of a
218
+ resource adapter archive file, relative to the
219
+ top level of the application package.
220
+
221
+ </xsd:documentation>
222
+ </xsd:annotation>
223
+ </xsd:element>
224
+ <xsd:element name="ejb"
225
+ type="j2ee:pathType">
226
+ <xsd:annotation>
227
+ <xsd:documentation>
228
+
229
+ The ejb element specifies the URI of an ejb-jar,
230
+ relative to the top level of the application
231
+ package.
232
+
233
+ </xsd:documentation>
234
+ </xsd:annotation>
235
+ </xsd:element>
236
+ <xsd:element name="java"
237
+ type="j2ee:pathType">
238
+ <xsd:annotation>
239
+ <xsd:documentation>
240
+
241
+ The java element specifies the URI of a java
242
+ application client module, relative to the top
243
+ level of the application package.
244
+
245
+ </xsd:documentation>
246
+ </xsd:annotation>
247
+ </xsd:element>
248
+ <xsd:element name="web"
249
+ type="j2ee:webType"/>
250
+ </xsd:choice>
251
+ <xsd:element name="alt-dd"
252
+ type="j2ee:pathType"
253
+ minOccurs="0">
254
+ <xsd:annotation>
255
+ <xsd:documentation>
256
+
257
+ The alt-dd element specifies an optional URI to the
258
+ post-assembly version of the deployment descriptor
259
+ file for a particular J2EE module. The URI must
260
+ specify the full pathname of the deployment
261
+ descriptor file relative to the application's root
262
+ directory. If alt-dd is not specified, the deployer
263
+ must read the deployment descriptor from the default
264
+ location and file name required by the respective
265
+ component specification.
266
+
267
+ </xsd:documentation>
268
+ </xsd:annotation>
269
+ </xsd:element>
270
+ </xsd:sequence>
271
+ <xsd:attribute name="id" type="xsd:ID"/>
272
+ </xsd:complexType>
273
+
274
+ <!-- **************************************************** -->
275
+
276
+ <xsd:complexType name="webType">
277
+ <xsd:annotation>
278
+ <xsd:documentation>
279
+
280
+ The webType defines the web-uri and context-root of
281
+ a web application module.
282
+
283
+ </xsd:documentation>
284
+ </xsd:annotation>
285
+ <xsd:sequence>
286
+ <xsd:element name="web-uri"
287
+ type="j2ee:pathType">
288
+ <xsd:annotation>
289
+ <xsd:documentation>
290
+
291
+ The web-uri element specifies the URI of a web
292
+ application file, relative to the top level of the
293
+ application package.
294
+
295
+ </xsd:documentation>
296
+ </xsd:annotation>
297
+ </xsd:element>
298
+ <xsd:element name="context-root"
299
+ type="j2ee:string">
300
+
301
+ <xsd:annotation>
302
+ <xsd:documentation>
303
+
304
+ The context-root element specifies the context root
305
+ of a web application.
306
+
307
+ </xsd:documentation>
308
+ </xsd:annotation>
309
+ </xsd:element>
310
+ </xsd:sequence>
311
+ <xsd:attribute name="id" type="xsd:ID"/>
312
+ </xsd:complexType>
313
+
314
+ </xsd:schema>
315
+
@@ -0,0 +1,336 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+
3
+ <xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
4
+ targetNamespace="http://java.sun.com/xml/ns/javaee"
5
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
6
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
7
+ elementFormDefault="qualified"
8
+ attributeFormDefault="unqualified"
9
+ version="5">
10
+ <xsd:annotation>
11
+ <xsd:documentation>
12
+ @(#)application_5.xsds 1.17 08/05/05
13
+ </xsd:documentation>
14
+ </xsd:annotation>
15
+
16
+ <xsd:annotation>
17
+ <xsd:documentation>
18
+
19
+ Copyright 2003-2005 Sun Microsystems, Inc.
20
+ 4150 Network Circle
21
+ Santa Clara, California 95054
22
+ U.S.A
23
+ All rights reserved.
24
+
25
+ Sun Microsystems, Inc. has intellectual property rights
26
+ relating to technology described in this document. In
27
+ particular, and without limitation, these intellectual
28
+ property rights may include one or more of the U.S. patents
29
+ listed at http://www.sun.com/patents and one or more
30
+ additional patents or pending patent applications in the
31
+ U.S. and other countries.
32
+
33
+ This document and the technology which it describes are
34
+ distributed under licenses restricting their use, copying,
35
+ distribution, and decompilation. No part of this document
36
+ may be reproduced in any form by any means without prior
37
+ written authorization of Sun and its licensors, if any.
38
+
39
+ Third-party software, including font technology, is
40
+ copyrighted and licensed from Sun suppliers.
41
+
42
+ Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
43
+ JavaServer Pages, Enterprise JavaBeans and the Java Coffee
44
+ Cup logo are trademarks or registered trademarks of Sun
45
+ Microsystems, Inc. in the U.S. and other countries.
46
+
47
+ Federal Acquisitions: Commercial Software - Government Users
48
+ Subject to Standard License Terms and Conditions.
49
+
50
+ </xsd:documentation>
51
+ </xsd:annotation>
52
+
53
+ <xsd:annotation>
54
+ <xsd:documentation>
55
+ <![CDATA[
56
+
57
+ This is the XML Schema for the application 5 deployment
58
+ descriptor. The deployment descriptor must be named
59
+ "META-INF/application.xml" in the application's ear file.
60
+ All application deployment descriptors must indicate
61
+ the application schema by using the Java EE namespace:
62
+
63
+ http://java.sun.com/xml/ns/javaee
64
+
65
+ and indicate the version of the schema by
66
+ using the version element as shown below:
67
+
68
+ <application xmlns="http://java.sun.com/xml/ns/javaee"
69
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
70
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
71
+ http://java.sun.com/xml/ns/javaee/application_5.xsd"
72
+ version="5">
73
+ ...
74
+ </application>
75
+
76
+ The instance documents may indicate the published version of
77
+ the schema using the xsi:schemaLocation attribute for Java EE
78
+ namespace with the following location:
79
+
80
+ http://java.sun.com/xml/ns/javaee/application_5.xsd
81
+
82
+ ]]>
83
+ </xsd:documentation>
84
+ </xsd:annotation>
85
+
86
+ <xsd:annotation>
87
+ <xsd:documentation>
88
+
89
+ The following conventions apply to all Java EE
90
+ deployment descriptor elements unless indicated otherwise.
91
+
92
+ - In elements that specify a pathname to a file within the
93
+ same JAR file, relative filenames (i.e., those not
94
+ starting with "/") are considered relative to the root of
95
+ the JAR file's namespace. Absolute filenames (i.e., those
96
+ starting with "/") also specify names in the root of the
97
+ JAR file's namespace. In general, relative names are
98
+ preferred. The exception is .war files where absolute
99
+ names are preferred for consistency with the Servlet API.
100
+
101
+ </xsd:documentation>
102
+ </xsd:annotation>
103
+
104
+ <xsd:include schemaLocation="javaee_5.xsd"/>
105
+
106
+
107
+ <!-- **************************************************** -->
108
+
109
+
110
+ <xsd:element name="application" type="javaee:applicationType">
111
+ <xsd:annotation>
112
+ <xsd:documentation>
113
+
114
+ The application element is the root element of a Java EE
115
+ application deployment descriptor.
116
+
117
+ </xsd:documentation>
118
+ </xsd:annotation>
119
+
120
+ <xsd:unique name="context-root-uniqueness">
121
+ <xsd:annotation>
122
+ <xsd:documentation>
123
+
124
+ The context-root element content must be unique
125
+ in the ear.
126
+
127
+ </xsd:documentation>
128
+ </xsd:annotation>
129
+ <xsd:selector xpath="javaee:module/javaee:web"/>
130
+ <xsd:field xpath="javaee:context-root"/>
131
+ </xsd:unique>
132
+
133
+ <xsd:unique name="security-role-uniqueness">
134
+ <xsd:annotation>
135
+ <xsd:documentation>
136
+
137
+ The security-role-name element content
138
+ must be unique in the ear.
139
+
140
+ </xsd:documentation>
141
+ </xsd:annotation>
142
+ <xsd:selector xpath="javaee:security-role"/>
143
+ <xsd:field xpath="javaee:role-name"/>
144
+ </xsd:unique>
145
+
146
+ </xsd:element>
147
+
148
+ <!-- **************************************************** -->
149
+
150
+ <xsd:complexType name="applicationType">
151
+ <xsd:annotation>
152
+ <xsd:documentation>
153
+
154
+ The applicationType defines the structure of the
155
+ application.
156
+
157
+ </xsd:documentation>
158
+ </xsd:annotation>
159
+
160
+ <xsd:sequence>
161
+ <xsd:group ref="javaee:descriptionGroup"/>
162
+ <xsd:element name="module"
163
+ type="javaee:moduleType"
164
+ maxOccurs="unbounded">
165
+ <xsd:annotation>
166
+ <xsd:documentation>
167
+
168
+ The application deployment descriptor must have one
169
+ module element for each Java EE module in the
170
+ application package. A module element is defined
171
+ by moduleType definition.
172
+
173
+ </xsd:documentation>
174
+ </xsd:annotation>
175
+ </xsd:element>
176
+ <xsd:element name="security-role"
177
+ type="javaee:security-roleType"
178
+ minOccurs="0"
179
+ maxOccurs="unbounded"/>
180
+ <xsd:element name="library-directory"
181
+ type="javaee:pathType"
182
+ minOccurs="0"
183
+ maxOccurs="1">
184
+ <xsd:annotation>
185
+ <xsd:documentation>
186
+
187
+ The library-directory element specifies the pathname
188
+ of a directory within the application package, relative
189
+ to the top level of the application package. All files
190
+ named "*.jar" in this directory must be made available
191
+ in the class path of all components included in this
192
+ application package. If this element isn't specified,
193
+ the directory named "lib" is searched. An empty element
194
+ may be used to disable searching.
195
+
196
+ </xsd:documentation>
197
+ </xsd:annotation>
198
+ </xsd:element>
199
+ </xsd:sequence>
200
+ <xsd:attribute name="version"
201
+ type="javaee:dewey-versionType"
202
+ fixed="5"
203
+ use="required">
204
+ <xsd:annotation>
205
+ <xsd:documentation>
206
+
207
+ The required value for the version is 5.
208
+
209
+ </xsd:documentation>
210
+ </xsd:annotation>
211
+ </xsd:attribute>
212
+
213
+ <xsd:attribute name="id" type="xsd:ID"/>
214
+ </xsd:complexType>
215
+
216
+ <!-- **************************************************** -->
217
+
218
+ <xsd:complexType name="moduleType">
219
+ <xsd:annotation>
220
+ <xsd:documentation>
221
+
222
+ The moduleType defines a single Java EE module and contains a
223
+ connector, ejb, java, or web element, which indicates the
224
+ module type and contains a path to the module file, and an
225
+ optional alt-dd element, which specifies an optional URI to
226
+ the post-assembly version of the deployment descriptor.
227
+
228
+ </xsd:documentation>
229
+ </xsd:annotation>
230
+
231
+ <xsd:sequence>
232
+ <xsd:choice>
233
+ <xsd:element name="connector"
234
+ type="javaee:pathType">
235
+ <xsd:annotation>
236
+ <xsd:documentation>
237
+
238
+ The connector element specifies the URI of a
239
+ resource adapter archive file, relative to the
240
+ top level of the application package.
241
+
242
+ </xsd:documentation>
243
+ </xsd:annotation>
244
+ </xsd:element>
245
+ <xsd:element name="ejb"
246
+ type="javaee:pathType">
247
+ <xsd:annotation>
248
+ <xsd:documentation>
249
+
250
+ The ejb element specifies the URI of an ejb-jar,
251
+ relative to the top level of the application
252
+ package.
253
+
254
+ </xsd:documentation>
255
+ </xsd:annotation>
256
+ </xsd:element>
257
+ <xsd:element name="java"
258
+ type="javaee:pathType">
259
+ <xsd:annotation>
260
+ <xsd:documentation>
261
+
262
+ The java element specifies the URI of a java
263
+ application client module, relative to the top
264
+ level of the application package.
265
+
266
+ </xsd:documentation>
267
+ </xsd:annotation>
268
+ </xsd:element>
269
+ <xsd:element name="web"
270
+ type="javaee:webType"/>
271
+ </xsd:choice>
272
+ <xsd:element name="alt-dd"
273
+ type="javaee:pathType"
274
+ minOccurs="0">
275
+ <xsd:annotation>
276
+ <xsd:documentation>
277
+
278
+ The alt-dd element specifies an optional URI to the
279
+ post-assembly version of the deployment descriptor
280
+ file for a particular Java EE module. The URI must
281
+ specify the full pathname of the deployment
282
+ descriptor file relative to the application's root
283
+ directory. If alt-dd is not specified, the deployer
284
+ must read the deployment descriptor from the default
285
+ location and file name required by the respective
286
+ component specification.
287
+
288
+ </xsd:documentation>
289
+ </xsd:annotation>
290
+ </xsd:element>
291
+ </xsd:sequence>
292
+ <xsd:attribute name="id" type="xsd:ID"/>
293
+ </xsd:complexType>
294
+
295
+ <!-- **************************************************** -->
296
+
297
+ <xsd:complexType name="webType">
298
+ <xsd:annotation>
299
+ <xsd:documentation>
300
+
301
+ The webType defines the web-uri and context-root of
302
+ a web application module.
303
+
304
+ </xsd:documentation>
305
+ </xsd:annotation>
306
+ <xsd:sequence>
307
+ <xsd:element name="web-uri"
308
+ type="javaee:pathType">
309
+ <xsd:annotation>
310
+ <xsd:documentation>
311
+
312
+ The web-uri element specifies the URI of a web
313
+ application file, relative to the top level of the
314
+ application package.
315
+
316
+ </xsd:documentation>
317
+ </xsd:annotation>
318
+ </xsd:element>
319
+ <xsd:element name="context-root"
320
+ type="javaee:string">
321
+
322
+ <xsd:annotation>
323
+ <xsd:documentation>
324
+
325
+ The context-root element specifies the context root
326
+ of a web application.
327
+
328
+ </xsd:documentation>
329
+ </xsd:annotation>
330
+ </xsd:element>
331
+ </xsd:sequence>
332
+ <xsd:attribute name="id" type="xsd:ID"/>
333
+ </xsd:complexType>
334
+
335
+ </xsd:schema>
336
+