Name

<ejb-ref-type>

Synopsis

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

Description

The <ejb-ref-type> element contains the bean type. Its value must be either Entity or Session.[73]

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

[73] The original comment for this tag erroneously declares that the tag “contains the expected Java class type of the referenced EJB.”

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.