Sun GlassFish Enterprise Server v3 Prelude Application Deployment Guide

ejb-ref

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.

Superelements

sun-web-app (sun-web.xml), ejb (sun-ejb-jar.xml)

Subelements

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

Table A–31 ejb-ref Subelements

Element 

Required 

Description 

ejb-ref-name

only one 

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

jndi-name

only one 

Specifies the absolute jndi-name of a resource.