Java Servlet Programming (Java Series)

Java Servlet Programming, 2nd Edition > C. Deployment Descriptor DTD Reference > <ejb-link>

 
< BACKCONTINUE >
<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>

Last updated on 3/20/2003

Java Servlet Programming, 2nd Edition, © 2001 O'Reilly

< BACKCONTINUE >

Категории