This content has been marked as final.
Show 1 reply
-
1. Re: Visibility between EJB Containers - ClassNotFoundExcepti
js_thind Sep 10, 2001 1:08 PM (in response to dbr)Unless u r using jboss.xml file to assign JNDI names to your EJB , JBoss deploys EJBs using the JNDI specified by <ejb-name></ejb-name> tag.
You can use these names to describe external ejb-references.
If your EJB's xml descriptor has something like this :
<ejb-name>ProductColorsEJB</ejb-name>
ProductColorsHome
ProductColors
<ejb-class>ProductColorsEJB</ejb-class>
then u can refer to this EJB from another EJB using:
<ejb-ref>
<ejb-ref-name>ejb/ProductColorsEJB</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
ProductColorsHome
ProductColors
<ejb-link>ProductColorsEJB</ejb-link>
</ejb-ref>