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,894 @@
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
+ <!--
78
+ This is the XML DTD for the EJB 1.1 deployment descriptor.
79
+ -->
80
+
81
+
82
+ <!--
83
+ The assembly-descriptor element contains application-assembly information.
84
+
85
+ The application-assembly information consists of the following parts:
86
+ the definition of security roles, the definition of method permissions,
87
+ and the definition of transaction attributes for enterprise beans with
88
+ container-managed transaction demarcation.
89
+
90
+ All the parts are optional in the sense that they are omitted if the
91
+ lists represented by them are empty.
92
+
93
+ Providing an assembly-descriptor in the deployment descriptor is
94
+ optional for the ejb-jar file producer.
95
+
96
+ Used in: ejb-jar
97
+ -->
98
+ <!ELEMENT assembly-descriptor (security-role*, method-permission*,
99
+ container-transaction*)>
100
+
101
+ <!--
102
+ The cmp-field element describes a container-managed field. The field
103
+ element includes an optional description of the field, and the name of
104
+ the field.
105
+
106
+ Used in: entity
107
+ -->
108
+ <!ELEMENT cmp-field (description?, field-name)>
109
+
110
+ <!--
111
+ The container-transaction element specifies how the container must
112
+ manage transaction scopes for the enterprise bean's method invocations.
113
+ The element consists of an optional description, a list of method
114
+ elements, and a transaction attribute.The transaction attribute is to
115
+ be applied to all the specified methods.
116
+
117
+ Used in: assembly-descriptor
118
+ -->
119
+ <!ELEMENT container-transaction (description?, method+,
120
+ trans-attribute)>
121
+
122
+ <!--
123
+ The description element is used by the ejb-jar file producer to provide
124
+ text describing the parent element.
125
+
126
+ The description element should include any information that the ejb-jar
127
+ file producer wants to provide to the consumer of the ejb-jar file
128
+ (i.e. to the Deployer). Typically, the tools used by the ejb-jar file
129
+ consumer will display the description when processing the parent
130
+ element.
131
+
132
+ Used in: cmp-field, container-transaction, ejb-jar, entity, env-entry,
133
+ ejb-ref, method, method-permission, resource-ref, security-role,
134
+ security-role-ref, and session.
135
+ -->
136
+ <!ELEMENT description (#PCDATA)>
137
+
138
+ <!--
139
+ The display-name element contains a short name that is intended to be
140
+ display by tools.
141
+
142
+ Used in: ejb-jar, session, and entity
143
+
144
+ Example:
145
+ <display-name>Employee Self Service</display-name>
146
+ -->
147
+ <!ELEMENT display-name (#PCDATA)>
148
+
149
+ <!--
150
+ The ejb-class element contains the fully-qualified name of the
151
+ enterprise bean's class.
152
+
153
+ Used in: entity and session
154
+
155
+ Example:
156
+ <ejb-class>com.wombat.empl.EmployeeServiceBean</ejb-class>
157
+ -->
158
+ <!ELEMENT ejb-class (#PCDATA)>
159
+
160
+ <!--
161
+ The optional ejb-client-jar element specifies a JAR file that contains
162
+ the class files necessary for a client program to access the enterprise
163
+ beans in the ejb-jar file. The Deployer should make the ejb-client JAR
164
+ file accessible to the client's class-loader.
165
+
166
+ Used in: ejb-jar
167
+
168
+ Example:
169
+ <ejb-client-jar>employee_service_client.jar</ejb-client-jar>
170
+ -->
171
+ <!ELEMENT ejb-client-jar (#PCDATA)>
172
+
173
+ <!--
174
+ The ejb-jar element is the root element of the EJB deployment
175
+ descriptor. It contains an optional description of the ejb-jar file,
176
+ optional display name, optional small icon file name, optional large
177
+ icon file name, mandatory structural information about all included
178
+ enterprise beans, optional application-assembly descriptor, and an
179
+ optional name of an ejb-client-jar file for the ejb-jar.
180
+ -->
181
+ <!ELEMENT ejb-jar (description?, display-name?, small-icon?,
182
+ large-icon?, enterprise-beans, assembly-descriptor?,
183
+ ejb-client-jar?)>
184
+
185
+ <!--
186
+ The ejb-link element is used in the ejb-ref element to specify that an
187
+ EJB reference is linked to another enterprise bean in the ejb-jar
188
+ file.
189
+
190
+ The value of the ejb-link element must be the ejb-name of an enterprise
191
+ bean in the same ejb-jar file, or in another ejb-jar file in the same
192
+ J2EE application unit.
193
+
194
+ Used in: ejb-ref
195
+
196
+ Example:
197
+ <ejb-link>EmployeeRecord</ejb-link>
198
+ -->
199
+ <!ELEMENT ejb-link (#PCDATA)>
200
+
201
+ <!--
202
+ The ejb-name element specifies an enterprise bean's name. This name is
203
+ assigned by the ejb-jar file producer to name the enterprise bean in
204
+ the ejb-jar file's deployment descriptor. The name must be unique among
205
+ the names of the enterprise beans in the same ejb-jar file.
206
+
207
+ The enterprise bean code does not depend on the name; therefore the
208
+ name can be changed during the application-assembly process without
209
+ breaking the enterprise bean's function.
210
+
211
+ There is no architected relationship between the ejb-name in the
212
+ deployment descriptor and the JNDI name that the Deployer will assign
213
+ to the enterprise bean's home.
214
+
215
+ The name must conform to the lexical rules for an NMTOKEN.
216
+
217
+ Used in: entity, method, and session
218
+
219
+ Example:
220
+ <ejb-name>EmployeeService</ejb-name>
221
+ -->
222
+ <!ELEMENT ejb-name (#PCDATA)>
223
+
224
+ <!--
225
+ The ejb-ref element is used for the declaration of a reference to
226
+ another enterprise bean's home. The declaration consists of an optional
227
+ description; the EJB reference name used in the code of the referencing
228
+ enterprise bean; the expected type of the referenced enterprise bean;
229
+ the expected home and remote interfaces of the referenced enterprise
230
+ bean; and an optional ejb-link information.
231
+
232
+ The optional ejb-link element is used to specify the referenced
233
+ enterprise bean. It is used typically in ejb-jar files that contain an
234
+ assembled application.
235
+
236
+ Used in: entity and session
237
+ -->
238
+ <!ELEMENT ejb-ref (description?, ejb-ref-name, ejb-ref-type, home,
239
+ remote, ejb-link?)>
240
+
241
+ <!--
242
+ The ejb-ref-name element contains the name of an EJB reference. The EJB
243
+ reference is an entry in the enterprise bean's environment.
244
+
245
+ It is recommended that name is prefixed with "ejb/".
246
+
247
+ Used in: ejb-ref
248
+
249
+ Example:
250
+ <ejb-ref-name>ejb/Payroll</ejb-ref-name>
251
+ -->
252
+ <!ELEMENT ejb-ref-name (#PCDATA)>
253
+
254
+ <!--
255
+ The ejb-ref-type element contains the expected type of the referenced
256
+ enterprise bean.
257
+
258
+ The ejb-ref-type element must be one of the following:
259
+ <ejb-ref-type>Entity</ejb-ref-type>
260
+ <ejb-ref-type>Session</ejb-ref-type>
261
+
262
+ Used in: ejb-ref
263
+ -->
264
+ <!ELEMENT ejb-ref-type (#PCDATA)>
265
+
266
+ <!--
267
+ The enterprise-beans element contains the declarations of one or more
268
+ enterprise beans.
269
+ -->
270
+ <!ELEMENT enterprise-beans (session | entity)+>
271
+
272
+ <!--
273
+ The entity element declares an entity bean. The declaration consists
274
+ of: an optional description; optional display name; optional small icon
275
+ file name; optional large icon file name; a name assigned to the
276
+ enterprise bean in the deployment descriptor; the names of the entity
277
+ bean's home and remote interfaces; the entity bean's implementation
278
+ class; the entity bean's persistence management type; the entity bean's
279
+ primary key class name; an indication of the entity bean's reentrancy;
280
+ an optional list of container-managed fields; an optional specification
281
+ of the primary key field; an optional declaration of the bean's
282
+ environment entries; an optional declaration of the bean's EJB
283
+ references; an optional declaration of the security role references;
284
+ and an optional declaration of the bean's resource manager connection
285
+ factory references.
286
+
287
+ The optional primkey-field may be present in the descriptor if the
288
+ entity's persistency-type is Container.
289
+
290
+ The other elements that are optional are "optional" in the sense that
291
+ they are omitted if the lists represented by them are empty.
292
+
293
+ At least one cmp-field element must be present in the descriptor if the
294
+ entity's persistency-type is Container, and none must not be present if
295
+ the entity's persistence-type is Bean.
296
+
297
+ Used in: enterprise-beans
298
+ -->
299
+ <!ELEMENT entity (description?, display-name?, small-icon?,
300
+ large-icon?, ejb-name, home, remote, ejb-class,
301
+ persistence-type, prim-key-class, reentrant,
302
+ cmp-field*, primkey-field?, env-entry*,
303
+ ejb-ref*, security-role-ref*, resource-ref*)>
304
+
305
+ <!--
306
+ The env-entry element contains the declaration of an enterprise bean's
307
+ environment entries. The declaration consists of an optional
308
+ description, the name of the environment entry, and an optional value.
309
+
310
+ Used in: entity and session
311
+ -->
312
+ <!ELEMENT env-entry (description?, env-entry-name, env-entry-type,
313
+ env-entry-value?)>
314
+
315
+ <!--
316
+ The env-entry-name element contains the name of an enterprise bean's
317
+ environment entry.
318
+
319
+ Used in: env-entry
320
+
321
+ Example:
322
+ <env-entry-name>minAmount</env-entry-name>
323
+ -->
324
+ <!ELEMENT env-entry-name (#PCDATA)>
325
+
326
+ <!--
327
+ The env-entry-type element contains the fully-qualified Java type of
328
+ the environment entry value that is expected by the enterprise bean's
329
+ code.
330
+
331
+ The following are the legal values of env-entry-type:
332
+ java.lang.Boolean, java.lang.String, java.lang.Integer,
333
+ java.lang.Double, java.lang.Byte, java.lang.Short, java.lang.Long, and
334
+ java.lang.Float.
335
+
336
+ Used in: env-entry
337
+
338
+ Example:
339
+ <env-entry-type>java.lang.Boolean</env-entry-type>
340
+ -->
341
+ <!ELEMENT env-entry-type (#PCDATA)>
342
+
343
+ <!--
344
+ The env-entry-value element contains the value of an enterprise bean's
345
+ environment entry.
346
+
347
+ Used in: env-entry
348
+
349
+ Example:
350
+ <env-entry-value>100.00</env-entry-value>
351
+ -->
352
+ <!ELEMENT env-entry-value (#PCDATA)>
353
+
354
+ <!--
355
+ The field-name element specifies the name of a container managed field.
356
+ The name must be a public field of the enterprise bean class or one of
357
+ its superclasses.
358
+
359
+ Used in: cmp-field
360
+
361
+ Example:
362
+ <field-name>firstName</field-Name>
363
+ -->
364
+ <!ELEMENT field-name (#PCDATA)>
365
+
366
+ <!--
367
+ The home element contains the fully-qualified name of the enterprise
368
+ bean's home interface.
369
+
370
+ Used in: ejb-ref, entity, and session
371
+
372
+ Example:
373
+ <home>com.aardvark.payroll.PayrollHome</home>
374
+ -->
375
+ <!ELEMENT home (#PCDATA)>
376
+
377
+ <!--
378
+ The large-icon element contains the name of a file containing a large
379
+ (32 x 32) icon image. The file name is relative path within the ejb-jar
380
+ file.
381
+
382
+ The image must be either in the JPEG or GIF format, and the file name
383
+ must end with the suffix ".jpg" or ".gif" respectively. The icon can
384
+ be used by tools.
385
+
386
+ Example:
387
+ <large-icon>employee-service-icon32x32.jpg</large-icon>
388
+ -->
389
+ <!ELEMENT large-icon (#PCDATA)>
390
+
391
+ <!--
392
+ The method element is used to denote a method of an enterprise bean's
393
+ home or remote interface, or a set of methods. The ejb-name element
394
+ must be the name of one of the enterprise beans in declared in the
395
+ deployment descriptor; the optional method-intf element allows to
396
+ distinguish between a method with the same signature that is defined in
397
+ both the home and remote interface; the method-name element specifies
398
+ the method name; and the optional method-params elements identify a
399
+ single method among multiple methods with an overloaded method name.
400
+
401
+ There are three possible styles of the method element syntax:
402
+
403
+ 1. <method>
404
+ <ejb-name>EJBNAME</ejb-name>
405
+ <method-name>*</method-name>
406
+ </method>
407
+
408
+ This style is used to refer to all the methods of the specified
409
+ enterprise bean's home and remote interfaces.
410
+
411
+ 2. <method>
412
+ <ejb-name>EJBNAME</ejb-name>
413
+ <method-name>METHOD</method-name>
414
+ </method>>
415
+
416
+ This style is used to refer to the specified method of the
417
+ specified enterprise bean. If there are multiple methods with
418
+ the same overloaded name, the element of this style refers to
419
+ all the methods with the overloaded name.
420
+
421
+
422
+
423
+
424
+
425
+ 3. <method>
426
+ <ejb-name>EJBNAME</ejb-name>
427
+ <method-name>METHOD</method-name>
428
+ <method-params>
429
+ <method-param>PARAM-1</method-param>
430
+ <method-param>PARAM-2</method-param>
431
+ ...
432
+ <method-param>PARAM-n</method-param>
433
+ </method-params>
434
+ <method>
435
+
436
+ This style is used to refer to a single method within a set of
437
+ methods with an overloaded name. PARAM-1 through PARAM-n are the
438
+ fully-qualified Java types of the method's input parameters (if
439
+ the method has no input arguments, the method-params element
440
+ contains no method-param elements). Arrays are specified by the
441
+ array element's type, followed by one or more pair of square
442
+ brackets (e.g. int[][]).
443
+
444
+
445
+ Used in: method-permission and container-transaction
446
+
447
+ Examples:
448
+
449
+ Style 1: The following method element refers to all the methods of
450
+ the EmployeeService bean's home and remote interfaces:
451
+
452
+ <method>
453
+ <ejb-name>EmployeeService</ejb-name>
454
+ <method-name>*</method-name>
455
+ </method>
456
+
457
+ Style 2: The following method element refers to all the create
458
+ methods of the EmployeeService bean's home interface:
459
+
460
+ <method>
461
+ <ejb-name>EmployeeService</ejb-name>
462
+ <method-name>create</method-name>
463
+ </method>
464
+
465
+ Style 3: The following method element refers to the
466
+ create(String firstName, String LastName) method of the
467
+ EmployeeService bean's home interface.
468
+
469
+ <method>
470
+ <ejb-name>EmployeeService</ejb-name>
471
+ <method-name>create</method-name>
472
+ <method-params>
473
+ <method-param>java.lang.String</method-param>
474
+ <method-param>java.lang.String</method-param>
475
+ </method-params>
476
+ </method>
477
+
478
+
479
+ The following example illustrates a Style 3 element with
480
+ more complex parameter types. The method
481
+ foobar(char s, int i, int[] iar, mypackage.MyClass mycl,
482
+ mypackage.MyClass[][] myclaar)
483
+ would be specified as:
484
+
485
+ <method>
486
+ <ejb-name>EmployeeService</ejb-name>
487
+ <method-name>foobar</method-name>
488
+ <method-params>
489
+ <method-param>char</method-param>
490
+ <method-param>int</method-param>
491
+ <method-param>int[]</method-param>
492
+ <method-param>mypackage.MyClass</method-param>
493
+ <method-param>mypackage.MyClass[][]</method-param>
494
+ </method-params>
495
+ </method>
496
+
497
+ The optional method-intf element can be used when it becomes
498
+ necessary to differentiate between a method defined in the home
499
+ interface and a method with the same name and signature that is
500
+ defined in the remote interface.
501
+
502
+ For example, the method element
503
+
504
+ <method>
505
+ <ejb-name>EmployeeService</ejb-name>
506
+ <method-intf>Remote</method-intf>
507
+ <method-name>create</method-name>
508
+ <method-params>
509
+ <method-param>java.lang.String</method-param>
510
+ <method-param>java.lang.String</method-param>
511
+ </method-params>
512
+ </method>
513
+
514
+ can be used to differentiate the create(String, String) method
515
+ defined in the remote interface from the create(String, String)
516
+ method defined in the home interface, which would be defined as
517
+
518
+ <method>
519
+ <ejb-name>EmployeeService</ejb-name>
520
+ <method-intf>Home</method-intf>
521
+ <method-name>create</method-name>
522
+ <method-params>
523
+ <method-param>java.lang.String</method-param>
524
+ <method-param>java.lang.String</method-param>
525
+ </method-params>
526
+ </method>
527
+
528
+ -->
529
+ <!ELEMENT method (description?, ejb-name, method-intf?, method-name,
530
+ method-params?)>
531
+
532
+ <!--
533
+ The method-intf element allows a method element to differentiate
534
+ between the methods with the same name and signature that are defined
535
+ in both the remote and home interfaces.
536
+
537
+ The method-intf element must be one of the following:
538
+ <method-intf>Home</method-intf>
539
+ <method-intf>Remote</method-intf>
540
+
541
+ Used in: method
542
+ -->
543
+ <!ELEMENT method-intf (#PCDATA)>
544
+
545
+ <!--
546
+ The method-name element contains a name of an enterprise bean method,
547
+ or the asterisk (*) character. The asterisk is used when the element
548
+ denotes all the methods of an enterprise bean's remote and home
549
+ interfaces.
550
+
551
+ Used in: method
552
+ -->
553
+ <!ELEMENT method-name (#PCDATA)>
554
+
555
+ <!--
556
+ The method-param element contains the fully-qualified Java type name of
557
+ a method parameter.
558
+
559
+ Used in: method-params
560
+ -->
561
+ <!ELEMENT method-param (#PCDATA)>
562
+
563
+ <!--
564
+ The method-params element contains a list of the fully-qualified Java
565
+ type names of the method parameters.
566
+
567
+ Used in: method
568
+ -->
569
+ <!ELEMENT method-params (method-param*)>
570
+
571
+ <!--
572
+ The method-permission element specifies that one or more security roles
573
+ are allowed to invoke one or more enterprise bean methods. The
574
+ method-permission element consists of an optional description, a list
575
+ of security role names, and a list of method elements.
576
+
577
+ The security roles used in the method-permission element must be
578
+ defined in the security-role element of the deployment descriptor, and
579
+ the methods must be methods defined in the enterprise bean's remote
580
+ and/or home interfaces.
581
+
582
+ Used in: assembly-descriptor
583
+ -->
584
+ <!ELEMENT method-permission (description?, role-name+, method+)>
585
+
586
+ <!--
587
+ The persistence-type element specifies an entity bean's persistence
588
+ management type.
589
+
590
+ The persistence-type element must be one of the two following:
591
+ <persistence-type>Bean</persistence-type>
592
+ <persistence-type>Container</persistence-type>
593
+
594
+ Used in: entity
595
+ -->
596
+ <!ELEMENT persistence-type (#PCDATA)>
597
+
598
+ <!--
599
+ The prim-key-class element contains the fully-qualified name of an
600
+ entity bean's primary key class.
601
+
602
+ If the definition of the primary key class is deferred to deployment
603
+ time, the prim-key-class element should specify java.lang.Object.
604
+
605
+ Used in: entity
606
+
607
+ Examples:
608
+ <prim-key-class>java.lang.String</prim-key-class>
609
+ <prim-key-class>com.wombat.empl.EmployeeID</prim-key-class>
610
+ <prim-key-class>java.lang.Object</prim-key-class>
611
+
612
+ -->
613
+ <!ELEMENT prim-key-class (#PCDATA)>
614
+
615
+ <!--
616
+ The primkey-field element is used to specify the name of the primary
617
+ key field for an entity with container-managed persistence.
618
+
619
+ The primkey-field must be one of the fields declared in the cmp-field
620
+ element, and the type of the field must be the same as the primary key
621
+ type.
622
+
623
+ The primkey-field element is not used if the primary key maps to
624
+ multiple container-managed fields (i.e. the key is a compound key). In
625
+ this case, the fields of the primary key class must be public, and
626
+ their names must correspond to the field names of the entity bean class
627
+ that comprise the key.
628
+
629
+ Used in: entity
630
+
631
+ Example:
632
+ <primkey-field>EmployeeId</primkey-field>
633
+ -->
634
+ <!ELEMENT primkey-field (#PCDATA)>
635
+
636
+ <!--
637
+ The reentrant element specifies whether an entity bean is reentrant or not.
638
+
639
+ The reentrant element must be one of the two following:
640
+ <reentrant>True</reentrant>
641
+ <reentrant>False</reentrant>
642
+
643
+ Used in: entity
644
+ -->
645
+ <!ELEMENT reentrant (#PCDATA)>
646
+
647
+ <!--
648
+ The remote element contains the fully-qualified name of the enterprise
649
+ bean's remote interface.
650
+
651
+ Used in: ejb-ref, entity, and session
652
+
653
+ Example:
654
+ <remote>com.wombat.empl.EmployeeService</remote>
655
+ -->
656
+ <!ELEMENT remote (#PCDATA)>
657
+
658
+ <!--
659
+ The res-auth element specifies whether the enterprise bean code signs
660
+ on programmatically to the resource manager, or whether the Container
661
+ will sign on to the resource manager on behalf of the bean. In the
662
+ latter case, the Container uses information that is supplied by the
663
+ Deployer.
664
+
665
+ The value of this element must be one of the two following:
666
+ <res-auth>Application</res-auth>
667
+ <res-auth>Container</res-auth>
668
+ -->
669
+ <!ELEMENT res-auth (#PCDATA)>
670
+
671
+ <!--
672
+ The res-ref-name element specifies the name of a resource manager
673
+ connection factory reference.
674
+
675
+ Used in: resource-ref
676
+ -->
677
+ <!ELEMENT res-ref-name (#PCDATA)>
678
+
679
+ <!--
680
+ The res-type element specifies the type of the data source. The type is
681
+ specified by the Java interface (or class) expected to be implemented
682
+ by the data source.
683
+
684
+ Used in: resource-ref
685
+ -->
686
+ <!ELEMENT res-type (#PCDATA)>
687
+
688
+ <!--
689
+ The resource-ref element contains a declaration of enterprise bean's
690
+ reference to an external resource. It consists of an optional
691
+ description, the resource manager connection factory reference name,
692
+ the indication of the resource manager connection factory type expected
693
+ by the enterprise bean code, and the type of authentication (bean or
694
+ container).
695
+
696
+ Used in: entity and session
697
+
698
+ Example:
699
+ <resource-ref>
700
+ <res-ref-name>EmployeeAppDB</res-ref-name>
701
+ <res-type>javax.sql.DataSource</res-type>
702
+ <res-auth>Container</res-auth>
703
+ </resource-ref>
704
+ -->
705
+ <!ELEMENT resource-ref (description?, res-ref-name, res-type,
706
+ res-auth)>
707
+
708
+ <!--
709
+ The role-link element is used to link a security role reference to a
710
+ defined security role. The role-link element must contain the name of
711
+ one of the security roles defined in the security-role elements.
712
+
713
+ Used in: security-role-ref
714
+ -->
715
+ <!ELEMENT role-link (#PCDATA)>
716
+
717
+ <!--
718
+ The role-name element contains the name of a security role.
719
+
720
+ The name must conform to the lexical rules for an NMTOKEN.
721
+
722
+ Used in: method-permission, security-role, and security-role-ref
723
+ -->
724
+ <!ELEMENT role-name (#PCDATA)>
725
+
726
+ <!--
727
+ The security-role element contains the definition of a security role.
728
+ The definition consists of an optional description of the security
729
+ role, and the security role name.
730
+
731
+ Used in: assembly-descriptor
732
+
733
+ Example:
734
+ <security-role>
735
+ <description>
736
+ This role includes all employees who
737
+ are authorized to access the employee
738
+ service application.
739
+ </description>
740
+ <role-name>employee</role-name>
741
+ </security-role>
742
+ -->
743
+ <!ELEMENT security-role (description?, role-name)>
744
+
745
+ <!--
746
+ The security-role-ref element contains the declaration of a security
747
+ role reference in the enterprise bean's code. The declaration consists
748
+ of an optional description, the security role name used in the code,
749
+ and an optional link to a defined security role.
750
+
751
+ The value of the role-name element must be the String used as the
752
+ parameter to the EJBContext.isCallerInRole(String roleName) method.
753
+
754
+ The value of the role-link element must be the name of one of the
755
+ security roles defined in the security-role elements.
756
+
757
+ Used in: entity and session
758
+
759
+ -->
760
+ <!ELEMENT security-role-ref (description?, role-name, role-link?)>
761
+
762
+ <!--
763
+ The session-type element describes whether the session bean is a
764
+ stateful session, or stateless session.
765
+
766
+ The session-type element must be one of the two following:
767
+ <session-type>Stateful</session-type>
768
+ <session-type>Stateless</session-type>
769
+ -->
770
+ <!ELEMENT session-type (#PCDATA)>
771
+
772
+ <!--
773
+ The session element declares an session bean. The declaration consists
774
+ of: an optional description; optional display name; optional small icon
775
+ file name; optional large icon file name; a name assigned to the
776
+ enterprise bean in the deployment description; the names of the session
777
+ bean's home and remote interfaces; the session bean's implementation
778
+ class; the session bean's state management type; the session bean's
779
+ transaction management type; an optional declaration of the bean's
780
+ environment entries; an optional declaration of the bean's EJB
781
+ references; an optional declaration of the security role references;
782
+ and an optional declaration of the bean's resource manager connection
783
+ factory references.
784
+
785
+ The elements that are optional are "optional" in the sense that they
786
+ are omitted when if lists represented by them are empty.
787
+
788
+ Used in: enterprise-beans
789
+ -->
790
+ <!ELEMENT session (description?, display-name?, small-icon?,
791
+ large-icon?, ejb-name, home, remote, ejb-class,
792
+ session-type, transaction-type, env-entry*,
793
+ ejb-ref*, security-role-ref*, resource-ref*)>
794
+
795
+ <!--
796
+ The small-icon element contains the name of a file containing a small
797
+ (16 x 16) icon image. The file name is relative path within the ejb-jar
798
+ file.
799
+
800
+ The image must be either in the JPEG or GIF format, and the file name
801
+ must end with the suffix ".jpg" or ".gif" respectively.
802
+
803
+ The icon can be used by tools.
804
+
805
+ Example:
806
+ <small-icon>employee-service-icon16x16.jpg</small-icon>
807
+ -->
808
+ <!ELEMENT small-icon (#PCDATA)>
809
+
810
+ <!--
811
+ The transaction-type element specifies an enterprise bean's transaction
812
+ management type.
813
+
814
+ The transaction-type element must be one of the two following:
815
+ <transaction-type>Bean</transaction-type>
816
+ <transaction-type>Container</transaction-type>
817
+
818
+ Used in: session
819
+ -->
820
+ <!ELEMENT transaction-type (#PCDATA)>
821
+
822
+ <!--
823
+ The trans-attribute element specifies how the container must manage the
824
+ transaction boundaries when delegating a method invocation to an
825
+ enterprise bean's business method.
826
+
827
+ The value of trans-attribute must be one of the following:
828
+ <trans-attribute>NotSupported</trans-attribute>
829
+ <trans-attribute>Supports</trans-attribute>
830
+ <trans-attribute>Required</trans-attribute>
831
+ <trans-attribute>RequiresNew</trans-attribute>
832
+ <trans-attribute>Mandatory</trans-attribute>
833
+ <trans-attribute>Never</trans-attribute>
834
+
835
+ Used in: container-transaction
836
+ -->
837
+ <!ELEMENT trans-attribute (#PCDATA)>
838
+
839
+ <!--
840
+ The ID mechanism is to allow tools that produce additional deployment
841
+ information (i.e information beyond the standard EJB deployment
842
+ descriptor information) to store the non-standard information in a
843
+ separate file, and easily refer from these tools-specific files to the
844
+ information in the standard deployment descriptor.
845
+
846
+ The EJB architecture does not allow the tools to add the non-standard
847
+ information into the EJB deployment descriptor.
848
+ -->
849
+ <!ATTLIST assembly-descriptor id ID #IMPLIED>
850
+ <!ATTLIST cmp-field id ID #IMPLIED>
851
+ <!ATTLIST container-transaction id ID #IMPLIED>
852
+ <!ATTLIST description id ID #IMPLIED>
853
+ <!ATTLIST display-name id ID #IMPLIED>
854
+ <!ATTLIST ejb-class id ID #IMPLIED>
855
+ <!ATTLIST ejb-client-jar id ID #IMPLIED>
856
+ <!ATTLIST ejb-jar id ID #IMPLIED>
857
+ <!ATTLIST ejb-link id ID #IMPLIED>
858
+ <!ATTLIST ejb-name id ID #IMPLIED>
859
+ <!ATTLIST ejb-ref id ID #IMPLIED>
860
+ <!ATTLIST ejb-ref-name id ID #IMPLIED>
861
+ <!ATTLIST ejb-ref-type id ID #IMPLIED>
862
+ <!ATTLIST enterprise-beans id ID #IMPLIED>
863
+ <!ATTLIST entity id ID #IMPLIED>
864
+ <!ATTLIST env-entry id ID #IMPLIED>
865
+ <!ATTLIST env-entry-name id ID #IMPLIED>
866
+ <!ATTLIST env-entry-type id ID #IMPLIED>
867
+ <!ATTLIST env-entry-value id ID #IMPLIED>
868
+ <!ATTLIST field-name id ID #IMPLIED>
869
+ <!ATTLIST home id ID #IMPLIED>
870
+ <!ATTLIST large-icon id ID #IMPLIED>
871
+ <!ATTLIST method id ID #IMPLIED>
872
+ <!ATTLIST method-intf id ID #IMPLIED>
873
+ <!ATTLIST method-name id ID #IMPLIED>
874
+ <!ATTLIST method-param id ID #IMPLIED>
875
+ <!ATTLIST method-params id ID #IMPLIED>
876
+ <!ATTLIST method-permission id ID #IMPLIED>
877
+ <!ATTLIST persistence-type id ID #IMPLIED>
878
+ <!ATTLIST prim-key-class id ID #IMPLIED>
879
+ <!ATTLIST primkey-field id ID #IMPLIED>
880
+ <!ATTLIST reentrant id ID #IMPLIED>
881
+ <!ATTLIST remote id ID #IMPLIED>
882
+ <!ATTLIST res-auth id ID #IMPLIED>
883
+ <!ATTLIST res-ref-name id ID #IMPLIED>
884
+ <!ATTLIST res-type id ID #IMPLIED>
885
+ <!ATTLIST resource-ref id ID #IMPLIED>
886
+ <!ATTLIST role-link id ID #IMPLIED>
887
+ <!ATTLIST role-name id ID #IMPLIED>
888
+ <!ATTLIST security-role id ID #IMPLIED>
889
+ <!ATTLIST security-role-ref id ID #IMPLIED>
890
+ <!ATTLIST session-type id ID #IMPLIED>
891
+ <!ATTLIST session id ID #IMPLIED>
892
+ <!ATTLIST small-icon id ID #IMPLIED>
893
+ <!ATTLIST transaction-type id ID #IMPLIED>
894
+ <!ATTLIST trans-attribute id ID #IMPLIED>