This element maps the res-ref-name Element in the corresponding Java EE web.xml file resource-ref entry to the absolute jndi-name Element of a resource.
The following table describes subelements for the resource-ref element. The left column lists the subelement name, the middle column indicates the requirement rule, and the right column describes what the element does.
Table A–27 resource-ref Subelements| Element | Required | Description | 
|---|---|---|
| only one | Specifies the res-ref-name in the corresponding Java EE web.xml file resource-ref entry | |
| only one | Specifies the absolute jndi-name of a resource | |
| zero or one | Specifies the default principal (user) for the resource | 
none