Maps the ejb-ref-name in the corresponding Java EE deployment descriptor file ejb-ref entry to the absolute jndi-name of a resource.
The ejb-ref element is used for the declaration of a reference to an EJB’s home. Applies to session beans or entity beans.
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 ejb-ref element.
Table A–42 ejb-ref Subelements| 
 Element  | 
 Required  | 
 Description  | 
|---|---|---|
| 
 only one  | 
 Specifies the ejb-ref-name in the corresponding Java EE deployment descriptor file ejb-ref entry.  | 
|
| 
 only one  | 
 Specifies the absolute jndi-name of a resource.  |