Maps the res-ref-name in the corresponding J2EE deployment descriptor file resource-env-ref entry to the absolute jndi-name of a resource.
sun-web-app (sun-web.xml), ejb (sun-ejb-jar.xml), sun-application-client (sun-application-client.xml)
The following table describes subelements for the resource-env-ref element.
Table A–91 resource-env-ref Subelements
Element |
Required |
Description |
---|---|---|
only one |
Specifies the res-ref-name in the corresponding J2EE deployment descriptor file resource-env-ref entry. |
|
only one |
Specifies the absolute jndi-name of a resource. |
<resource-env-ref> <resource-env-ref-name>jms/StockQueueName</resource-env-ref-name> <jndi-name>jms/StockQueue</jndi-name> </resource-env-ref>