Sun Java System Web Server 7.0 Developer's Guide to Java Web Applications


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–26 resource-ref Subelements




res-ref-name Element

only one 

Specifies the res-ref-name in the corresponding Java EE web.xml file resource-ref entry

jndi-name Element

only one 

Specifies the absolute jndi-name of a resource

default-resource-principal Element

zero or one 

Specifies the default principal (user) for the resource