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,30 @@
1
+
2
+ <!--
3
+ This is the root element of the runtime descriptor document.
4
+ -->
5
+ <!ELEMENT sun-application (web*, pass-by-reference?, unique-id?, security-role-mapping*) >
6
+
7
+ <!ELEMENT web (web-uri, context-root)>
8
+ <!ELEMENT web-uri (#PCDATA)>
9
+ <!ELEMENT context-root (#PCDATA)>
10
+
11
+ <!-- Pass by Reference semantics: EJB spec requires pass by value,
12
+ which will be the default mode of operation. This can be set
13
+ to true for non-compliant and possibly higher performance.
14
+ For a stand-alone, this can be set at this level. By setting
15
+ a similarly named element at sun-application, it can apply to
16
+ all the enclosed ejb modules. Allowed values are true and
17
+ false. Default will be false.
18
+ -->
19
+ <!ELEMENT pass-by-reference (#PCDATA)>
20
+
21
+ <!-- Automatically generated and updated at deployment/redeployment
22
+ Needs to be unqiue in the system.
23
+ -->
24
+ <!ELEMENT unique-id (#PCDATA)>
25
+
26
+ <!ELEMENT security-role-mapping (role-name, (principal-name | group-name)+)>
27
+
28
+ <!ELEMENT role-name (#PCDATA)>
29
+ <!ELEMENT principal-name (#PCDATA)>
30
+ <!ELEMENT group-name (#PCDATA)>
@@ -0,0 +1,44 @@
1
+
2
+ <!-- The PUBLIC ID (defined in DOCTYPE) associated with this dtd is:
3
+ "-//Sun Microsystems, Inc.//DTD Application Server 8.0 J2EE Application 1.4//EN";
4
+ -->
5
+
6
+ <!--
7
+ This is the root element of the runtime descriptor document.
8
+ -->
9
+ <!ELEMENT sun-application (web*, pass-by-reference?, unique-id?, security-role-mapping*, realm?) >
10
+
11
+ <!ELEMENT web (web-uri, context-root)>
12
+ <!ELEMENT web-uri (#PCDATA)>
13
+ <!ELEMENT context-root (#PCDATA)>
14
+
15
+ <!-- Pass by Reference semantics: EJB spec requires pass by value,
16
+ which will be the default mode of operation. This can be set
17
+ to true for non-compliant and possibly higher performance.
18
+ For a stand-alone, this can be set at this level. By setting
19
+ a similarly named element at sun-application, it can apply to
20
+ all the enclosed ejb modules. Allowed values are true and
21
+ false. Default will be false.
22
+ -->
23
+ <!ELEMENT pass-by-reference (#PCDATA)>
24
+
25
+ <!-- Automatically generated and updated at deployment/redeployment
26
+ Needs to be unqiue in the system.
27
+ -->
28
+ <!ELEMENT unique-id (#PCDATA)>
29
+
30
+ <!ELEMENT security-role-mapping (role-name, (principal-name | group-name)+)>
31
+
32
+ <!ELEMENT role-name (#PCDATA)>
33
+ <!ELEMENT principal-name (#PCDATA)>
34
+ <!ELEMENT group-name (#PCDATA)>
35
+
36
+ <!--
37
+ realm: Allows specifying an optional authentication realm name which will
38
+ be used to process all authentication requests associated with this
39
+ application. If this element is not specified (or if it is given but
40
+ does not match the name of a configured realm) then the default realm
41
+ set in the server instances security-service element will be used
42
+ instead.
43
+ -->
44
+ <!ELEMENT realm (#PCDATA)>
@@ -0,0 +1,51 @@
1
+
2
+ <!--
3
+ XML DTD for Sun Application Server specific Java EE Application
4
+ deployment descriptor. This is a companion DTD to application_5.xsd
5
+
6
+ It must include a DOCTYPE of the following form:
7
+
8
+ <!DOCTYPE sun-application PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 9.0 Java EE Application 5.0//EN" "http://www.sun.com/software/appserver/dtds/sun-application_5_0-0.dtd">
9
+
10
+ -->
11
+
12
+ <!--
13
+ This is the root element of the runtime descriptor document.
14
+ -->
15
+ <!ELEMENT sun-application (web*, pass-by-reference?, unique-id?, security-role-mapping*, realm?) >
16
+
17
+ <!ELEMENT web (web-uri, context-root)>
18
+ <!ELEMENT web-uri (#PCDATA)>
19
+ <!ELEMENT context-root (#PCDATA)>
20
+
21
+ <!-- Pass by Reference semantics: EJB spec requires pass by value,
22
+ which will be the default mode of operation. This can be set
23
+ to true for non-compliant and possibly higher performance.
24
+ For a stand-alone, this can be set at this level. By setting
25
+ a similarly named element at sun-application, it can apply to
26
+ all the enclosed ejb modules. Allowed values are true and
27
+ false. Default will be false.
28
+ -->
29
+ <!ELEMENT pass-by-reference (#PCDATA)>
30
+
31
+ <!-- Automatically generated and updated at deployment/redeployment
32
+ Needs to be unqiue in the system.
33
+ -->
34
+ <!ELEMENT unique-id (#PCDATA)>
35
+
36
+ <!ELEMENT security-role-mapping (role-name, (principal-name | group-name)+)>
37
+
38
+ <!ELEMENT role-name (#PCDATA)>
39
+ <!ELEMENT principal-name (#PCDATA)>
40
+ <!ATTLIST principal-name class-name CDATA #IMPLIED>
41
+ <!ELEMENT group-name (#PCDATA)>
42
+
43
+ <!--
44
+ realm: Allows specifying an optional authentication realm name which will
45
+ be used to process all authentication requests associated with this
46
+ application. If this element is not specified (or if it is given but
47
+ does not match the name of a configured realm) then the default realm
48
+ set in the server instances security-service element will be used
49
+ instead.
50
+ -->
51
+ <!ELEMENT realm (#PCDATA)>
@@ -0,0 +1,100 @@
1
+
2
+ <!-- This file maps at least one set of beans to tables and columns in a
3
+ specific db schema
4
+ -->
5
+ <!ELEMENT sun-cmp-mappings ( sun-cmp-mapping+ ) >
6
+
7
+ <!-- At least one bean is mapped to database columns in the named schema -->
8
+ <!ELEMENT sun-cmp-mapping ( schema, entity-mapping+) >
9
+
10
+ <!-- A cmp bean has a name, a primary table, one or more fields, zero or
11
+ more relationships, and zero or more secondary tables, plus flags for
12
+ consistency checking.
13
+
14
+ If the consistency checking flag element is not present, then none
15
+ is assumed
16
+ -->
17
+ <!ELEMENT entity-mapping (ejb-name, table-name, cmp-field-mapping+,
18
+ cmr-field-mapping*, secondary-table*, consistency?)>
19
+
20
+ <!ELEMENT consistency (none | check-modified-at-commit | lock-when-loaded |
21
+ check-all-at-commit | lock-when-modified |
22
+ (lock-when-modified, check-all-at-commit) ) >
23
+
24
+ <!ELEMENT read-only EMPTY>
25
+
26
+ <!-- A cmp-field-mapping has a field, one or more columns that it maps to.
27
+ The column can be from a bean's primary table or any defined secondary
28
+ table. If a field is mapped to multiple columns, the column listed first
29
+ is used as the SOURCE for getting the value from the database. The
30
+ columns are updated in their order. A field may also be marked as
31
+ read-only. It may also participate in a hierarchial or independent
32
+ fetch group. If the fetched-with element is not present, the field
33
+ is assumed to be a member of the default hierarchial fetch group.
34
+ -->
35
+ <!ELEMENT cmp-field-mapping (field-name, column-name+, read-only?,
36
+ fetched-with?) >
37
+
38
+ <!-- The java identifier of a field. Must match the value of the field-name
39
+ sub-element of the cmp-field that is being mapped.
40
+ -->
41
+ <!ELEMENT field-name (#PCDATA) >
42
+
43
+ <!-- The java identifier of a field. Must match the value of the
44
+ cmr-field-name sub-element of the cmr-field tat is being mapped.
45
+ -->
46
+ <!ELEMENT cmr-field-name (#PCDATA) >
47
+
48
+ <!-- The ejb-name from the standard EJB-jar DTD-->
49
+ <!ELEMENT ejb-name (#PCDATA) >
50
+
51
+ <!-- The COLUMN name of a column from the primary table, or the table
52
+ qualified name (TABLE.COLUMN) of a column from a secondary or related
53
+ table
54
+ -->
55
+ <!ELEMENT column-name (#PCDATA) >
56
+
57
+ <!-- Holds the fetch group configuration for fields and relationships -->
58
+ <!ELEMENT fetched-with (level | named-group | none) >
59
+
60
+ <!-- The name of an independent fetch group. All the fields and relationships
61
+ that are part of a named-group are fetched at the same time-->
62
+ <!ELEMENT named-group (#PCDATA) >
63
+
64
+ <!-- A hierarchial fetch group. The value of this element must be an integer.
65
+ Fields and relationships that belong to a hierachial fetch group of equal
66
+ (or lesser) value are fetched at the same time. The value of level must
67
+ be greater than zero.
68
+ -->
69
+ <!ELEMENT level (#PCDATA) >
70
+
71
+ <!-- The name of a database table -->
72
+ <!ELEMENT table-name (#PCDATA) >
73
+
74
+ <!-- a bean's secondary tables -->
75
+ <!ELEMENT secondary-table (table-name, column-pair+) >
76
+
77
+ <!-- the pair of columns -->
78
+ <!ELEMENT column-pair (column-name, column-name) >
79
+
80
+ <!-- cmr-field mapping. A cmr field has a name and one or more column
81
+ pairs that define the relationship. The relationship can also
82
+ participate in a fetch group.
83
+
84
+ If the fetched-with element is not present, the value,
85
+ <fetched-with><none/></fetched-with>
86
+ is assumed.
87
+ -->
88
+ <!ELEMENT cmr-field-mapping (cmr-field-name, column-pair+, fetched-with? ) >
89
+
90
+ <!-- The path name to the schema file-->
91
+ <!ELEMENT schema (#PCDATA) >
92
+
93
+ <!-- flag elements for consistency levels -->
94
+
95
+ <!-- note: none is also a sub-element of the fetched-with tag -->
96
+ <!ELEMENT none EMPTY >
97
+ <!ELEMENT check-modified-at-commit EMPTY >
98
+ <!ELEMENT check-all-at-commit EMPTY>
99
+ <!ELEMENT lock-when-modified EMPTY>
100
+ <!ELEMENT lock-when-loaded EMPTY >
@@ -0,0 +1,99 @@
1
+
2
+ <!-- This file maps at least one set of beans to tables and columns in a
3
+ specific db schema
4
+ -->
5
+ <!ELEMENT sun-cmp-mappings ( sun-cmp-mapping+ ) >
6
+
7
+ <!-- At least one bean is mapped to database columns in the named schema -->
8
+ <!ELEMENT sun-cmp-mapping ( schema, entity-mapping+) >
9
+
10
+ <!-- A cmp bean has a name, a primary table, one or more fields, zero or
11
+ more relationships, and zero or more secondary tables, plus flags for
12
+ consistency checking.
13
+
14
+ If the consistency checking flag element is not present, then none
15
+ is assumed
16
+ -->
17
+ <!ELEMENT entity-mapping (ejb-name, table-name, cmp-field-mapping+,
18
+ cmr-field-mapping*, secondary-table*, consistency?)>
19
+
20
+ <!ELEMENT consistency (none | check-modified-at-commit | lock-when-loaded |
21
+ check-all-at-commit | (lock-when-modified, check-all-at-commit?) ) >
22
+
23
+ <!ELEMENT read-only EMPTY>
24
+
25
+ <!-- A cmp-field-mapping has a field, one or more columns that it maps to.
26
+ The column can be from a bean's primary table or any defined secondary
27
+ table. If a field is mapped to multiple columns, the column listed first
28
+ is used as the SOURCE for getting the value from the database. The
29
+ columns are updated in their order. A field may also be marked as
30
+ read-only. It may also participate in a hierarchial or independent
31
+ fetch group. If the fetched-with element is not present, the field
32
+ is assumed to be a member of the default hierarchial fetch group.
33
+ -->
34
+ <!ELEMENT cmp-field-mapping (field-name, column-name+, read-only?,
35
+ fetched-with?) >
36
+
37
+ <!-- The java identifier of a field. Must match the value of the field-name
38
+ sub-element of the cmp-field that is being mapped.
39
+ -->
40
+ <!ELEMENT field-name (#PCDATA) >
41
+
42
+ <!-- The java identifier of a field. Must match the value of the
43
+ cmr-field-name sub-element of the cmr-field tat is being mapped.
44
+ -->
45
+ <!ELEMENT cmr-field-name (#PCDATA) >
46
+
47
+ <!-- The ejb-name from the standard EJB-jar DTD-->
48
+ <!ELEMENT ejb-name (#PCDATA) >
49
+
50
+ <!-- The COLUMN name of a column from the primary table, or the table
51
+ qualified name (TABLE.COLUMN) of a column from a secondary or related
52
+ table
53
+ -->
54
+ <!ELEMENT column-name (#PCDATA) >
55
+
56
+ <!-- Holds the fetch group configuration for fields and relationships -->
57
+ <!ELEMENT fetched-with (level | named-group | none) >
58
+
59
+ <!-- The name of an independent fetch group. All the fields and relationships
60
+ that are part of a named-group are fetched at the same time-->
61
+ <!ELEMENT named-group (#PCDATA) >
62
+
63
+ <!-- A hierarchial fetch group. The value of this element must be an integer.
64
+ Fields and relationships that belong to a hierachial fetch group of equal
65
+ (or lesser) value are fetched at the same time. The value of level must
66
+ be greater than zero.
67
+ -->
68
+ <!ELEMENT level (#PCDATA) >
69
+
70
+ <!-- The name of a database table -->
71
+ <!ELEMENT table-name (#PCDATA) >
72
+
73
+ <!-- a bean's secondary tables -->
74
+ <!ELEMENT secondary-table (table-name, column-pair+) >
75
+
76
+ <!-- the pair of columns -->
77
+ <!ELEMENT column-pair (column-name, column-name) >
78
+
79
+ <!-- cmr-field mapping. A cmr field has a name and one or more column
80
+ pairs that define the relationship. The relationship can also
81
+ participate in a fetch group.
82
+
83
+ If the fetched-with element is not present, the value,
84
+ <fetched-with><none/></fetched-with>
85
+ is assumed.
86
+ -->
87
+ <!ELEMENT cmr-field-mapping (cmr-field-name, column-pair+, fetched-with? ) >
88
+
89
+ <!-- The path name to the schema file-->
90
+ <!ELEMENT schema (#PCDATA) >
91
+
92
+ <!-- flag elements for consistency levels -->
93
+
94
+ <!-- note: none is also a sub-element of the fetched-with tag -->
95
+ <!ELEMENT none EMPTY >
96
+ <!ELEMENT check-modified-at-commit EMPTY >
97
+ <!ELEMENT check-all-at-commit EMPTY>
98
+ <!ELEMENT lock-when-modified EMPTY>
99
+ <!ELEMENT lock-when-loaded EMPTY >
@@ -0,0 +1,106 @@
1
+
2
+ <!-- This file maps at least one set of beans to tables and columns in a
3
+ specific db schema
4
+ -->
5
+ <!ELEMENT sun-cmp-mappings ( sun-cmp-mapping+ ) >
6
+
7
+ <!-- At least one bean is mapped to database columns in the named schema -->
8
+ <!ELEMENT sun-cmp-mapping ( schema, entity-mapping+) >
9
+
10
+ <!-- A cmp bean has a name, a primary table, one or more fields, zero or
11
+ more relationships, and zero or more secondary tables, plus flags for
12
+ consistency checking.
13
+
14
+ If the consistency checking flag element is not present, then none
15
+ is assumed
16
+ -->
17
+ <!ELEMENT entity-mapping (ejb-name, table-name, cmp-field-mapping+,
18
+ cmr-field-mapping*, secondary-table*, consistency?)>
19
+
20
+ <!ELEMENT consistency (none | check-modified-at-commit | lock-when-loaded |
21
+ check-all-at-commit | (lock-when-modified, check-all-at-commit?) |
22
+ check-version-of-accessed-instances) >
23
+
24
+ <!ELEMENT read-only EMPTY>
25
+
26
+ <!-- A cmp-field-mapping has a field, one or more columns that it maps to.
27
+ The column can be from a bean's primary table or any defined secondary
28
+ table. If a field is mapped to multiple columns, the column listed first
29
+ is used as the SOURCE for getting the value from the database. The
30
+ columns are updated in their order. A field may also be marked as
31
+ read-only. It may also participate in a hierarchial or independent
32
+ fetch group. If the fetched-with element is not present, the value,
33
+ <fetched-with><default/></fetched-with>
34
+ is assumed.
35
+ -->
36
+ <!ELEMENT cmp-field-mapping (field-name, column-name+, read-only?,
37
+ fetched-with?) >
38
+
39
+ <!-- The java identifier of a field. Must match the value of the field-name
40
+ sub-element of the cmp-field that is being mapped.
41
+ -->
42
+ <!ELEMENT field-name (#PCDATA) >
43
+
44
+ <!-- The java identifier of a field. Must match the value of the
45
+ cmr-field-name sub-element of the cmr-field tat is being mapped.
46
+ -->
47
+ <!ELEMENT cmr-field-name (#PCDATA) >
48
+
49
+ <!-- The ejb-name from the standard EJB-jar DTD-->
50
+ <!ELEMENT ejb-name (#PCDATA) >
51
+
52
+ <!-- The COLUMN name of a column from the primary table, or the table
53
+ qualified name (TABLE.COLUMN) of a column from a secondary or related
54
+ table
55
+ -->
56
+ <!ELEMENT column-name (#PCDATA) >
57
+
58
+ <!-- Holds the fetch group configuration for fields and relationships -->
59
+ <!ELEMENT fetched-with (default | level | named-group | none) >
60
+
61
+ <!-- Sub element of fetched-with. Implies that a field belongs to the default
62
+ hierarchical fetch group. -->
63
+ <!ELEMENT default EMPTY>
64
+
65
+ <!-- A hierarchial fetch group. The value of this element must be an integer.
66
+ Fields and relationships that belong to a hierachial fetch group of equal
67
+ (or lesser) value are fetched at the same time. The value of level must
68
+ be greater than zero.
69
+ -->
70
+ <!ELEMENT level (#PCDATA) >
71
+
72
+ <!-- The name of an independent fetch group. All the fields and relationships
73
+ that are part of a named-group are fetched at the same time-->
74
+ <!ELEMENT named-group (#PCDATA) >
75
+
76
+ <!-- The name of a database table -->
77
+ <!ELEMENT table-name (#PCDATA) >
78
+
79
+ <!-- a bean's secondary tables -->
80
+ <!ELEMENT secondary-table (table-name, column-pair+) >
81
+
82
+ <!-- the pair of columns -->
83
+ <!ELEMENT column-pair (column-name, column-name) >
84
+
85
+ <!-- cmr-field mapping. A cmr field has a name and one or more column
86
+ pairs that define the relationship. The relationship can also
87
+ participate in a fetch group.
88
+
89
+ If the fetched-with element is not present, the value,
90
+ <fetched-with><none/></fetched-with>
91
+ is assumed.
92
+ -->
93
+ <!ELEMENT cmr-field-mapping (cmr-field-name, column-pair+, fetched-with? ) >
94
+
95
+ <!-- The path name to the schema file-->
96
+ <!ELEMENT schema (#PCDATA) >
97
+
98
+ <!-- flag elements for consistency levels -->
99
+
100
+ <!-- note: none is also a sub-element of the fetched-with tag -->
101
+ <!ELEMENT none EMPTY >
102
+ <!ELEMENT check-modified-at-commit EMPTY >
103
+ <!ELEMENT check-all-at-commit EMPTY>
104
+ <!ELEMENT lock-when-modified EMPTY>
105
+ <!ELEMENT lock-when-loaded EMPTY >
106
+ <!ELEMENT check-version-of-accessed-instances (column-name+) >
@@ -0,0 +1,66 @@
1
+
2
+ <!-- The PUBLIC ID (defined in DOCTYPE) associated with this dtd is:
3
+ "-//Sun Microsystems, Inc.//DTD Sun ONE Application Server 7.0 Connector 1.0//EN";
4
+ -->
5
+
6
+ <!ENTITY % boolean "(yes | no | on | off | 1 | 0 | true | false)">
7
+
8
+ <!-- Each deployed Resource Adapter (RAR) Module, will have ias-ra.xml
9
+ associated with it, which specifies several dynamic configuration
10
+ properties. Key aspects are pool sizing and security role maps.
11
+ -->
12
+ <!ELEMENT sun-connector (resource-adapter, role-map?)>
13
+
14
+ <!-- Resource adapter configuration
15
+
16
+ jndi-name name by which, this adapter will appear in JNDI tree
17
+ max-pool-size maximum size of connection to EIS
18
+ steady-pool-size initial and minimum number of connections to be maintained
19
+ max-wait-in-millis if a connection is not readily found, caller will have to
20
+ wait this long, before a connection is created. A value of
21
+ 0 implies, wait till a connection becomes available. If the
22
+ pool is completely utilized and the timer expires, an
23
+ exception will be delivered to the application.
24
+
25
+ idle-timeout-in-seconds A timer thread periodically removed unused connections.
26
+ The interval at which this thread runs. All idle
27
+ connections will be removed, while mainataining
28
+ the configured steady-pool-size.
29
+ -->
30
+ <!ELEMENT resource-adapter (description?, property*)>
31
+ <!ATTLIST resource-adapter jndi-name CDATA #REQUIRED
32
+ max-pool-size CDATA "32"
33
+ steady-pool-size CDATA "4"
34
+ max-wait-time-in-millis CDATA "10000"
35
+ idle-timeout-in-seconds CDATA "1000">
36
+
37
+ <!-- Perform mapping from principal received during Servlet/EJB
38
+ authentication, to credentials accepted by the EIS. This
39
+ mapping is optional. The map consists of several 2-tuples
40
+ map-id is the name of the mapping
41
+ -->
42
+ <!ELEMENT role-map (description?, map-element*)>
43
+ <!ATTLIST role-map map-id CDATA #REQUIRED>
44
+
45
+
46
+ <!-- It is possible to map multiple (server) principal to the
47
+ same backend principal.
48
+ -->
49
+ <!ELEMENT map-element (principal+, backend-principal)>
50
+
51
+ <!-- Principal of the Servlet and EJB client -->
52
+ <!ELEMENT principal (description?)>
53
+ <!ATTLIST principal user-name CDATA #REQUIRED>
54
+
55
+ <!-- Backend EIS principal -->
56
+ <!ELEMENT backend-principal EMPTY>
57
+ <!ATTLIST backend-principal user-name CDATA #REQUIRED
58
+ password CDATA #REQUIRED
59
+ credential CDATA #REQUIRED>
60
+
61
+ <!ELEMENT description (#PCDATA)>
62
+
63
+ <!-- Syntax for supplying properties as name value pairs -->
64
+ <!ELEMENT property EMPTY>
65
+ <!ATTLIST property name CDATA #REQUIRED
66
+ value CDATA #REQUIRED>