Creates JRun-specific web deployment descriptor (jrun-web.xml) for web apps.
Only JRun 4.0 is supported.
Most comments have been copied from the JRun DTD:
http://jrun.macromedia.com/dtd/jrun-web.dtd
Dan Schaffer (dschaffer@macromedia.com)
Attribute | Description | Required |
xmlencoding | The encoding of the jrun-web.xml file. | No, default is "UTF-8" |
destdir | Destination directory for output JRun-specific deployment descriptor files. | No, default is destdir parameter of webdoclet task |
mergedir | Directory for merge files, the merge files can be session-config.xml and virtual-mapping.xml | No |
contextRoot | The context-root element specifies the context root of the web application. The context-root defaults to the name of the directory or jar that the webapp is contained in. | No |
reload | The reload element specifies whether to automatically reload servlets, servlet helper classes, and jsp helper classes. Defaults to false. | No |
compile | The compile element specifies whether to automatically compile servlets, servlet helper classes, and jsp helper classes. This will degrade performance Defaults to false. | No |
loadSystemClassesFirst | The load-system-classes-first element specifies whether system classes should be loaded before enterprise and web application classes. The normal classloader delegation model is to load the system classes first, however the servlet specification suggests to load webapp classes first. Defaults to true. | No |
The ejb-local-ref element describes a mapping between the ejb-ref-name that the bean developer provides and its JNDI name. The deployer provides the actual JNDI name.
Parameter | Usage | Mandatory |
[ejb-ref-name]: String | The ejb-ref-name element gives the name of an EJB from the ejb-jar.xml file. The bean developer this information. | Yes |
[jndi-name]: String | The jndi-name element gives the JNDI name where the bean or resource will be bound. | Yes |
The ejb-ref element describes a mapping between the ejb-ref-name that the bean developer provides and its JNDI name. The deployer provides the actual JNDI name. Used in: entity, message-driven, session
Parameter | Usage | Mandatory |
[ejb-ref-name]: String | The ejb-ref-name element gives the name of an EJB from the ejb-jar.xml file. The bean developer this information. | Yes |
[jndi-name]: String | The jndi-name element gives the JNDI name where the bean or resource will be bound. | Yes |
The resource-env-ref element describes a mapping between the resource-env-name that the bean developer provides and its JNDI name. The deployer provides the actual JNDI name.
Parameter | Usage | Mandatory |
[resource-env-ref-name]: String | The resource-env-ref-name element gives the name of a resource env from EJB view. The bean developer provides this information. | Yes |
[jndi-name]: String | The jndi-name element gives the JNDI name where the bean or resource will be bound. | Yes |
The resource-ref element describes a mapping between the resource name that the bean developer provides and its JNDI name. The deployer provides the actual JNDI name.
Parameter | Usage | Mandatory |
[resource-ref-name]: String | The res-ref-name element gives the name of a resource from EJB view. The bean developer provides this information. | Yes |
[jndi-name]: String | The jndi-name element gives the JNDI name where the bean or resource will be bound. | Yes |
[user]: String | The user element assigns a user identity to be used with a specified resource. | No |
[password]: String | The password element provides user credentials to be used with user element to identify and authenticate a specified resource. | No |