Name

<ejb-link>

Synopsis

<!ELEMENT ejb-link (#PCDATA)>

Description

The <ejb-link> element is used in the <ejb-ref> element to specify that an EJB reference is linked to an EJB in an encompassing Java 2, Enterprise Edition ( J2EE) application package. The value of the <ejb-link> element must be the <ejb-name> of the EJB in the J2EE application package.

<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-link>CabinBean</ejb-link>
</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.