Examples Of Client Deployment Descriptors - Red Hat APPLICATION SERVER - JONAS Manual

Jonas
Hide thumbs Also See for APPLICATION SERVER - JONAS:
Table of Contents

Advertisement

174

20.2. Examples of Client Deployment Descriptors

Example of a standard Client Deployment Descriptor (
?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 (
?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
Chapter 20. Defining the Client Deployment Descriptor
application-client.xml
jonas-client.xml
):
):

Advertisement

Table of Contents
loading

This manual is also suitable for:

Application server

Table of Contents