In the servlet spec (link in my signature), in section SRV.13.4, item #24:
24. resource-ref Element The resource-ref contains the declaration of a deployment component s reference to the external resource. The res-ref-name specifies the name of a resource manager connection factory reference. The name is a JNDI name relative to the java:comp/env context. The name must be unique within a deployment file. The res-type element specifies the type of the data source.The type is the fully qualified Java language class or the interface expected to be implemented by the data source. The res-auth specifies whether the deployment component code signs on programmatically to the resource manager, or whether the container will sign on to the resource manager on behalf of the deployment component. In the latter case, the container uses the information supplied by the deployer. The ressharing- scope specifies whether connections obtained through the given
<ejb-ref-name> and <ejb-ref-type> are inside <ejb-ref> or <ejb-local-ref> elements. There are some additional elements for ejbhome / local home and remote / local interface information in these elements. You will find the deployment descriptor DTD in servlet specs.
There is no greater crime than stealing somebody's best friend. I miss you tiny ad: