Advanced Example; Tips - Red Hat APPLICATION SERVER - JONAS Manual

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

Advertisement

182
/module
module
ejb ejb2.jar /ejb
/module
module
web
web-uri web.war /web-uri
context-root web /context-root
/web
/module
/application

22.3. Advanced Example

This is an advanced example of an Application Deployment Descriptors with alternative DD and
security.
application 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_1_4.xsd"
version="1.4"
display-name Ear Security /display-name
description Application with alt-dd and security /description
module
web
web-uri admin.war /web-uri
context-root admin /context-root
/web
/module
module
ejb ejb.jar /ejb
alt-dd altdd.xml /alt-dd
/module
security-role
role-name admin /role-name
/security-role
/application

22.4. Tips

Although some characters, such as " ", are legal, it is good practice to replace them with XML entity
references.
The following is a list of the predefined entity references for XML:
<
>
&
&
'
'
"
"
Chapter 22. Defining the EAR Deployment Descriptor
less than
greater than
ampersand
apostrophe
quotation mark

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the APPLICATION SERVER - JONAS and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Application server

Table of Contents