glassfish 0.1.1-universal-java-1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,449 @@
1
+ <!--
2
+ XML DTD for Sun Application Server specific EJB jar module
3
+ deployment descriptor. This is a companion DTD for ejb-jar_2_0.dtd
4
+
5
+ Copyright (c) 2002 by Sun Microsystems, Inc. All Rights Reserved.
6
+ $Revision: 1.1.1.1 $
7
+ -->
8
+
9
+ <!--
10
+ This is the root element of the ejb module descriptor document.
11
+ -->
12
+ <!ELEMENT sun-ejb-jar (security-role-mapping*, enterprise-beans) >
13
+
14
+ <!--
15
+ System unique object id. Automatically generated and updated at deployment/redeployment
16
+ -->
17
+ <!ELEMENT unique-id (#PCDATA)>
18
+
19
+ <!--
20
+ This is the root element describing all the runtime of an ejb-jar in the application.
21
+ -->
22
+ <!ELEMENT enterprise-beans (name?, unique-id?, ejb*, pm-descriptors?, cmp-resource?)>
23
+
24
+ <!--
25
+ This is the element describing runtime bindings for a single ejb.
26
+
27
+ Properties applicable to all types of beans:
28
+ ejb-name, ejb-ref*, jndi-name, resource-ref*, resource-env-ref*, pass-by-reference?,
29
+ ior-security-config?, gen-classes?
30
+
31
+ Additional properties applicable to a stateless session bean:
32
+ bean-pool
33
+
34
+ Additional properties applicable to a stateful session bean:
35
+ bean-cache
36
+
37
+ Additional properties applicable to an entity bean:
38
+ is-read-only-bean?, refresh-period-in-seconds?, cmp?, commit-option?, bean-cache?, bean-pool?
39
+
40
+ Additional properties applicable to a message-driven bean:
41
+ mdb-connection-factory?, jms-durable-subscription-name?, jms-max-messages-load?, bean-pool?
42
+ ( In case of MDB, jndi-name is the jndi name of the associated jms destination )
43
+ -->
44
+
45
+ <!ELEMENT ejb (ejb-name, jndi-name?, ejb-ref*, resource-ref*, resource-env-ref*, pass-by-reference?,
46
+ cmp?, principal?, mdb-connection-factory?, jms-durable-subscription-name?,
47
+ jms-max-messages-load?, ior-security-config?, is-read-only-bean?,
48
+ refresh-period-in-seconds?, commit-option?, gen-classes?,
49
+ bean-pool?, bean-cache?)>
50
+ <!--
51
+ The text in this element matches the ejb-name of the ejb to which it refers in ejb-jar.xml.
52
+ -->
53
+ <!ELEMENT ejb-name (#PCDATA)>
54
+
55
+ <!--
56
+ The text in this element is a true/false flag for read only beans.
57
+ -->
58
+ <!ELEMENT is-read-only-bean (#PCDATA)>
59
+
60
+ <!--
61
+ This is the root element which binds an ejb reference to a jndi name.
62
+ -->
63
+ <!ELEMENT ejb-ref (ejb-ref-name, jndi-name)>
64
+
65
+ <!--
66
+ The ejb ref name locates the name of the ejb reference in the application.
67
+ -->
68
+ <!ELEMENT ejb-ref-name (#PCDATA)>
69
+
70
+ <!--
71
+ This element describes runtime information for a CMP EntityBean object for
72
+ EJB1.1 and EJB2.0 beans.
73
+ -->
74
+ <!ELEMENT cmp (mapping-properties?, is-one-one-cmp?, one-one-finders?)>
75
+
76
+ <!--
77
+ This contains the location of the persistence vendor specific O/R mapping file
78
+ -->
79
+ <!ELEMENT mapping-properties (#PCDATA)>
80
+
81
+ <!--
82
+ This contains the boolean true if it is CMP 1.1.
83
+ This field is used to identify CMP 1.1 with old descriptors
84
+ Defaults to false.
85
+ -->
86
+ <!ELEMENT is-one-one-cmp (#PCDATA)>
87
+
88
+ <!--
89
+ This root element contains the finders for CMP 1.1.
90
+ -->
91
+ <!ELEMENT one-one-finders (finder+ )>
92
+
93
+ <!--
94
+ This root element contains the finder for CMP 1.1 with a method-name and query parameters
95
+ -->
96
+ <!ELEMENT finder (method-name, query-params?, query-filter?, query-variables?)>
97
+
98
+ <!--
99
+ This contains the method name for the query field
100
+ -->
101
+ <!ELEMENT method-name (#PCDATA)>
102
+
103
+ <!--
104
+ This contains the query parameters for CMP 1.1 finder
105
+ -->
106
+ <!ELEMENT query-params (#PCDATA)>
107
+
108
+ <!--
109
+ This optional element contains the query filter for CMP 1.1 finder
110
+ -->
111
+ <!ELEMENT query-filter (#PCDATA)>
112
+
113
+ <!--
114
+ This optional element contains variables in query expression for CMP 1.1 finder
115
+ -->
116
+ <!ELEMENT query-variables (#PCDATA)>
117
+
118
+ <!--
119
+ This element contains the database to be used for storing CMP beans in an ejb-jar.
120
+ -->
121
+ <!ELEMENT cmp-resource (jndi-name, default-resource-principal?)>
122
+
123
+ <!--
124
+ This element specifies the connection factory associated with a message-driven bean.
125
+ -->
126
+ <!ELEMENT mdb-connection-factory (jndi-name, default-resource-principal?)>
127
+
128
+ <!--
129
+ Specifies the name of a durable subscription associated with a message-driven bean's
130
+ destination. Required for a Topic destination, if subscription-durability is set to
131
+ Durable (in ejb-jar.xml)
132
+ -->
133
+ <!ELEMENT jms-durable-subscription-name (#PCDATA)>
134
+
135
+ <!--
136
+ A string value specifies the maximum number of messages to load into a JMS session
137
+ at one time for a message-driven bean to serve. If not specified, the default is 1.
138
+ -->
139
+ <!ELEMENT jms-max-messages-load (#PCDATA)>
140
+
141
+ <!--
142
+ This element contains all the generated class names for a bean.
143
+ -->
144
+ <!ELEMENT gen-classes ( remote-impl?, local-impl?, remote-home-impl?, local-home-impl? )>
145
+
146
+ <!--
147
+ This contains the fully qualified class name of the generated EJBObject impl class.
148
+ -->
149
+ <!ELEMENT remote-impl (#PCDATA)>
150
+
151
+ <!--
152
+ This contains the fully qualified class name of the generated EJBLocalObject impl class.
153
+ -->
154
+ <!ELEMENT local-impl (#PCDATA)>
155
+
156
+ <!--
157
+ This contains the fully qualified class name of the generated EJBHome impl class.
158
+ -->
159
+ <!ELEMENT remote-home-impl (#PCDATA)>
160
+
161
+ <!--
162
+ This contains the fully qualified class name of the generated EJBLocalHome impl class.
163
+ -->
164
+ <!ELEMENT local-home-impl (#PCDATA)>
165
+
166
+ <!--
167
+ This contains the bean cache properties. Used only for entity beans and stateful session beans
168
+ -->
169
+ <!ELEMENT bean-cache (max-cache-size?, resize-quantity?, is-cache-overflow-allowed?, cache-idle-timeout-in-seconds?, removal-timeout-in-seconds?, victim-selection-policy?)>
170
+
171
+ <!--
172
+ max-cache-size defines the maximum number of beans in the cache. Should be greater than 1.
173
+ Default is 512.
174
+ -->
175
+ <!ELEMENT max-cache-size (#PCDATA)>
176
+
177
+ <!--
178
+ is-cache-overflow-allowed is a boolean which indicates if the cache size is a hard limit or not.
179
+ Default is true i.e there is no hard limit. max-cache-size is a hint to the cache implementation.
180
+ -->
181
+ <!ELEMENT is-cache-overflow-allowed (#PCDATA)>
182
+
183
+ <!--
184
+ cache-idle-timeout-in-seconds specifies the maximum time that a stateful session bean or
185
+ entity bean is allowed to be idle in the cache. After this time, the bean is passivated
186
+ to backup store. This is a hint to server. Default value for cache-idle-timeout-in-seconds
187
+ is 600 seconds.
188
+ -->
189
+ <!ELEMENT cache-idle-timeout-in-seconds (#PCDATA)>
190
+
191
+
192
+ <!--
193
+ The amount of time that the bean remains passivated (i.e. idle in the backup store) is
194
+ controlled by removal-timeout-in-seconds parameter. Note that if a bean was not accessed beyond
195
+ removal-timeout-in-seconds, then it will be removed from the backup store and hence will not
196
+ be accessible to the client. The Default value for removal-timeout-in-seconds is 60min.
197
+ -->
198
+ <!ELEMENT removal-timeout-in-seconds (#PCDATA)>
199
+
200
+ <!--
201
+ victim-selection-policy specifies the algorithm to use to pick victims.
202
+ Possible values are FIFO | LRU | NRU. Default is NRU, which is actually
203
+ pseudo-random selection policy.
204
+ -->
205
+ <!ELEMENT victim-selection-policy (#PCDATA)>
206
+
207
+ <!--
208
+ bean-pool is a root element containing the bean pool properties. Used
209
+ for stateless session bean, entity bean, and message-driven bean pools.
210
+ -->
211
+ <!ELEMENT bean-pool (steady-pool-size?, resize-quantity?, max-pool-size?, pool-idle-timeout-in-seconds?, max-wait-time-in-millis?)>
212
+
213
+ <!--
214
+ steady-pool-size specified the initial and minimum number of beans that must be maintained in the pool.
215
+ Valid values are from 0 to MAX_INTEGER.
216
+ -->
217
+ <!ELEMENT steady-pool-size (#PCDATA)>
218
+
219
+ <!--
220
+ resize-quantity specifies the number of beans to be created or deleted when the pool
221
+ or cache is being serviced by the server. Valid values are from 0 to MAX_INTEGER and
222
+ subject to maximum size limit). Default is 16.
223
+ -->
224
+ <!ELEMENT resize-quantity (#PCDATA)>
225
+
226
+ <!--
227
+ max-pool-size speifies the maximum pool size. Valid values are from 0 to MAX_INTEGER.
228
+ Default is 64.
229
+ -->
230
+ <!ELEMENT max-pool-size (#PCDATA)>
231
+
232
+ <!--
233
+ pool-idle-timeout-in-seconds specifies the maximum time that a stateless session bean or
234
+ message-driven bean is allowed to be idle in the pool. After this time, the bean is
235
+ passivated to backup store. This is a hint to server. Default value for
236
+ pool-idle-timeout-in-seconds is 600 seconds.
237
+ -->
238
+ <!ELEMENT pool-idle-timeout-in-seconds (#PCDATA)>
239
+
240
+ <!--
241
+ A string field whose valid values are either "B", or "C". Default is "B"
242
+ -->
243
+ <!ELEMENT commit-option (#PCDATA)>
244
+
245
+ <!--
246
+ Specifies the maximum time that the caller is willing to wait to get a bean from the pool.
247
+ Wait time is infinite, if the value specified is 0. Deprecated.
248
+ -->
249
+ <!ELEMENT max-wait-time-in-millis (#PCDATA)>
250
+
251
+ <!--
252
+ refresh-period-in-seconds specifies the rate at which the read-only-bean must be refreshed
253
+ from the data source. 0 (never refreshed) and positive (refreshed at specified intervals).
254
+ Specified value is a hint to the container. Default is 600 seconds.
255
+ -->
256
+ <!ELEMENT refresh-period-in-seconds (#PCDATA)>
257
+
258
+ <!--
259
+ Specifies the jndi name string.
260
+ -->
261
+ <!ELEMENT jndi-name (#PCDATA)>
262
+
263
+ <!--
264
+ This text nodes holds a name string.
265
+ -->
266
+ <!ELEMENT name (#PCDATA)>
267
+
268
+ <!--
269
+ This element holds password text.
270
+ -->
271
+ <!ELEMENT password (#PCDATA)>
272
+
273
+ <!--
274
+ This node describes a username on the platform.
275
+ -->
276
+ <!ELEMENT principal (name)>
277
+
278
+ <!--
279
+ security-role-mapping element maps the user principal or group
280
+ to a different principal on the server.
281
+ -->
282
+ <!ELEMENT security-role-mapping (role-name, (principal-name | group-name)+)>
283
+
284
+ <!--
285
+ role-name specifies an accepted role
286
+ -->
287
+ <!ELEMENT role-name (#PCDATA)>
288
+
289
+ <!--
290
+ principal-name specifies a valid principal
291
+ -->
292
+ <!ELEMENT principal-name (#PCDATA)>
293
+
294
+ <!--
295
+ group-name specifies a valid group name
296
+ -->
297
+ <!ELEMENT group-name (#PCDATA)>
298
+
299
+ <!--
300
+ The name of a resource reference.
301
+ -->
302
+ <!ELEMENT res-ref-name (#PCDATA)>
303
+
304
+ <!--
305
+ resource-env-ref holds all the runtime bindings of a resource env reference.
306
+ -->
307
+ <!ELEMENT resource-env-ref ( resource-env-ref-name, jndi-name )>
308
+
309
+ <!--
310
+ name of a resource env reference.
311
+ -->
312
+ <!ELEMENT resource-env-ref-name (#PCDATA)>
313
+
314
+ <!--
315
+ resource-ref node holds all the runtime bindings of a resource reference.
316
+ -->
317
+ <!ELEMENT resource-ref (res-ref-name, jndi-name, default-resource-principal?)>
318
+
319
+ <!--
320
+ user name and password to be used when none are specified while accesing a resource
321
+ -->
322
+ <!ELEMENT default-resource-principal ( name, password)>
323
+
324
+ <!--
325
+ ior-security-config element describes the security configuration information for the IOR.
326
+ -->
327
+ <!ELEMENT ior-security-config ( transport-config? , as-context?, sas-context? )>
328
+
329
+ <!--
330
+ transport-config is the root element for security between the end points
331
+ -->
332
+ <!ELEMENT transport-config ( integrity, confidentiality, establish-trust-in-target, establish-trust-in-client )>
333
+
334
+ <!--
335
+ integrity element indicates if the server (target) supports integrity protected messages.
336
+ The valid values are NONE, SUPPORTED or REQUIRED
337
+ -->
338
+ <!ELEMENT integrity ( #PCDATA)>
339
+
340
+ <!--
341
+ confidentiality element indicates if the server (target) supports privacy protected
342
+ messages. The values are NONE, SUPPORTED or REQUIRED
343
+ -->
344
+ <!ELEMENT confidentiality ( #PCDATA)>
345
+
346
+ <!--
347
+ establish-trust-in-target element indicates if the target is capable of authenticating to a client.
348
+ The values are NONE or SUPPORTED.
349
+ -->
350
+ <!ELEMENT establish-trust-in-target ( #PCDATA)>
351
+
352
+ <!--
353
+ establish-trust-in-client element indicates if the target is capable of authenticating a client. The
354
+ values are NONE, SUPPORTED or REQUIRED.
355
+ -->
356
+ <!ELEMENT establish-trust-in-client ( #PCDATA)>
357
+
358
+ <!--
359
+ as-context (CSIv2 authentication service) is the element describing the authentication
360
+ mechanism that will be used to authenticate the client. If specified it will be the
361
+ username-password mechanism.
362
+ -->
363
+ <!ELEMENT as-context ( auth-method, realm, required )>
364
+
365
+ <!--
366
+ required element specifies if the authentication method specified is required
367
+ to be used for client authentication. If so the EstablishTrustInClient bit
368
+ will be set in the target_requires field of the AS_Context. The element value
369
+ is either true or false.
370
+ -->
371
+ <!ELEMENT required ( #PCDATA )>
372
+
373
+ <!--
374
+ auth-method element describes the authentication method. The only supported value
375
+ is USERNAME_PASSWORD
376
+ -->
377
+ <!ELEMENT auth-method ( #PCDATA )>
378
+
379
+ <!--
380
+ realm element describes the realm in which the user is authenticated. Must be
381
+ a valid realm that is registered in server configuration.
382
+ -->
383
+ <!ELEMENT realm ( #PCDATA )>
384
+
385
+ <!--
386
+ sas-context (related to CSIv2 security attribute service) element describes
387
+ the sas-context fields.
388
+ -->
389
+ <!ELEMENT sas-context ( caller-propagation )>
390
+
391
+ <!--
392
+ caller-propagation element indicates if the target will accept propagated caller identities
393
+ The values are NONE or SUPPORTED.
394
+ -->
395
+ <!ELEMENT caller-propagation ( #PCDATA) >
396
+
397
+ <!--
398
+ pass-by-reference elements controls use of Pass by Reference semantics.
399
+ EJB spec requires pass by value, which will be the default mode of operation.
400
+ This can be set to true for non-compliant operation and possibly higher
401
+ performance. For a stand-alone server, this can be used. By setting a similarly
402
+ named element at sun-application.xml, it can apply to all the enclosed ejb
403
+ modules. Allowed values are true and false. Default will be false.
404
+ -->
405
+ <!ELEMENT pass-by-reference (#PCDATA)>
406
+
407
+ <!--
408
+ PM descriptors contain one or more pm descriptors, but only of them must
409
+ be in use at any given time
410
+ -->
411
+ <!ELEMENT pm-descriptors ( pm-descriptor+, pm-inuse)>
412
+
413
+ <!--
414
+ pm-descriptor describes the properties for the persistence manager associated with entity bean
415
+ -->
416
+ <!ELEMENT pm-descriptor ( pm-identifier, pm-version, pm-config?, pm-class-generator?, pm-mapping-factory?)>
417
+
418
+ <!--
419
+ pm-identifier element describes the vendor who provided the PM implementation
420
+ -->
421
+ <!ELEMENT pm-identifier (#PCDATA)>
422
+
423
+ <!--
424
+ pm-version further specifies which version of PM vendor product to be used
425
+ -->
426
+ <!ELEMENT pm-version (#PCDATA)>
427
+
428
+ <!--
429
+ pm-config specifies the vendor specific config file to be used
430
+ -->
431
+ <!ELEMENT pm-config (#PCDATA)>
432
+
433
+ <!--
434
+ pm-class-generator specifies the vendor specific concrete class generator
435
+ This is the name of the class specific to a vendor
436
+ -->
437
+ <!ELEMENT pm-class-generator (#PCDATA)>
438
+
439
+ <!--
440
+ pm-mapping-factory specifies the vendor specific mapping factory
441
+ This is the name of the class specific to a vendor
442
+ -->
443
+ <!ELEMENT pm-mapping-factory (#PCDATA)>
444
+
445
+ <!--
446
+ pm-insue specifies whether this particular PM must be used or not
447
+ -->
448
+ <!ELEMENT pm-inuse (pm-identifier, pm-version)>
449
+
@@ -0,0 +1,454 @@
1
+ <!--
2
+ XML DTD for Sun Java System Application Server specific EJB jar module
3
+ deployment descriptor. This is a companion DTD for ejb-jar_2_0.dtd
4
+
5
+ Copyright (c) 2002 by Sun Microsystems, Inc. All Rights Reserved.
6
+ $Revision: 1.1.1.1 $
7
+ -->
8
+
9
+ <!--
10
+ This is the root element of the ejb module descriptor document.
11
+ -->
12
+ <!ELEMENT sun-ejb-jar (security-role-mapping*, enterprise-beans) >
13
+
14
+ <!--
15
+ System unique object id. Automatically generated and updated at deployment/redeployment
16
+ -->
17
+ <!ELEMENT unique-id (#PCDATA)>
18
+
19
+ <!--
20
+ This is the root element describing all the runtime of an ejb-jar in the application.
21
+ -->
22
+ <!ELEMENT enterprise-beans (name?, unique-id?, ejb*, pm-descriptors?, cmp-resource?)>
23
+
24
+ <!--
25
+ This is the element describing runtime bindings for a single ejb.
26
+
27
+ Properties applicable to all types of beans:
28
+ ejb-name, ejb-ref*, resource-ref*, resource-env-ref*, pass-by-reference?,
29
+ ior-security-config?, gen-classes?
30
+
31
+ Additional properties applicable to a stateless session bean:
32
+ bean-pool
33
+
34
+ Additional properties applicable to a stateful session bean:
35
+ bean-cache
36
+
37
+ Additional properties applicable to an entity bean:
38
+ is-read-only-bean?, refresh-period-in-seconds?, cmp?, commit-option?, bean-cache?, bean-pool?
39
+
40
+ Additional properties applicable to a message-driven bean:
41
+ jndi-name?, mdb-connection-factory?, jms-durable-subscription-name?, jms-max-messages-load?, bean-pool?
42
+ ( jndi-name is the jndi name of the associated jms destination )
43
+ -->
44
+
45
+ <!ELEMENT ejb (ejb-name, jndi-name?, ejb-ref*, resource-ref*, resource-env-ref*, pass-by-reference?,
46
+ cmp?, principal?, mdb-connection-factory?, jms-durable-subscription-name?,
47
+ jms-max-messages-load?, ior-security-config?, is-read-only-bean?,
48
+ refresh-period-in-seconds?, commit-option?, gen-classes?,
49
+ bean-pool?, bean-cache?, checkpointed-methods?)>
50
+ <!ATTLIST ejb availability-enabled CDATA #IMPLIED>
51
+ <!--
52
+ The text in this element matches the display name of the ejb to which it refers.
53
+ -->
54
+ <!ELEMENT ejb-name (#PCDATA)>
55
+
56
+ <!--
57
+ The text in this element is a true/false flag for read only beans.
58
+ -->
59
+ <!ELEMENT is-read-only-bean (#PCDATA)>
60
+
61
+ <!--
62
+ This is the root element which binds an ejb reference to a jndi name.
63
+ -->
64
+ <!ELEMENT ejb-ref (ejb-ref-name, jndi-name)>
65
+
66
+ <!--
67
+ The ejb ref name locates the name of the ejb reference in the application.
68
+ -->
69
+ <!ELEMENT ejb-ref-name (#PCDATA)>
70
+
71
+ <!--
72
+ This element describes runtime information for a CMP EntityBean object for
73
+ EJB1.1 and EJB2.0 beans.
74
+ -->
75
+ <!ELEMENT cmp (mapping-properties?, is-one-one-cmp?, one-one-finders?)>
76
+
77
+ <!--
78
+ This contains the location of the persistence vendor specific O/R mapping file
79
+ -->
80
+ <!ELEMENT mapping-properties (#PCDATA)>
81
+
82
+ <!--
83
+ This contains the boolean true if it is CMP 1.1.
84
+ This field is used to identify CMP 1.1 with old descriptors
85
+ -->
86
+ <!ELEMENT is-one-one-cmp (#PCDATA)>
87
+
88
+ <!--
89
+ This root element contains the finders for CMP 1.1.
90
+ -->
91
+ <!ELEMENT one-one-finders (finder+ )>
92
+
93
+ <!--
94
+ This root element contains the finder for CMP 1.1 with a method-name and query parameters
95
+ -->
96
+ <!ELEMENT finder (method-name, query-params?, query-filter?, query-variables?)>
97
+
98
+ <!--
99
+ This contains the method name for the query field
100
+ -->
101
+ <!ELEMENT method-name (#PCDATA)>
102
+
103
+ <!--
104
+ This contains the query parameters for CMP 1.1 finder
105
+ -->
106
+ <!ELEMENT query-params (#PCDATA)>
107
+
108
+ <!--
109
+ This optional element contains the query filter for CMP 1.1 finder
110
+ -->
111
+ <!ELEMENT query-filter (#PCDATA)>
112
+
113
+ <!--
114
+ This optional element contains variables in query expression for CMP 1.1 finder
115
+ -->
116
+ <!ELEMENT query-variables (#PCDATA)>
117
+
118
+ <!--
119
+ This element contains the database to be used for storing CMP beans in an ejb-jar.
120
+ -->
121
+ <!ELEMENT cmp-resource (jndi-name, default-resource-principal?)>
122
+
123
+ <!--
124
+ This element specifies the connection factory associated with a message-driven bean.
125
+ -->
126
+ <!ELEMENT mdb-connection-factory (jndi-name, default-resource-principal?)>
127
+
128
+ <!--
129
+ Specifies the name of a durable subscription associated with a message-driven bean's
130
+ destination. Required for a Topic destination, if subscription-durability is set to
131
+ Durable (in ejb-jar.xml)
132
+ -->
133
+ <!ELEMENT jms-durable-subscription-name (#PCDATA)>
134
+
135
+ <!--
136
+ A string value specifies the maximum number of messages to load into a JMS session
137
+ at one time for a message-driven bean to serve. If not specified, the default is 1.
138
+ -->
139
+ <!ELEMENT jms-max-messages-load (#PCDATA)>
140
+
141
+ <!--
142
+ This element contains all the generated class names for a bean.
143
+ -->
144
+ <!ELEMENT gen-classes ( remote-impl?, local-impl?, remote-home-impl?, local-home-impl? )>
145
+
146
+ <!--
147
+ This contains the fully qualified class name of the generated EJBObject impl class.
148
+ -->
149
+ <!ELEMENT remote-impl (#PCDATA)>
150
+
151
+ <!--
152
+ This contains the fully qualified class name of the generated EJBLocalObject impl class.
153
+ -->
154
+ <!ELEMENT local-impl (#PCDATA)>
155
+
156
+ <!--
157
+ This contains the fully qualified class name of the generated EJBHome impl class.
158
+ -->
159
+ <!ELEMENT remote-home-impl (#PCDATA)>
160
+
161
+ <!--
162
+ This contains the fully qualified class name of the generated EJBLocalHome impl class.
163
+ -->
164
+ <!ELEMENT local-home-impl (#PCDATA)>
165
+
166
+ <!--
167
+ This contains the bean cache properties. Used only for entity beans and stateful session beans
168
+ -->
169
+ <!ELEMENT bean-cache (max-cache-size?, resize-quantity?, is-cache-overflow-allowed?, cache-idle-timeout-in-seconds?, removal-timeout-in-seconds?, victim-selection-policy?)>
170
+
171
+ <!--
172
+ max-cache-size defines the maximum number of beans in the cache. Should be greater than 1.
173
+ -->
174
+ <!ELEMENT max-cache-size (#PCDATA)>
175
+
176
+ <!--
177
+ is-cache-overflow-allowed is a boolean which indicates if the cache size is a hard limit or not.
178
+ Default is true i.e there is no hard limit. max-cache-size is a hint to the cache implementation.
179
+ -->
180
+ <!ELEMENT is-cache-overflow-allowed (#PCDATA)>
181
+
182
+ <!--
183
+ cache-idle-timeout-in-seconds specifies the maximum time that a stateful session bean or
184
+ entity bean is allowed to be idle in the cache. After this time, the bean is passivated
185
+ to backup store. This is a hint to server. Default value for cache-idle-timeout-in-seconds
186
+ is 10 minutes.
187
+ -->
188
+ <!ELEMENT cache-idle-timeout-in-seconds (#PCDATA)>
189
+
190
+
191
+ <!--
192
+ The amount of time that the bean remains passivated (i.e. idle in the backup store) is
193
+ controlled by removal-timeout-in-seconds parameter. Note that if a bean was not accessed beyond
194
+ removal-timeout-in-seconds, then it will be removed from the backup store and hence will not
195
+ be accessible to the client. The Default value for removal-timeout-in-seconds is 60min.
196
+ -->
197
+ <!ELEMENT removal-timeout-in-seconds (#PCDATA)>
198
+
199
+ <!--
200
+ victim-selection-policy specifies the algorithm to use to pick victims.
201
+ Possible values are FIFO | LRU | NRU. Default is NRU, which is actually
202
+ pseudo-random selection policy.
203
+ -->
204
+ <!ELEMENT victim-selection-policy (#PCDATA)>
205
+
206
+ <!ELEMENT checkpointed-methods (#PCDATA)>
207
+
208
+ <!--
209
+ bean-pool is a root element containing the bean pool properties. Used only for stateless session
210
+ bean and message-driven bean pools.
211
+ -->
212
+ <!ELEMENT bean-pool (steady-pool-size?, resize-quantity?, max-pool-size?, pool-idle-timeout-in-seconds?, max-wait-time-in-millis?)>
213
+
214
+ <!--
215
+ steady-pool-size specified the initial and minimum number of beans that must be maintained in the pool.
216
+ Valid values are from 0 to MAX_INTEGER.
217
+ -->
218
+ <!ELEMENT steady-pool-size (#PCDATA)>
219
+
220
+ <!--
221
+ resize-quantity specifies the number of beans to be created or deleted when the pool
222
+ is being serviced by the pool manager. Valid values are from 0 to MAX_INTEGER and
223
+ subject to max-pool-size limit).
224
+ -->
225
+ <!ELEMENT resize-quantity (#PCDATA)>
226
+
227
+ <!--
228
+ max-pool-size speifies the maximum pool size. Valid values are from 0 to MAX_INTEGER.
229
+ -->
230
+ <!ELEMENT max-pool-size (#PCDATA)>
231
+
232
+ <!--
233
+ pool-idle-timeout-in-seconds specifies the maximum time that a stateless session bean or
234
+ message-driven bean is allowed to be idle in the pool. After this time, the bean is
235
+ passivated to backup store. This is a hint to server. Default value for
236
+ pool-idle-timeout-in-seconds is 10 minutes.
237
+ -->
238
+ <!ELEMENT pool-idle-timeout-in-seconds (#PCDATA)>
239
+
240
+ <!--
241
+ A string field whose valid values are either "A", "B", or "C". Default is "B"
242
+ -->
243
+ <!ELEMENT commit-option (#PCDATA)>
244
+
245
+ <!--
246
+ Specifies the maximum time that the caller is willing to wait to get a bean from the pool.
247
+ Wait time is infinite, if the value specified is 0. This does not apply to message-driven beans.
248
+ -->
249
+ <!ELEMENT max-wait-time-in-millis (#PCDATA)>
250
+
251
+ <!--
252
+ refresh-period-in-seconds specifies the rate at which the read-only-bean must be refreshed
253
+ from the data source. 0 (never refreshed) and positive (refreshed at specified intervals).
254
+ Specified value is a hint to the container.
255
+ -->
256
+ <!ELEMENT refresh-period-in-seconds (#PCDATA)>
257
+
258
+ <!--
259
+ Specifies the jndi name string.
260
+ -->
261
+ <!ELEMENT jndi-name (#PCDATA)>
262
+
263
+ <!--
264
+ This text nodes holds a name string.
265
+ -->
266
+ <!ELEMENT name (#PCDATA)>
267
+
268
+ <!--
269
+ This element holds password text.
270
+ -->
271
+ <!ELEMENT password (#PCDATA)>
272
+
273
+ <!--
274
+ This node describes a username on the platform.
275
+ -->
276
+ <!ELEMENT principal (name)>
277
+
278
+ <!--
279
+ security-role-mapping element maps the user principal or group
280
+ to a different principal on the server.
281
+ -->
282
+ <!ELEMENT security-role-mapping (role-name, (principal-name | group-name)+)>
283
+
284
+ <!--
285
+ role-name specifies an accepted role
286
+ -->
287
+ <!ELEMENT role-name (#PCDATA)>
288
+
289
+ <!--
290
+ principal-name specifies a valid principal
291
+ -->
292
+ <!ELEMENT principal-name (#PCDATA)>
293
+
294
+ <!--
295
+ group-name specifies a valid group name
296
+ -->
297
+ <!ELEMENT group-name (#PCDATA)>
298
+
299
+ <!--
300
+ The name of a resource reference.
301
+ -->
302
+ <!ELEMENT res-ref-name (#PCDATA)>
303
+
304
+ <!--
305
+ resource-env-ref holds all the runtime bindings of a resource env reference.
306
+ -->
307
+ <!ELEMENT resource-env-ref ( resource-env-ref-name, jndi-name )>
308
+
309
+ <!--
310
+ name of a resource env reference.
311
+ -->
312
+ <!ELEMENT resource-env-ref-name (#PCDATA)>
313
+
314
+ <!--
315
+ resource-ref node holds all the runtime bindings of a resource reference.
316
+ -->
317
+ <!ELEMENT resource-ref (res-ref-name, jndi-name, default-resource-principal?)>
318
+
319
+ <!--
320
+ user name and password to be used when none are specified while accesing a resource
321
+ -->
322
+ <!ELEMENT default-resource-principal ( name, password)>
323
+
324
+ <!--
325
+ ior-security-config element describes the security configuration information for the IOR.
326
+ -->
327
+ <!ELEMENT ior-security-config ( transport-config? , as-context?, sas-context? )>
328
+
329
+ <!--
330
+ transport-config is the root element for security between the end points
331
+ -->
332
+ <!ELEMENT transport-config ( integrity, confidentiality, establish-trust-in-target, establish-trust-in-client )>
333
+
334
+ <!--
335
+ integrity element indicates if the target supports integrity protected messages.
336
+ The valid values are NONE, SUPPORTED or REQUIRED
337
+ TODO: What is the default
338
+ -->
339
+ <!ELEMENT integrity ( #PCDATA)>
340
+
341
+ <!--
342
+ confidentiality element indicates if the target supports privacy protected messages. The
343
+ values are NONE, SUPPORTED or REQUIRED
344
+ TODO: What is the default
345
+ -->
346
+ <!ELEMENT confidentiality ( #PCDATA)>
347
+
348
+ <!--
349
+ establish-trust-in-target element indicates if the target is capable of authenticating to a client.
350
+ The values are NONE, SUPPORTED or REQUIRED.
351
+ TODO: What is the default
352
+ -->
353
+ <!ELEMENT establish-trust-in-target ( #PCDATA)>
354
+
355
+ <!--
356
+ establish-trust-in-client element indicates if the target is capable of authenticating a client. The
357
+ values are NONE, SUPPORTED or REQUIRED.
358
+ -->
359
+ <!ELEMENT establish-trust-in-client ( #PCDATA)>
360
+
361
+ <!--
362
+ as-context is the element describing the authentication mechanism that will be
363
+ used to authenticate the client. If specified it will be the username-password
364
+ mechanism.
365
+ -->
366
+ <!ELEMENT as-context ( auth-method, realm, required )>
367
+
368
+ <!--
369
+ required element specifies if the authentication method specified is required
370
+ to be used for client authentication. If so the EstablishTrustInClient bit
371
+ will be set in the target_requires field of the AS_Context. The element value
372
+ is either true or false.
373
+ TODO: What is the default
374
+ -->
375
+ <!ELEMENT required ( #PCDATA )>
376
+
377
+ <!--
378
+ auth-method element describes the authentication method. The only supported value
379
+ is USERNAME_PASSWORD
380
+ -->
381
+ <!ELEMENT auth-method ( #PCDATA )>
382
+
383
+ <!--
384
+ realm element describes the realm in which the user is authenticated. Must be
385
+ a valid realm that is registered in server configuration.
386
+ -->
387
+ <!ELEMENT realm ( #PCDATA )>
388
+
389
+ <!--
390
+ sas-context element describes the sas-context fields.
391
+ TODO: Need more information
392
+ -->
393
+ <!ELEMENT sas-context ( caller-propagation )>
394
+
395
+ <!--
396
+ caller-propagation element indicates if the target will accept propagated caller identities
397
+ The values are NONE, SUPPORTED or REQUIRED.
398
+ TODO: What is the default
399
+ -->
400
+ <!ELEMENT caller-propagation ( #PCDATA) >
401
+
402
+ <!--
403
+ pass-by-reference elements controls use of Pass by Reference semantics.
404
+ EJB spec requires pass by value, which will be the default mode of operation.
405
+ This can be set to true for non-compliant operation and possibly higher
406
+ performance. For a stand-alone server, this can be used. By setting a similarly
407
+ named element at sun-application.xml, it can apply to all the enclosed ejb
408
+ modules. Allowed values are true and false. Default will be false.
409
+ -->
410
+ <!ELEMENT pass-by-reference (#PCDATA)>
411
+
412
+ <!--
413
+ PM descriptors contain one or more pm descriptors, but only of them must
414
+ be in use at any given time
415
+ -->
416
+ <!ELEMENT pm-descriptors ( pm-descriptor+, pm-inuse)>
417
+
418
+ <!--
419
+ pm-descriptor describes the properties for the persistence manager associated with entity bean
420
+ -->
421
+ <!ELEMENT pm-descriptor ( pm-identifier, pm-version, pm-config?, pm-class-generator?, pm-mapping-factory?)>
422
+
423
+ <!--
424
+ pm-identifier element describes the vendor who provided the PM implementation
425
+ -->
426
+ <!ELEMENT pm-identifier (#PCDATA)>
427
+
428
+ <!--
429
+ pm-version further specifies which version of PM vendor product to be used
430
+ -->
431
+ <!ELEMENT pm-version (#PCDATA)>
432
+
433
+ <!--
434
+ pm-config specifies the vendor specific config file to be used
435
+ -->
436
+ <!ELEMENT pm-config (#PCDATA)>
437
+
438
+ <!--
439
+ pm-class-generator specifies the vendor specific concrete class generator
440
+ This is the name of the class specific to a vendor
441
+ -->
442
+ <!ELEMENT pm-class-generator (#PCDATA)>
443
+
444
+ <!--
445
+ pm-mapping-factory specifies the vendor specific mapping factory
446
+ This is the name of the class specific to a vendor
447
+ -->
448
+ <!ELEMENT pm-mapping-factory (#PCDATA)>
449
+
450
+ <!--
451
+ pm-insue specifies whether this particular PM must be used or not
452
+ -->
453
+ <!ELEMENT pm-inuse (pm-identifier, pm-version)>
454
+