![Red Hat Application Server Скачать руководство пользователя страница 173](http://html.mh-extra.com/html/red-hat/application-server/application-server_manual_1427406173.webp)
Chapter 17. Defining the Web Deployment Descriptor
165
®
login-config
¯
®
auth-method
¯
BASIC
®
/auth-method
¯
®
realm-name
¯
Example Basic Authentication Area
®
/realm-name
¯
®
/login-config
¯
®
env-entry
¯
®
env-entry-name
¯
envEntryString
®
/env-entry-name
¯
®
env-entry-value
¯
This is a string from the env-entry
®
/env-entry-value
¯
®
env-entry-type
¯
java.lang.String
®
/env-entry-type
¯
®
/env-entry
¯
®
!-- reference on a remote bean without ejb-link--
¯
®
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-ref
¯
®
!-- reference on a remote bean using ejb-link--
¯
®
ejb-ref
¯
®
ejb-ref-name
¯
ejb/EjbLinkOp
®
/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#Op
®
/ejb-link
¯
®
/ejb-ref
¯
®
!-- reference on a local bean --
¯
®
ejb-local-ref
¯
®
ejb-ref-name
¯
ejb/OpLocal
®
/ejb-ref-name
¯
®
ejb-ref-type
¯
Session
®
/ejb-ref-type
¯
®
local-home
¯
org.objectweb.earsample.beans.secusb.OpLocalHome
®
/local-home
¯
®
local
¯
org.objectweb.earsample.beans.secusb.OpLocal
®
/local
¯
®
ejb-link
¯
secusb.jar#Op
®
/ejb-link
¯
®
/ejb-local-ref
¯
®
/web-app
¯
•
Example of a specific Web Deployment Descriptor (
jonas-web.xml
):
®
?xml version="1.0" encoding="ISO-8859-1"?
¯
®
jonas-web-app 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-web-app_4_0.xsd"
¯
®
!-- Mapping between the referenced bean and its JNDI name,
override the ejb-link, if there is one in the associated
ejb-ref in the standard Web Deployment Descriptor --
¯
®
jonas-ejb-ref
¯
®
ejb-ref-name
¯
ejb/Op
®
/ejb-ref-name
¯
®
jndi-name
¯
OpHome
®
/jndi-name
¯
®
/jonas-ejb-ref
¯
®
!-- the virtual host on which deploy the web application --
¯
®
host
¯
localhost
®
/host
¯
®
!-- the context root on which deploy the web application --
¯
Содержание Application Server
Страница 1: ...Red Hat Application Server JOnAS User Guide ...
Страница 8: ......
Страница 22: ...14 Chapter 1 Java Open Application Server JOnAS a J2EE Platform ...
Страница 58: ...50 Chapter 3 JOnAS Configuration ...
Страница 66: ...58 Chapter 5 JOnAS Class Loader Hierarchy ...
Страница 78: ...70 Chapter 6 JOnAS Command Reference ...
Страница 80: ......
Страница 86: ...78 Chapter 7 Developing Session Beans ...
Страница 136: ...128 Chapter 9 Developing Message Driven Beans ...
Страница 142: ...134 Chapter 10 Defining the Deployment Descriptor ...
Страница 148: ...140 Chapter 11 Transactional Behavior of EJB Applications ...
Страница 158: ...150 Chapter 14 EJB Packaging ...
Страница 162: ...154 Chapter 15 Application Deployment and Installation Guide ...
Страница 164: ......
Страница 176: ...168 Chapter 18 WAR Packaging ...
Страница 178: ......
Страница 184: ...176 Chapter 20 Defining the Client Deployment Descriptor ...
Страница 186: ...178 Chapter 21 Client Packaging ...
Страница 188: ......
Страница 192: ...184 Chapter 23 EAR Packaging ...
Страница 194: ......
Страница 200: ...192 Chapter 24 JOnAS Services ...
Страница 204: ...196 Chapter 25 JOnAS and the Connector Architecture ...
Страница 222: ...214 Chapter 27 Ant EJB Tasks Using EJB JAR ...
Страница 234: ...226 Chapter 29 Web Services with JOnAS ...
Страница 236: ......
Страница 260: ...252 Chapter 34 How to use Axis in JOnAS ...
Страница 270: ...262 Chapter 36 Web Service Interoperability between JOnAS and BEA WebLogic ...
Страница 296: ......