Oracle GlassFish Server 3.0.1 Application Deployment Guide

Subelements

The following table describes subelements for the resource-ref element.

Table C–118 resource-ref Subelements

Element 

Required 

Description 

res-ref-name

only one 

Specifies the res-ref-name in the corresponding Java EE deployment descriptor file resource-ref entry.

jndi-name

only one 

Specifies the absolute jndi-name of a resource.

default-resource-principal

zero or one 

Specifies the default principal (user) for the resource.