Java Servlet Programming, 2nd Edition > C. Deployment Descriptor DTD Reference > <ejb-link> |
Synopsis<!ELEMENT ejb-link (#PCDATA)> DescriptionThe <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>
|