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.
- data/COPYRIGHT +33 -0
- data/LICENSE.txt +263 -0
- data/README +12 -0
- data/bin/asadmin +7 -0
- data/bin/asadmin.bat +8 -0
- data/bin/glassfish_rails +40 -0
- data/config/asadminenv.conf +6 -0
- data/config/asenv.bat +28 -0
- data/config/asenv.conf +27 -0
- data/config/glassfish.container +4 -0
- data/domains/domain1/config/admin-keyfile +3 -0
- data/domains/domain1/config/cacerts.jks +0 -0
- data/domains/domain1/config/default-web.xml +906 -0
- data/domains/domain1/config/domain-passwords +0 -0
- data/domains/domain1/config/domain.xml +208 -0
- data/domains/domain1/config/keyfile +6 -0
- data/domains/domain1/config/keystore.jks +0 -0
- data/domains/domain1/config/logging.properties +82 -0
- data/domains/domain1/config/login.conf +18 -0
- data/domains/domain1/config/server.policy +160 -0
- data/domains/domain1/config/sun-acc.xml +40 -0
- data/domains/domain1/config/wss-server-config-1.0.xml +86 -0
- data/domains/domain1/config/wss-server-config-2.0.xml +94 -0
- data/domains/domain1/docroot/favicon.gif +0 -0
- data/domains/domain1/docroot/index.html +87 -0
- data/domains/domain1/master-password +0 -0
- data/lib/appclient/appclientlogin.conf +10 -0
- data/lib/appclient/client.policy +79 -0
- data/lib/appclient/wss-client-config-1.0.xml +84 -0
- data/lib/appclient/wss-client-config-2.0.xml +96 -0
- data/lib/dtds/application-client_1_2.dtd +292 -0
- data/lib/dtds/application-client_1_3.dtd +506 -0
- data/lib/dtds/application_1_2.dtd +197 -0
- data/lib/dtds/application_1_3.dtd +312 -0
- data/lib/dtds/connector_1_0.dtd +561 -0
- data/lib/dtds/ejb-jar_1_1.dtd +894 -0
- data/lib/dtds/ejb-jar_2_0.dtd +1671 -0
- data/lib/dtds/sun-application-client-container_1_0.dtd +123 -0
- data/lib/dtds/sun-application-client-container_1_1.dtd +264 -0
- data/lib/dtds/sun-application-client-container_1_2.dtd +267 -0
- data/lib/dtds/sun-application-client_1_3-0.dtd +57 -0
- data/lib/dtds/sun-application-client_1_4-0.dtd +182 -0
- data/lib/dtds/sun-application-client_1_4-1.dtd +431 -0
- data/lib/dtds/sun-application-client_5_0-0.dtd +495 -0
- data/lib/dtds/sun-application_1_3-0.dtd +30 -0
- data/lib/dtds/sun-application_1_4-0.dtd +44 -0
- data/lib/dtds/sun-application_5_0-0.dtd +51 -0
- data/lib/dtds/sun-cmp-mapping_1_0.dtd +100 -0
- data/lib/dtds/sun-cmp-mapping_1_1.dtd +99 -0
- data/lib/dtds/sun-cmp-mapping_1_2.dtd +106 -0
- data/lib/dtds/sun-connector_1_0-0.dtd +66 -0
- data/lib/dtds/sun-connector_1_5-0.dtd +62 -0
- data/lib/dtds/sun-domain_1_0.dtd +2007 -0
- data/lib/dtds/sun-domain_1_1.dtd +3080 -0
- data/lib/dtds/sun-domain_1_2.dtd +3697 -0
- data/lib/dtds/sun-domain_1_3.dtd +3867 -0
- data/lib/dtds/sun-ejb-jar_2_0-0.dtd +449 -0
- data/lib/dtds/sun-ejb-jar_2_0-1.dtd +454 -0
- data/lib/dtds/sun-ejb-jar_2_1-0.dtd +756 -0
- data/lib/dtds/sun-ejb-jar_2_1-1.dtd +1085 -0
- data/lib/dtds/sun-ejb-jar_3_0-0.dtd +1113 -0
- data/lib/dtds/sun-loadbalancer_1_0.dtd +156 -0
- data/lib/dtds/sun-loadbalancer_1_1.dtd +172 -0
- data/lib/dtds/sun-resources_1_0.dtd +650 -0
- data/lib/dtds/sun-resources_1_1.dtd +650 -0
- data/lib/dtds/sun-resources_1_2.dtd +662 -0
- data/lib/dtds/sun-resources_1_3.dtd +732 -0
- data/lib/dtds/sun-server_1_0.dtd +1056 -0
- data/lib/dtds/sun-web-app_2_3-0.dtd +230 -0
- data/lib/dtds/sun-web-app_2_3-1.dtd +230 -0
- data/lib/dtds/sun-web-app_2_4-0.dtd +466 -0
- data/lib/dtds/sun-web-app_2_4-1.dtd +742 -0
- data/lib/dtds/sun-web-app_2_5-0.dtd +789 -0
- data/lib/dtds/web-app_2_2.dtd +639 -0
- data/lib/dtds/web-app_2_3.dtd +1063 -0
- data/lib/dtds/web-jsptaglibrary_1_1.dtd +265 -0
- data/lib/dtds/web-jsptaglibrary_1_2.dtd +468 -0
- data/lib/package-appclient.xml +185 -0
- data/lib/processLauncher.properties +25 -0
- data/lib/processLauncher.xml +189 -0
- data/lib/schemas/XMLSchema.dtd +402 -0
- data/lib/schemas/application-client_1_4.xsd +267 -0
- data/lib/schemas/application-client_5.xsd +304 -0
- data/lib/schemas/application_1_4.xsd +315 -0
- data/lib/schemas/application_5.xsd +336 -0
- data/lib/schemas/connector_1_5.xsd +1036 -0
- data/lib/schemas/datatypes.dtd +203 -0
- data/lib/schemas/ejb-jar_2_1.xsd +2208 -0
- data/lib/schemas/ejb-jar_3_0.xsd +2706 -0
- data/lib/schemas/j2ee_1_4.xsd +1608 -0
- data/lib/schemas/j2ee_jaxrpc_mapping_1_1.xsd +886 -0
- data/lib/schemas/j2ee_web_services_1_1.xsd +491 -0
- data/lib/schemas/j2ee_web_services_client_1_1.xsd +345 -0
- data/lib/schemas/javaee_5.xsd +2096 -0
- data/lib/schemas/javaee_web_services_1_2.xsd +747 -0
- data/lib/schemas/javaee_web_services_client_1_2.xsd +578 -0
- data/lib/schemas/jax-rpc-ri-config.xsd +416 -0
- data/lib/schemas/jsp_2_0.xsd +308 -0
- data/lib/schemas/jsp_2_1.xsd +343 -0
- data/lib/schemas/orm_1_0.xsd +1516 -0
- data/lib/schemas/persistence_1_0.xsd +260 -0
- data/lib/schemas/web-app_2_4.xsd +1234 -0
- data/lib/schemas/web-app_2_5.xsd +1271 -0
- data/lib/schemas/web-jsptaglibrary_2_0.xsd +1010 -0
- data/lib/schemas/web-jsptaglibrary_2_1.xsd +1144 -0
- data/lib/schemas/xml.xsd +82 -0
- data/modules/admin-cli-10.0-SNAPSHOT.jar +0 -0
- data/modules/auto-depends-0.2-SNAPSHOT.jar +0 -0
- data/modules/cli-framework-10.0-SNAPSHOT.jar +0 -0
- data/modules/common-ee-util-10.0-SNAPSHOT.jar +0 -0
- data/modules/common-util-10.0-SNAPSHOT.jar +0 -0
- data/modules/config-0.2-SNAPSHOT.jar +0 -0
- data/modules/config-api-10.0-SNAPSHOT.jar +0 -0
- data/modules/gf-jruby-connector-10.0-SNAPSHOT.jar +0 -0
- data/modules/glassfish-10.0-SNAPSHOT.jar +0 -0
- data/modules/glassfish-api-10.0-SNAPSHOT.jar +0 -0
- data/modules/glassfish.rb +10 -0
- data/modules/grizzly-framework-1.7.1.jar +0 -0
- data/modules/grizzly-http-1.7.1.jar +0 -0
- data/modules/grizzly-http-utils-1.7.1.jar +0 -0
- data/modules/grizzly-jruby-1.7.0.jar +0 -0
- data/modules/grizzly-jruby-module-1.7.0.jar +0 -0
- data/modules/grizzly-module-1.7.1.jar +0 -0
- data/modules/grizzly-portunif-1.7.1.jar +0 -0
- data/modules/grizzly-rcm-1.7.1.jar +0 -0
- data/modules/hk2-0.2-SNAPSHOT.jar +0 -0
- data/modules/hk2-core-0.2-SNAPSHOT.jar +0 -0
- data/modules/junit-4.3.1.jar +0 -0
- data/modules/kernel-10.0-SNAPSHOT.jar +0 -0
- data/modules/persistence-api-1.0b.jar +0 -0
- data/modules/servlet-api-2.5.jar +0 -0
- data/modules/sjsxp-1.0.jar +0 -0
- data/modules/stax-api-1.0-2.jar +0 -0
- data/modules/tiger-types-1.0.jar +0 -0
- metadata +206 -0
@@ -0,0 +1,96 @@
|
|
1
|
+
<!--
|
2
|
+
Copyright 2004 Sun Microsystems, Inc. All rights reserved.
|
3
|
+
SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
4
|
+
-->
|
5
|
+
<!--
|
6
|
+
This client side config file pairs with wss-server-config-2.0.xml on the server
|
7
|
+
and supports the following UseCases:
|
8
|
+
Usecase 2: Encrypted UsernameToken
|
9
|
+
Usecase 3: Encrypted UsernameToken and MessageBody
|
10
|
+
Usecase 4: Response Encryption Key Learnt from Incoming Message
|
11
|
+
|
12
|
+
Certificate Alias Information :
|
13
|
+
1. A certificateAlias under the <xwss:Encrypt> element signifies the certificate
|
14
|
+
of the recipient of the message.
|
15
|
+
2. A certificateAlias under the <xwss:Sign> element signifies the certificate of the
|
16
|
+
sender.
|
17
|
+
|
18
|
+
NOTE:
|
19
|
+
|
20
|
+
1. the certificateAlias has the above meaning for all the Sign and Encrypt elements below
|
21
|
+
2. there are several Sign and Encrypt elements below and similarly several RequireSignature and
|
22
|
+
RequireEncryption elements. Which of them would be actually used at runtime will depend on
|
23
|
+
the AuthPolicy passed to the module.
|
24
|
+
|
25
|
+
For Example : if Auth-Source=Sender then only the <xwss:UsernameToken> elements will be used
|
26
|
+
and none of the <xwss:Sign> elements will be used.
|
27
|
+
If Auth-Source=Content then the <xwss:Sign> element will be used
|
28
|
+
|
29
|
+
3. The different variations of <xwss:Encrypt> elements in this configuration file are to accomodate
|
30
|
+
default encryption of the UsernameToken.
|
31
|
+
|
32
|
+
4. The actual certificate alias to be used for any Signature operation can be modified during AuthModule
|
33
|
+
initialization by setting the alias as the value of "signature.key.alias" property in the Module Options Map.
|
34
|
+
5. The actual certificate alias to be used for any Encrypt operation can be modified during AuthModule
|
35
|
+
initialization by setting the alias as the value of "encryption.key.alias" property in the Module Options Map.
|
36
|
+
|
37
|
+
6. Debug Dumping of Messages can be enabled by setting the "debug" property in the Module Options Map to "true" during
|
38
|
+
AuthModule initialization.
|
39
|
+
7. The Actual configuration file to be used by an Authmodule can be changed by setting the property "security.config" in
|
40
|
+
the Module Options Map to point to the configuration file location.
|
41
|
+
8. When the "security.config" property is not set during module initialization then a client auth module will use wss-client-config-2.0.xml
|
42
|
+
by default.
|
43
|
+
9. When the "security.config" property is not set during module initialization then a server auth module will use wss-server-config-2.0.xml
|
44
|
+
by default.
|
45
|
+
10. The property "dynamic.username.password" when set during module initialization to "true" will signal the provider runtime to collect the username and password from the CallbackHandler for each request. When this property is set to "false" or if the property is not set then the username and password for wsse:UsernameToken(s) is collected once during Module Initialization.
|
46
|
+
|
47
|
+
-->
|
48
|
+
|
49
|
+
<xwss:SecurityConfiguration xmlns:xwss="http://java.sun.com/xml/ns/xwss/config"
|
50
|
+
dumpMessages="false">
|
51
|
+
<xwss:Timestamp/>
|
52
|
+
<xwss:Encrypt>
|
53
|
+
<xwss:X509Token certificateAlias="s1as"/>
|
54
|
+
<xwss:KeyEncryptionMethod algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"/>
|
55
|
+
</xwss:Encrypt>
|
56
|
+
<xwss:Encrypt>
|
57
|
+
<xwss:X509Token certificateAlias="s1as"/>
|
58
|
+
<xwss:KeyEncryptionMethod algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"/>
|
59
|
+
<xwss:Target type="qname">{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}UsernameToken</xwss:Target>
|
60
|
+
</xwss:Encrypt>
|
61
|
+
<xwss:Encrypt>
|
62
|
+
<xwss:X509Token certificateAlias="s1as"/>
|
63
|
+
<xwss:KeyEncryptionMethod algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"/>
|
64
|
+
<xwss:Target type="qname">{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}UsernameToken</xwss:Target>
|
65
|
+
<xwss:Target type="qname">SOAP-BODY</xwss:Target>
|
66
|
+
</xwss:Encrypt>
|
67
|
+
<xwss:Encrypt>
|
68
|
+
<xwss:X509Token certificateAlias="s1as"/>
|
69
|
+
<xwss:KeyEncryptionMethod algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"/>
|
70
|
+
<xwss:Target type="qname">SOAP-BODY</xwss:Target>
|
71
|
+
<xwss:Target type="qname">{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}UsernameToken</xwss:Target>
|
72
|
+
</xwss:Encrypt>
|
73
|
+
<xwss:Sign>
|
74
|
+
<xwss:X509Token certificateAlias="s1as"/>
|
75
|
+
</xwss:Sign>
|
76
|
+
<xwss:UsernameToken digestPassword="false" useNonce="true"/>
|
77
|
+
|
78
|
+
<xwss:RequireUsernameToken nonceRequired="true" passwordDigestRequired="false"/>
|
79
|
+
<xwss:RequireSignature>
|
80
|
+
<xwss:Target type="qname">SOAP-BODY</xwss:Target>
|
81
|
+
</xwss:RequireSignature>
|
82
|
+
<xwss:RequireEncryption>
|
83
|
+
<xwss:Target type="qname">SOAP-BODY</xwss:Target>
|
84
|
+
</xwss:RequireEncryption>
|
85
|
+
<xwss:RequireEncryption>
|
86
|
+
<xwss:Target type="qname">{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}UsernameToken</xwss:Target>
|
87
|
+
</xwss:RequireEncryption>
|
88
|
+
<xwss:RequireEncryption>
|
89
|
+
<xwss:Target type="qname">{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}UsernameToken</xwss:Target>
|
90
|
+
<xwss:Target type="qname">SOAP-BODY</xwss:Target>
|
91
|
+
</xwss:RequireEncryption>
|
92
|
+
<xwss:RequireEncryption>
|
93
|
+
<xwss:Target type="qname">SOAP-BODY</xwss:Target>
|
94
|
+
<xwss:Target type="qname">{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}UsernameToken</xwss:Target>
|
95
|
+
</xwss:RequireEncryption>
|
96
|
+
</xwss:SecurityConfiguration>
|
@@ -0,0 +1,292 @@
|
|
1
|
+
<!--
|
2
|
+
Copyright 1999 Sun Microsystems, Inc. 901 San Antonio Road,
|
3
|
+
Palo Alto, CA 94303, U.S.A. All rights reserved.
|
4
|
+
|
5
|
+
This product or document is protected by copyright and distributed
|
6
|
+
under licenses restricting its use, copying, distribution, and
|
7
|
+
decompilation. No part of this product or documentation may be
|
8
|
+
reproduced in any form by any means without prior written authorization
|
9
|
+
of Sun and its licensors, if any.
|
10
|
+
|
11
|
+
Third party software, including font technology, is copyrighted and
|
12
|
+
licensed from Sun suppliers.
|
13
|
+
|
14
|
+
Sun, Sun Microsystems, the Sun Logo, Solaris, Java, JavaServer Pages, Java
|
15
|
+
Naming and Directory Interface, JDBC, JDK, JavaMail and Enterprise JavaBeans,
|
16
|
+
are trademarks or registered trademarks of Sun Microsystems, Inc in the U.S.
|
17
|
+
and other countries.
|
18
|
+
|
19
|
+
All SPARC trademarks are used under license and are trademarks
|
20
|
+
or registered trademarks of SPARC International, Inc.
|
21
|
+
in the U.S. and other countries. Products bearing SPARC
|
22
|
+
trademarks are based upon an architecture developed by Sun Microsystems, Inc.
|
23
|
+
|
24
|
+
PostScript is a registered trademark of Adobe Systems, Inc.
|
25
|
+
|
26
|
+
|
27
|
+
Federal Acquisitions: Commercial Software - Government Users Subject to
|
28
|
+
Standard License Terms and Conditions.
|
29
|
+
|
30
|
+
|
31
|
+
|
32
|
+
DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED
|
33
|
+
CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY
|
34
|
+
IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
35
|
+
PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT
|
36
|
+
TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY
|
37
|
+
INVALID.
|
38
|
+
|
39
|
+
_________________________________________________________________________
|
40
|
+
Copyright 1999 Sun Microsystems, Inc.,
|
41
|
+
901 San Antonio Road, Palo Alto, CA 94303, Etats-Unis.
|
42
|
+
Tous droits re'serve's.
|
43
|
+
|
44
|
+
|
45
|
+
Ce produit ou document est prote'ge' par un copyright et distribue' avec
|
46
|
+
des licences qui en restreignent l'utilisation, la copie, la distribution,
|
47
|
+
et la de'compilation. Aucune partie de ce produit ou de sa documentation
|
48
|
+
associe'e ne peut e^tre reproduite sous aucune forme, par quelque moyen
|
49
|
+
que ce soit, sans l'autorisation pre'alable et e'crite de Sun et de ses
|
50
|
+
bailleurs de licence, s'il y en a.
|
51
|
+
|
52
|
+
Le logiciel de'tenu par des tiers, et qui comprend la technologie
|
53
|
+
relative aux polices de caracte`res, est prote'ge' par un copyright
|
54
|
+
et licencie' par des fournisseurs de Sun.
|
55
|
+
|
56
|
+
Sun, Sun Microsystems, le logo Sun, Solaris, Java, JavaServer Pages, Java
|
57
|
+
Naming and Directory Interface, JDBC, JDK, JavaMail, et Enterprise JavaBeans,
|
58
|
+
sont des marques de fabrique ou des marques de'pose'es de Sun
|
59
|
+
Microsystems, Inc. aux Etats-Unis et dans d'autres pays.
|
60
|
+
|
61
|
+
Toutes les marques SPARC sont utilise'es sous licence et sont
|
62
|
+
des marques de fabrique ou des marques de'pose'es de SPARC
|
63
|
+
International, Inc. aux Etats-Unis et dans
|
64
|
+
d'autres pays. Les produits portant les marques SPARC sont
|
65
|
+
base's sur une architecture de'veloppe'e par Sun Microsystems, Inc.
|
66
|
+
|
67
|
+
Postcript est une marque enregistre'e d'Adobe Systems Inc.
|
68
|
+
|
69
|
+
LA DOCUMENTATION EST FOURNIE "EN L'ETAT" ET TOUTES AUTRES CONDITIONS,
|
70
|
+
DECLARATIONS ET GARANTIES EXPRESSES OU TACITES SONT FORMELLEMENT EXCLUES,
|
71
|
+
DANS LA MESURE AUTORISEE PAR LA LOI APPLICABLE, Y COMPRIS NOTAMMENT
|
72
|
+
TOUTE GARANTIE IMPLICITE RELATIVE A LA QUALITE MARCHANDE, A L'APTITUDE
|
73
|
+
A UNE UTILISATION PARTICULIERE OU A L'ABSENCE DE CONTREFACON.
|
74
|
+
-->
|
75
|
+
|
76
|
+
<!--
|
77
|
+
The application-client element is the root element of an application client
|
78
|
+
deployment descriptor.
|
79
|
+
The application client deployment descriptor describes the EJB components and
|
80
|
+
external resources referenced by the application client.
|
81
|
+
-->
|
82
|
+
<!ELEMENT application-client (icon?, display-name, description?, env-entry*,
|
83
|
+
ejb-ref*, resource-ref*)>
|
84
|
+
|
85
|
+
<!--
|
86
|
+
The description element is used to provide text describing the parent element.
|
87
|
+
The description element should include any information that the
|
88
|
+
application-client file producer wants to provide to the consumer of the
|
89
|
+
application-client file (i.e., to the Deployer). Typically, the tools used by
|
90
|
+
the application-client file consumer will display the description when
|
91
|
+
processing the parent element that contains the description.
|
92
|
+
-->
|
93
|
+
<!ELEMENT description (#PCDATA)>
|
94
|
+
|
95
|
+
<!--
|
96
|
+
The display-name element contains a short name that is intended to be displayed
|
97
|
+
by tools.
|
98
|
+
-->
|
99
|
+
<!ELEMENT display-name (#PCDATA)>
|
100
|
+
|
101
|
+
<!--
|
102
|
+
The ejb-link element is used in the ejb-ref element to specify that an EJB
|
103
|
+
reference is linked to an enterprise bean in the encompassing J2EE Application
|
104
|
+
package. The value of the ejb-link element must be the ejb-name of an enterprise
|
105
|
+
bean in the same J2EE Application package. Used in: ejb-ref
|
106
|
+
Example: <ejb-link>EmployeeRecord</ejb-link>
|
107
|
+
-->
|
108
|
+
<!ELEMENT ejb-link (#PCDATA)>
|
109
|
+
|
110
|
+
<!--
|
111
|
+
The ejb-ref element is used for the declaration of a reference to an enterprise
|
112
|
+
bean's home. The declaration consists of an optional description; the EJB
|
113
|
+
reference name used in the code of the referencing application client; the
|
114
|
+
expected type of the referenced enterprise bean; the expected home and remote
|
115
|
+
interfaces of the referenced enterprise bean; and an optional ejb-link
|
116
|
+
information. The optional ejb-link element is used to specify the referenced
|
117
|
+
enterprise bean.
|
118
|
+
-->
|
119
|
+
<!ELEMENT ejb-ref (description?, ejb-ref-name, ejb-ref-type, home, remote,
|
120
|
+
ejb-link?)>
|
121
|
+
|
122
|
+
<!--
|
123
|
+
The ejb-ref-name element contains the name of an EJB reference. The EJB
|
124
|
+
reference is an entry in the application client's environment. It is recommended
|
125
|
+
that name is prefixed with "ejb/". Used in: ejb-ref
|
126
|
+
Example: <ejb-ref-name>ejb/Payroll</ejb-ref-name>
|
127
|
+
-->
|
128
|
+
<!ELEMENT ejb-ref-name (#PCDATA)>
|
129
|
+
|
130
|
+
<!--
|
131
|
+
The ejb-ref-type element contains the expected type of the referenced enterprise
|
132
|
+
bean. The ejb-ref-type element must be one of the following:
|
133
|
+
<ejb-ref-type>Entity</ejb-ref-type>
|
134
|
+
<ejb-ref-type>Session</ejb-ref-type>
|
135
|
+
Used in: ejb-ref
|
136
|
+
-->
|
137
|
+
<!ELEMENT ejb-ref-type (#PCDATA)>
|
138
|
+
|
139
|
+
<!--
|
140
|
+
The env-entry element contains the declaration of an application client's
|
141
|
+
environment entries. The declaration consists of an optional description, the
|
142
|
+
name of the environment entry, and an optional value.
|
143
|
+
-->
|
144
|
+
<!ELEMENT env-entry (description?, env-entry-name, env-entry-type,
|
145
|
+
env-entry-value?)>
|
146
|
+
|
147
|
+
<!--
|
148
|
+
The env-entry-name element contains the name of an application client's
|
149
|
+
environment entry. Used in: env-entry
|
150
|
+
Example: <env-entry-name>EmployeeAppDB</env-entry-name>
|
151
|
+
-->
|
152
|
+
<!ELEMENT env-entry-name (#PCDATA)>
|
153
|
+
|
154
|
+
<!--
|
155
|
+
The env-entry-type element contains the fully-qualified Java type of the
|
156
|
+
environment entry value that is expected by the application client's code. The
|
157
|
+
following are the legal values of env-entry-type: java.lang.Boolean,
|
158
|
+
java.lang.String, java.lang.Integer, java.lang.Double, java.lang.Byte,
|
159
|
+
java.lang.Short, java.lang.Long, and java.lang.Float.
|
160
|
+
|
161
|
+
Used in: env-entry
|
162
|
+
|
163
|
+
Example:
|
164
|
+
<env-entry-type>java.lang.Boolean</env-entry-type>
|
165
|
+
-->
|
166
|
+
<!ELEMENT env-entry-type (#PCDATA)>
|
167
|
+
|
168
|
+
<!--
|
169
|
+
The env-entry-value element contains the value of an application client's
|
170
|
+
environment entry. The value must be a String that is valid for the constructor
|
171
|
+
of the specified type that takes a single String parameter.
|
172
|
+
|
173
|
+
Used in: env-entry
|
174
|
+
|
175
|
+
Example:
|
176
|
+
<env-entry-value>/datasources/MyDatabase</env-entry-value>
|
177
|
+
-->
|
178
|
+
<!ELEMENT env-entry-value (#PCDATA)>
|
179
|
+
|
180
|
+
<!--
|
181
|
+
The home element contains the fully-qualified name of the enterprise bean's home
|
182
|
+
interface.
|
183
|
+
Used in: ejb-ref
|
184
|
+
Example: <home>com.aardvark.payroll.PayrollHome</home>
|
185
|
+
-->
|
186
|
+
<!ELEMENT home (#PCDATA)>
|
187
|
+
|
188
|
+
<!--
|
189
|
+
The icon element contains a small-icon and large-icon element which specify the
|
190
|
+
URIs for a small and a large GIF or JPEG icon image used to represent the
|
191
|
+
application client in a GUI tool.
|
192
|
+
-->
|
193
|
+
<!ELEMENT icon (small-icon?, large-icon?)>
|
194
|
+
|
195
|
+
<!--
|
196
|
+
The large-icon element contains the name of a file containing a large (32 x 32)
|
197
|
+
icon image. The file name is a relative path within the application-client jar
|
198
|
+
file. The image must be either in the JPEG or GIF format, and the file name must
|
199
|
+
end with the suffix ".jpg" or ".gif" respectively. The icon can be used by
|
200
|
+
tools.
|
201
|
+
Example:
|
202
|
+
<large-icon>lib/images/employee-service-icon32x32.jpg</large-icon>
|
203
|
+
-->
|
204
|
+
<!ELEMENT large-icon (#PCDATA)>
|
205
|
+
|
206
|
+
<!--
|
207
|
+
The remote element contains the fully-qualified name of the enterprise bean's
|
208
|
+
remote interface.
|
209
|
+
Used in: ejb-ref
|
210
|
+
Example:
|
211
|
+
<remote>com.wombat.empl.EmployeeService</remote>
|
212
|
+
-->
|
213
|
+
<!ELEMENT remote (#PCDATA)>
|
214
|
+
|
215
|
+
<!--
|
216
|
+
The res-auth element specifies whether the enterprise bean code signs on
|
217
|
+
programmatically to the resource manager, or whether the Container will sign on
|
218
|
+
to the resource manager on behalf of the bean. In the latter case, the Container
|
219
|
+
uses information that is supplied by the Deployer.
|
220
|
+
The value of this element must be one of the two following:
|
221
|
+
<res-auth>Application</res-auth>
|
222
|
+
<res-auth>Container</res-auth>
|
223
|
+
-->
|
224
|
+
<!ELEMENT res-auth (#PCDATA)>
|
225
|
+
|
226
|
+
<!--
|
227
|
+
The res-ref-name element specifies the name of the resource factory reference
|
228
|
+
name. The resource factory reference name is the name of the application
|
229
|
+
client's environment entry whose value contains the JNDI name of the data
|
230
|
+
source.
|
231
|
+
Used in: resource-ref
|
232
|
+
-->
|
233
|
+
<!ELEMENT res-ref-name (#PCDATA)>
|
234
|
+
|
235
|
+
<!--
|
236
|
+
The res-type element specifies the type of the data source. The type is
|
237
|
+
specified by the Java interface (or class) expected to be implemented by the
|
238
|
+
data source.
|
239
|
+
Used in: resource-ref
|
240
|
+
-->
|
241
|
+
<!ELEMENT res-type (#PCDATA)>
|
242
|
+
|
243
|
+
<!--
|
244
|
+
The resource-ref element contains a declaration of application clients's
|
245
|
+
reference to an external resource. It consists of an optional description, the
|
246
|
+
resource factory reference name, the indication of the resource factory type
|
247
|
+
expected by the application client's code, and the type of authentication (bean
|
248
|
+
or container).
|
249
|
+
|
250
|
+
Example:
|
251
|
+
<resource-ref>
|
252
|
+
<res-ref-name>EmployeeAppDB</res-ref-name>
|
253
|
+
<res-type>javax.sql.DataSource</res-type>
|
254
|
+
<res-auth>Container</res-auth>
|
255
|
+
</resource-ref>
|
256
|
+
-->
|
257
|
+
<!ELEMENT resource-ref (description?, res-ref-name, res-type, res-auth)>
|
258
|
+
<!--
|
259
|
+
The small-icon element contains the name of a file containing a small (16 x 16)
|
260
|
+
icon image. The file name is a relative path within the application-client jar
|
261
|
+
file. The image must be either in the JPEG or GIF format, and the file name must
|
262
|
+
end with the suffix ".jpg" or ".gif" respectively. The icon can be used by
|
263
|
+
tools.
|
264
|
+
Example:
|
265
|
+
<small-icon>lib/images/employee-service-icon16x16.jpg</small-icon>
|
266
|
+
-->
|
267
|
+
<!ELEMENT small-icon (#PCDATA)>
|
268
|
+
|
269
|
+
<!--
|
270
|
+
The ID mechanism is to allow tools to easily make tool-specific references to
|
271
|
+
the elements of the deployment descriptor.
|
272
|
+
-->
|
273
|
+
<!ATTLIST application-client id ID #IMPLIED>
|
274
|
+
<!ATTLIST description id ID #IMPLIED>
|
275
|
+
<!ATTLIST display-name id ID #IMPLIED>
|
276
|
+
<!ATTLIST ejb-link id ID #IMPLIED>
|
277
|
+
<!ATTLIST ejb-ref id ID #IMPLIED>
|
278
|
+
<!ATTLIST ejb-ref-name id ID #IMPLIED>
|
279
|
+
<!ATTLIST ejb-ref-type id ID #IMPLIED>
|
280
|
+
<!ATTLIST env-entry id ID #IMPLIED>
|
281
|
+
<!ATTLIST env-entry-name id ID #IMPLIED>
|
282
|
+
<!ATTLIST env-entry-type id ID #IMPLIED>
|
283
|
+
<!ATTLIST env-entry-value id ID #IMPLIED>
|
284
|
+
<!ATTLIST home id ID #IMPLIED>
|
285
|
+
<!ATTLIST icon id ID #IMPLIED>
|
286
|
+
<!ATTLIST large-icon id ID #IMPLIED>
|
287
|
+
<!ATTLIST remote id ID #IMPLIED>
|
288
|
+
<!ATTLIST res-auth id ID #IMPLIED>
|
289
|
+
<!ATTLIST res-ref-name id ID #IMPLIED>
|
290
|
+
<!ATTLIST res-type id ID #IMPLIED>
|
291
|
+
<!ATTLIST resource-ref id ID #IMPLIED>
|
292
|
+
<!ATTLIST small-icon id ID #IMPLIED>
|
@@ -0,0 +1,506 @@
|
|
1
|
+
<!--
|
2
|
+
Copyright (c) 2000 Sun Microsystems, Inc.,
|
3
|
+
901 San Antonio Road,
|
4
|
+
Palo Alto, California 94303, U.S.A.
|
5
|
+
All rights reserved.
|
6
|
+
|
7
|
+
Sun Microsystems, Inc. has intellectual property rights relating to
|
8
|
+
technology embodied in the product that is described in this document.
|
9
|
+
In particular, and without limitation, these intellectual property
|
10
|
+
rights may include one or more of the U.S. patents listed at
|
11
|
+
http://www.sun.com/patents and one or more additional patents or
|
12
|
+
pending patent applications in the U.S. and in other countries.
|
13
|
+
|
14
|
+
This document and the product to which it pertains are distributed
|
15
|
+
under licenses restricting their use, copying, distribution, and
|
16
|
+
decompilation. This document may be reproduced and distributed but may
|
17
|
+
not be changed without prior written authorization of Sun and its
|
18
|
+
licensors, if any.
|
19
|
+
|
20
|
+
Third-party software, including font technology, is copyrighted and
|
21
|
+
licensed from Sun suppliers.
|
22
|
+
|
23
|
+
Sun, Sun Microsystems, the Sun logo, Java, JavaServer Pages, Java
|
24
|
+
Naming and Directory Interface, JDBC, JDK, JavaMail and and
|
25
|
+
Enterprise JavaBeans are trademarks or registered trademarks of Sun
|
26
|
+
Microsystems, Inc. in the U.S. and other countries.
|
27
|
+
|
28
|
+
Federal Acquisitions: Commercial Software - Government Users Subject to
|
29
|
+
Standard License Terms and Conditions.
|
30
|
+
|
31
|
+
DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED
|
32
|
+
CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED
|
33
|
+
WARRANTY OF MERCHANTABILITY, FITNESS FOR FOR A PARTICULAR PURPOSE OR
|
34
|
+
NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH
|
35
|
+
DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.
|
36
|
+
|
37
|
+
|
38
|
+
_________________________________________________________________________
|
39
|
+
|
40
|
+
Copyright (c) 2000 Sun Microsystems, Inc.,
|
41
|
+
901 San Antonio Road,
|
42
|
+
Palo Alto, California 94303, E'tats-Unis.
|
43
|
+
Tous droits re'serve's.
|
44
|
+
|
45
|
+
Sun Microsystems, Inc. a les droits de proprie'te' intellectuels
|
46
|
+
relatants a` la technologie incorpore'e dans le produit qui est de'crit
|
47
|
+
dans ce document. En particulier, et sans la limitation, ces droits de
|
48
|
+
proprie'te' intellectuels peuvent inclure un ou plus des brevets
|
49
|
+
ame'ricains e'nume're's a` http://www.sun.com/patents et un ou les
|
50
|
+
brevets plus supple'mentaires ou les applications de brevet en attente
|
51
|
+
dans les E'tats-Unis et dans les autres pays.
|
52
|
+
|
53
|
+
Ce produit ou document est prote'ge' par un copyright et distribue'
|
54
|
+
avec des licences qui en restreignent l'utilisation, la copie, la
|
55
|
+
distribution, et la de'compilation. Ce documention associe n peut
|
56
|
+
e^tre reproduite et distribuer, par quelque moyen que ce soit, sans
|
57
|
+
l'autorisation pre'alable et e'crite de Sun et de ses bailleurs de
|
58
|
+
licence, le cas e'che'ant.
|
59
|
+
|
60
|
+
Le logiciel de'tenu par des tiers, et qui comprend la technologie
|
61
|
+
relative aux polices de caracte`res, est prote'ge' par un copyright et
|
62
|
+
licencie' par des fournisseurs de Sun.
|
63
|
+
|
64
|
+
Sun, Sun Microsystems, le logo Sun, Java, JavaServer Pages, Java
|
65
|
+
Naming and Directory Interface, JDBC, JDK, JavaMail et and
|
66
|
+
Enterprise JavaBeans sont des marques de fabrique ou des marques
|
67
|
+
de'pose'es de Sun Microsystems, Inc. aux E'tats-Unis et dans d'autres
|
68
|
+
pays.
|
69
|
+
|
70
|
+
LA DOCUMENTATION EST FOURNIE "EN L'E'TAT" ET TOUTES AUTRES CONDITIONS,
|
71
|
+
DECLARATIONS ET GARANTIES EXPRESSES OU TACITES SONT FORMELLEMENT
|
72
|
+
EXCLUES, DANS LA MESURE AUTORISEE PAR LA LOI APPLICABLE, Y COMPRIS
|
73
|
+
NOTAMMENT TOUTE GARANTIE IMPLICITE RELATIVE A LA QUALITE MARCHANDE, A
|
74
|
+
L'APTITUDE A UNE UTILISATION PARTICULIERE OU A L'ABSENCE DE
|
75
|
+
CONTREFAC,ON.
|
76
|
+
-->
|
77
|
+
|
78
|
+
<!--
|
79
|
+
This is the XML DTD for the J2EE 1.3 application client deployment
|
80
|
+
descriptor. All J2EE 1.3 application client deployment descriptors
|
81
|
+
must include a DOCTYPE of the following form:
|
82
|
+
|
83
|
+
<!DOCTYPE application-client PUBLIC
|
84
|
+
"-//Sun Microsystems, Inc.//DTD J2EE Application Client 1.3//EN"
|
85
|
+
"http://java.sun.com/dtd/application-client_1_3.dtd">
|
86
|
+
|
87
|
+
-->
|
88
|
+
|
89
|
+
<!--
|
90
|
+
The following conventions apply to all J2EE deployment descriptor
|
91
|
+
elements unless indicated otherwise.
|
92
|
+
|
93
|
+
- In elements that contain PCDATA, leading and trailing whitespace
|
94
|
+
in the data may be ignored.
|
95
|
+
|
96
|
+
- In elements whose value is an "enumerated type", the value is
|
97
|
+
case sensitive.
|
98
|
+
|
99
|
+
- In elements that specify a pathname to a file within the same
|
100
|
+
JAR file, relative filenames (i.e., those not starting with "/")
|
101
|
+
are considered relative to the root of the JAR file's namespace.
|
102
|
+
Absolute filenames (i.e., those starting with "/") also specify
|
103
|
+
names in the root of the JAR file's namespace. In general, relative
|
104
|
+
names are preferred. The exception is .war files where absolute
|
105
|
+
names are preferred for consistency with the servlet API.
|
106
|
+
-->
|
107
|
+
|
108
|
+
|
109
|
+
<!--
|
110
|
+
The application-client element is the root element of an application
|
111
|
+
client deployment descriptor. The application client deployment
|
112
|
+
descriptor describes the EJB components and external resources
|
113
|
+
referenced by the application client.
|
114
|
+
-->
|
115
|
+
<!ELEMENT application-client (icon?, display-name, description?,
|
116
|
+
env-entry*, ejb-ref*, resource-ref*, resource-env-ref*,
|
117
|
+
callback-handler?)>
|
118
|
+
|
119
|
+
<!--
|
120
|
+
The callback-handler element names a class provided by the
|
121
|
+
application. The class must have a no args constructor and must
|
122
|
+
implement the javax.security.auth.callback.CallbackHandler interface.
|
123
|
+
The class will be instantiated by the application client container and
|
124
|
+
used by the container to collect authentication information from the
|
125
|
+
user.
|
126
|
+
|
127
|
+
Used in: application-client
|
128
|
+
-->
|
129
|
+
<!ELEMENT callback-handler (#PCDATA)>
|
130
|
+
|
131
|
+
<!--
|
132
|
+
The description element is used to provide text describing the parent
|
133
|
+
element. The description element should include any information that
|
134
|
+
the application client jar file producer wants to provide to the consumer of
|
135
|
+
the application client jar file (i.e., to the Deployer). Typically, the tools
|
136
|
+
used by the application client jar file consumer will display the description
|
137
|
+
when processing the parent element that contains the description.
|
138
|
+
|
139
|
+
Used in: application-client, ejb-ref, env-entry, resource-env-ref,
|
140
|
+
resource-ref
|
141
|
+
-->
|
142
|
+
<!ELEMENT description (#PCDATA)>
|
143
|
+
|
144
|
+
<!--
|
145
|
+
The display-name element contains a short name that is intended to be
|
146
|
+
displayed by tools. The display name need not be unique.
|
147
|
+
|
148
|
+
Used in: application-client
|
149
|
+
|
150
|
+
Example:
|
151
|
+
|
152
|
+
<display-name>Employee Self Service</display-name>
|
153
|
+
-->
|
154
|
+
<!ELEMENT display-name (#PCDATA)>
|
155
|
+
|
156
|
+
<!--
|
157
|
+
The ejb-link element is used in the ejb-ref element
|
158
|
+
to specify that an EJB reference is linked to an
|
159
|
+
enterprise bean.
|
160
|
+
|
161
|
+
The name in the ejb-link element is composed of a
|
162
|
+
path name specifying the ejb-jar containing the referenced enterprise
|
163
|
+
bean with the ejb-name of the target bean appended and separated from
|
164
|
+
the path name by "#". The path name is relative to the jar file
|
165
|
+
containing the application client that is referencing the enterprise bean.
|
166
|
+
This allows multiple enterprise beans with the same ejb-name to be
|
167
|
+
uniquely identified.
|
168
|
+
|
169
|
+
Used in: ejb-ref
|
170
|
+
|
171
|
+
Examples:
|
172
|
+
|
173
|
+
<ejb-link>EmployeeRecord</ejb-link>
|
174
|
+
|
175
|
+
<ejb-link>../products/product.jar#ProductEJB</ejb-link>
|
176
|
+
|
177
|
+
-->
|
178
|
+
<!ELEMENT ejb-link (#PCDATA)>
|
179
|
+
|
180
|
+
<!--
|
181
|
+
The ejb-ref element is used for the declaration of a reference to
|
182
|
+
an enterprise bean's home. The declaration consists of:
|
183
|
+
|
184
|
+
- an optional description
|
185
|
+
- the EJB reference name used in the code of
|
186
|
+
the application client that's referencing the enterprise bean
|
187
|
+
- the expected type of the referenced enterprise bean
|
188
|
+
- the expected home and remote interfaces of the referenced
|
189
|
+
enterprise bean
|
190
|
+
- optional ejb-link information, used to specify the referenced
|
191
|
+
enterprise bean
|
192
|
+
|
193
|
+
Used in: application-client
|
194
|
+
-->
|
195
|
+
<!ELEMENT ejb-ref (description?, ejb-ref-name, ejb-ref-type,
|
196
|
+
home, remote, ejb-link?)>
|
197
|
+
|
198
|
+
<!--
|
199
|
+
The ejb-ref-name element contains the name of an EJB reference. The
|
200
|
+
EJB reference is an entry in the application client's environment and is
|
201
|
+
relative to the java:comp/env context. The name must be unique
|
202
|
+
within the application client.
|
203
|
+
|
204
|
+
It is recommended that name is prefixed with "ejb/".
|
205
|
+
|
206
|
+
Used in: ejb-ref
|
207
|
+
|
208
|
+
Example:
|
209
|
+
|
210
|
+
<ejb-ref-name>ejb/Payroll</ejb-ref-name>
|
211
|
+
-->
|
212
|
+
<!ELEMENT ejb-ref-name (#PCDATA)>
|
213
|
+
|
214
|
+
<!--
|
215
|
+
The ejb-ref-type element contains the expected type of the
|
216
|
+
referenced enterprise bean.
|
217
|
+
|
218
|
+
The ejb-ref-type element must be one of the following:
|
219
|
+
|
220
|
+
<ejb-ref-type>Entity</ejb-ref-type>
|
221
|
+
<ejb-ref-type>Session</ejb-ref-type>
|
222
|
+
|
223
|
+
Used in: ejb-ref
|
224
|
+
-->
|
225
|
+
<!ELEMENT ejb-ref-type (#PCDATA)>
|
226
|
+
|
227
|
+
<!--
|
228
|
+
The env-entry element contains the declaration of an application client's
|
229
|
+
environment entry. The declaration consists of an optional
|
230
|
+
description, the name of the environment entry, and an optional
|
231
|
+
value. If a value is not specified, one must be supplied
|
232
|
+
during deployment.
|
233
|
+
|
234
|
+
Used in: application-client
|
235
|
+
-->
|
236
|
+
<!ELEMENT env-entry (description?, env-entry-name, env-entry-type,
|
237
|
+
env-entry-value?)>
|
238
|
+
|
239
|
+
<!--
|
240
|
+
The env-entry-name element contains the name of an application client's
|
241
|
+
environment entry. The name is a JNDI name relative to the
|
242
|
+
java:comp/env context. The name must be unique within an application client.
|
243
|
+
|
244
|
+
Used in: env-entry
|
245
|
+
|
246
|
+
Example:
|
247
|
+
|
248
|
+
<env-entry-name>minAmount</env-entry-name>
|
249
|
+
-->
|
250
|
+
<!ELEMENT env-entry-name (#PCDATA)>
|
251
|
+
|
252
|
+
<!--
|
253
|
+
The env-entry-type element contains the fully-qualified Java type of
|
254
|
+
the environment entry value that is expected by the application client's
|
255
|
+
code.
|
256
|
+
|
257
|
+
The following are the legal values of env-entry-type:
|
258
|
+
|
259
|
+
java.lang.Boolean
|
260
|
+
java.lang.Byte
|
261
|
+
java.lang.Character
|
262
|
+
java.lang.String
|
263
|
+
java.lang.Short
|
264
|
+
java.lang.Integer
|
265
|
+
java.lang.Long
|
266
|
+
java.lang.Float
|
267
|
+
java.lang.Double
|
268
|
+
|
269
|
+
|
270
|
+
Used in: env-entry
|
271
|
+
|
272
|
+
Example:
|
273
|
+
|
274
|
+
<env-entry-type>java.lang.Boolean</env-entry-type>
|
275
|
+
-->
|
276
|
+
<!ELEMENT env-entry-type (#PCDATA)>
|
277
|
+
|
278
|
+
<!--
|
279
|
+
The env-entry-value element contains the value of an application client's
|
280
|
+
environment entry. The value must be a String that is valid for the
|
281
|
+
constructor of the specified type that takes a single String
|
282
|
+
parameter, or for java.lang.Character, a single character.
|
283
|
+
|
284
|
+
Used in: env-entry
|
285
|
+
|
286
|
+
Example:
|
287
|
+
|
288
|
+
<env-entry-value>100.00</env-entry-value>
|
289
|
+
-->
|
290
|
+
<!ELEMENT env-entry-value (#PCDATA)>
|
291
|
+
|
292
|
+
<!--
|
293
|
+
The home element contains the fully-qualified name of the enterprise
|
294
|
+
bean's home interface.
|
295
|
+
|
296
|
+
Used in: ejb-ref
|
297
|
+
|
298
|
+
Example:
|
299
|
+
|
300
|
+
<home>com.aardvark.payroll.PayrollHome</home>
|
301
|
+
-->
|
302
|
+
<!ELEMENT home (#PCDATA)>
|
303
|
+
|
304
|
+
<!--
|
305
|
+
The icon element contains small-icon and large-icon elements that
|
306
|
+
specify the file names for small and a large GIF or JPEG icon images
|
307
|
+
used to represent the parent element in a GUI tool.
|
308
|
+
|
309
|
+
Used in: application-client
|
310
|
+
-->
|
311
|
+
<!ELEMENT icon (small-icon?, large-icon?)>
|
312
|
+
|
313
|
+
<!--
|
314
|
+
The large-icon element contains the name of a file
|
315
|
+
containing a large (32 x 32) icon image. The file
|
316
|
+
name is a relative path within the application client's
|
317
|
+
jar file.
|
318
|
+
|
319
|
+
The image may be either in the JPEG or GIF format.
|
320
|
+
The icon can be used by tools.
|
321
|
+
|
322
|
+
Used in: icon
|
323
|
+
|
324
|
+
Example:
|
325
|
+
|
326
|
+
<large-icon>employee-service-icon32x32.jpg</large-icon>
|
327
|
+
-->
|
328
|
+
<!ELEMENT large-icon (#PCDATA)>
|
329
|
+
|
330
|
+
<!--
|
331
|
+
The remote element contains the fully-qualified name of the enterprise
|
332
|
+
bean's remote interface.
|
333
|
+
|
334
|
+
Used in: ejb-ref
|
335
|
+
|
336
|
+
Example:
|
337
|
+
|
338
|
+
<remote>com.wombat.empl.EmployeeService</remote>
|
339
|
+
-->
|
340
|
+
<!ELEMENT remote (#PCDATA)>
|
341
|
+
|
342
|
+
<!--
|
343
|
+
The res-auth element specifies whether the application client code signs
|
344
|
+
on programmatically to the resource manager, or whether the Container
|
345
|
+
will sign on to the resource manager on behalf of the application client. In the
|
346
|
+
latter case, the Container uses information that is supplied by the
|
347
|
+
Deployer.
|
348
|
+
|
349
|
+
The value of this element must be one of the two following:
|
350
|
+
|
351
|
+
<res-auth>Application</res-auth>
|
352
|
+
<res-auth>Container</res-auth>
|
353
|
+
|
354
|
+
Used in: resource-ref
|
355
|
+
-->
|
356
|
+
<!ELEMENT res-auth (#PCDATA)>
|
357
|
+
|
358
|
+
<!--
|
359
|
+
The res-ref-name element specifies the name of a resource manager
|
360
|
+
connection factory reference. The name is a JNDI name relative to the
|
361
|
+
java:comp/env context. The name must be unique within an application client.
|
362
|
+
|
363
|
+
Used in: resource-ref
|
364
|
+
-->
|
365
|
+
<!ELEMENT res-ref-name (#PCDATA)>
|
366
|
+
|
367
|
+
<!--
|
368
|
+
The res-sharing-scope element specifies whether connections obtained
|
369
|
+
through the given resource manager connection factory reference can be
|
370
|
+
shared. The value of this element, if specified, must be one of the
|
371
|
+
two following:
|
372
|
+
|
373
|
+
<res-sharing-scope>Shareable</res-sharing-scope>
|
374
|
+
<res-sharing-scope>Unshareable</res-sharing-scope>
|
375
|
+
|
376
|
+
The default value is Shareable.
|
377
|
+
|
378
|
+
Used in: resource-ref
|
379
|
+
-->
|
380
|
+
<!ELEMENT res-sharing-scope (#PCDATA)>
|
381
|
+
|
382
|
+
<!--
|
383
|
+
The res-type element specifies the type of the data source. The type
|
384
|
+
is specified by the fully qualified Java language class or interface
|
385
|
+
expected to be implemented by the data source.
|
386
|
+
|
387
|
+
Used in: resource-ref
|
388
|
+
-->
|
389
|
+
<!ELEMENT res-type (#PCDATA)>
|
390
|
+
|
391
|
+
<!--
|
392
|
+
The resource-env-ref element contains a declaration of an application client's
|
393
|
+
reference to an administered object associated with a resource
|
394
|
+
in the application client's environment. It consists of an optional
|
395
|
+
description, the resource environment reference name, and an
|
396
|
+
indication of the resource environment reference type expected by
|
397
|
+
the application client code.
|
398
|
+
|
399
|
+
Used in: application-client
|
400
|
+
|
401
|
+
Example:
|
402
|
+
|
403
|
+
<resource-env-ref>
|
404
|
+
<resource-env-ref-name>jms/StockQueue</resource-env-ref-name>
|
405
|
+
<resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
|
406
|
+
</resource-env-ref>
|
407
|
+
-->
|
408
|
+
<!ELEMENT resource-env-ref (description?, resource-env-ref-name,
|
409
|
+
resource-env-ref-type)>
|
410
|
+
|
411
|
+
<!--
|
412
|
+
The resource-env-ref-name element specifies the name of a resource
|
413
|
+
environment reference; its value is the environment entry name used in
|
414
|
+
the application client code. The name is a JNDI name relative to the
|
415
|
+
java:comp/env context and must be unique within an application client.
|
416
|
+
|
417
|
+
Used in: resource-env-ref
|
418
|
+
-->
|
419
|
+
<!ELEMENT resource-env-ref-name (#PCDATA)>
|
420
|
+
|
421
|
+
<!--
|
422
|
+
The resource-env-ref-type element specifies the type of a resource
|
423
|
+
environment reference. It is the fully qualified name of a Java
|
424
|
+
language class or interface.
|
425
|
+
|
426
|
+
Used in: resource-env-ref
|
427
|
+
-->
|
428
|
+
<!ELEMENT resource-env-ref-type (#PCDATA)>
|
429
|
+
|
430
|
+
<!--
|
431
|
+
The resource-ref element contains a declaration of an application client's
|
432
|
+
reference to an external resource. It consists of an optional
|
433
|
+
description, the resource manager connection factory reference name,
|
434
|
+
the indication of the resource manager connection factory type
|
435
|
+
expected by the application client code, the type of authentication
|
436
|
+
(Application or Container), and an optional specification of the
|
437
|
+
shareability of connections obtained from the resource (Shareable or
|
438
|
+
Unshareable).
|
439
|
+
|
440
|
+
Used in: application-client
|
441
|
+
|
442
|
+
Example:
|
443
|
+
|
444
|
+
<resource-ref>
|
445
|
+
<res-ref-name>jdbc/EmployeeAppDB</res-ref-name>
|
446
|
+
<res-type>javax.sql.DataSource</res-type>
|
447
|
+
<res-auth>Container</res-auth>
|
448
|
+
<res-sharing-scope>Shareable</res-sharing-scope>
|
449
|
+
</resource-ref>
|
450
|
+
-->
|
451
|
+
<!ELEMENT resource-ref (description?, res-ref-name, res-type, res-auth,
|
452
|
+
res-sharing-scope?)>
|
453
|
+
|
454
|
+
<!--
|
455
|
+
The small-icon element contains the name of a file
|
456
|
+
containing a small (16 x 16) icon image. The file
|
457
|
+
name is a relative path within the application client's
|
458
|
+
jar file.
|
459
|
+
|
460
|
+
The image may be either in the JPEG or GIF format.
|
461
|
+
The icon can be used by tools.
|
462
|
+
|
463
|
+
Used in: icon
|
464
|
+
|
465
|
+
Example:
|
466
|
+
|
467
|
+
<small-icon>employee-service-icon16x16.jpg</small-icon>
|
468
|
+
-->
|
469
|
+
<!ELEMENT small-icon (#PCDATA)>
|
470
|
+
|
471
|
+
<!--
|
472
|
+
The ID mechanism is to allow tools that produce additional deployment
|
473
|
+
information (i.e., information beyond the standard deployment
|
474
|
+
descriptor information) to store the non-standard information in a
|
475
|
+
separate file, and easily refer from these tool-specific files to the
|
476
|
+
information in the standard deployment descriptor.
|
477
|
+
|
478
|
+
Tools are not allowed to add the non-standard information into the
|
479
|
+
standard deployment descriptor.
|
480
|
+
-->
|
481
|
+
|
482
|
+
<!ATTLIST application-client id ID #IMPLIED>
|
483
|
+
<!ATTLIST callback-handler id ID #IMPLIED>
|
484
|
+
<!ATTLIST description id ID #IMPLIED>
|
485
|
+
<!ATTLIST display-name id ID #IMPLIED>
|
486
|
+
<!ATTLIST ejb-link id ID #IMPLIED>
|
487
|
+
<!ATTLIST ejb-ref id ID #IMPLIED>
|
488
|
+
<!ATTLIST ejb-ref-name id ID #IMPLIED>
|
489
|
+
<!ATTLIST ejb-ref-type id ID #IMPLIED>
|
490
|
+
<!ATTLIST env-entry id ID #IMPLIED>
|
491
|
+
<!ATTLIST env-entry-name id ID #IMPLIED>
|
492
|
+
<!ATTLIST env-entry-type id ID #IMPLIED>
|
493
|
+
<!ATTLIST env-entry-value id ID #IMPLIED>
|
494
|
+
<!ATTLIST home id ID #IMPLIED>
|
495
|
+
<!ATTLIST icon id ID #IMPLIED>
|
496
|
+
<!ATTLIST large-icon id ID #IMPLIED>
|
497
|
+
<!ATTLIST remote id ID #IMPLIED>
|
498
|
+
<!ATTLIST res-auth id ID #IMPLIED>
|
499
|
+
<!ATTLIST res-ref-name id ID #IMPLIED>
|
500
|
+
<!ATTLIST res-sharing-scope id ID #IMPLIED>
|
501
|
+
<!ATTLIST res-type id ID #IMPLIED>
|
502
|
+
<!ATTLIST resource-env-ref id ID #IMPLIED>
|
503
|
+
<!ATTLIST resource-env-ref-name id ID #IMPLIED>
|
504
|
+
<!ATTLIST resource-env-ref-type id ID #IMPLIED>
|
505
|
+
<!ATTLIST resource-ref id ID #IMPLIED>
|
506
|
+
<!ATTLIST small-icon id ID #IMPLIED>
|