174
Chapter 20. Defining the Client Deployment Descriptor
20.2. Examples of Client Deployment Descriptors
•
Example of a standard Client Deployment Descriptor (
application-client.xml
):
¸
?xml version="1.0" encoding="UTF-8"?
¹
¸
application-client xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/application-client_1_4.xsd"
version="1.4"
¹
¸
display-name
¹
Client of the earsample
¸
/display-name
¹
¸
description
¹
client of the earsample
¸
/description
¹
¸
env-entry
¹
¸
env-entry-name
¹
envEntryString
¸
/env-entry-name
¹
¸
env-entry-type
¹
java.lang.String
¸
/env-entry-type
¹
¸
env-entry-value
¹
Test of envEntry of application-client.xml
file
¸
/env-entry-value
¹
¸
/env-entry
¹
¸
ejb-ref
¹
¸
ejb-ref-name
¹
ejb/Op
¸
/ejb-ref-name
¹
¸
ejb-ref-type
¹
Session
¸
/ejb-ref-type
¹
¸
home
¹
org.objectweb.earsample.beans.secusb.OpHome
¸
/home
¹
¸
remote
¹
org.objectweb.earsample.beans.secusb.Op
¸
/remote
¹
¸
ejb-link
¹
secusb.jar#EarOp
¸
/ejb-link
¹
¸
/ejb-ref
¹
¸
resource-ref
¹
¸
res-ref-name
¹
url/jonas
¸
/res-ref-name
¹
¸
res-type
¹
java.net.URL
¸
/res-type
¹
¸
res-auth
¹
Container
¸
/res-auth
¹
¸
/resource-ref
¹
¸
callback-handler
¹
org.objectweb.jonas.security.auth.callback.LoginCallbackHandler
¸
/callback-handler
¹
¸
/application-client
¹
•
Example of a specific Client Deployment Descriptor (
jonas-client.xml
):
¸
?xml version="1.0" encoding="UTF-8"?
¹
¸
jonas-client xmlns="http://www.objectweb.org/jonas/ns"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.objectweb.org/jonas/ns
http://www.objectweb.org/jonas/ns/jonas-client_4_0.xsd"
¹
¸
jonas-client
¹
¸
jonas-resource
¹
¸
res-ref-name
¹
url/jonas
¸
/res-ref-name
¹
¸
jndi-name
¹
http://jonas.objectweb.org
¸
/jndi-name
¹
¸
/jonas-resource
¹
¸
jonas-security
¹
¸
jaasfile
¹
jaas.config
¸
/jaasfile
¹
¸
jaasentry
¹
earsample
¸
/jaasentry
¹
¸
username
¹
jonas
¸
/username
¹
¸
password
¹
jonas
¸
/password
¹
¸
/jonas-security
¹
Summary of Contents for Application Server
Page 1: ...Red Hat Application Server JOnAS User Guide ...
Page 8: ......
Page 22: ...14 Chapter 1 Java Open Application Server JOnAS a J2EE Platform ...
Page 58: ...50 Chapter 3 JOnAS Configuration ...
Page 66: ...58 Chapter 5 JOnAS Class Loader Hierarchy ...
Page 78: ...70 Chapter 6 JOnAS Command Reference ...
Page 80: ......
Page 86: ...78 Chapter 7 Developing Session Beans ...
Page 136: ...128 Chapter 9 Developing Message Driven Beans ...
Page 142: ...134 Chapter 10 Defining the Deployment Descriptor ...
Page 148: ...140 Chapter 11 Transactional Behavior of EJB Applications ...
Page 158: ...150 Chapter 14 EJB Packaging ...
Page 162: ...154 Chapter 15 Application Deployment and Installation Guide ...
Page 164: ......
Page 176: ...168 Chapter 18 WAR Packaging ...
Page 178: ......
Page 184: ...176 Chapter 20 Defining the Client Deployment Descriptor ...
Page 186: ...178 Chapter 21 Client Packaging ...
Page 188: ......
Page 192: ...184 Chapter 23 EAR Packaging ...
Page 194: ......
Page 200: ...192 Chapter 24 JOnAS Services ...
Page 204: ...196 Chapter 25 JOnAS and the Connector Architecture ...
Page 222: ...214 Chapter 27 Ant EJB Tasks Using EJB JAR ...
Page 234: ...226 Chapter 29 Web Services with JOnAS ...
Page 236: ......
Page 260: ...252 Chapter 34 How to use Axis in JOnAS ...
Page 270: ...262 Chapter 36 Web Service Interoperability between JOnAS and BEA WebLogic ...
Page 296: ......