Name

<ejb-ref-name>

Synopsis

<!ELEMENT ejb-ref-name (#PCDATA)>

Description

The <ejb-ref-name> element contains the name of an EJB reference. This is the JNDI name that the servlet code uses to get a reference to the enterprise bean.

<ejb-ref>
    <description>Cruise ship cabin</description>
    <ejb-ref-name>ejb/CabinHome</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <home>com.titan.cabin.CabinHome</home>
    <remote>com.titan.cabin.Cabin</remote>
</ejb-ref>

Get Java Servlet Programming, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.