Marina, Sairndain,
Would the following not work?
(at least as long as the EJB client is in the same EAR)
<ejb-ref>
<ejb-ref-name>DddEJBBeanRemote</ejb-ref-name>
<home>ddd.ejb.DddEJBHome</home>
<remote>ddd.ejb.DddEJBRemote</remote>
<ejb-link>dddEJB.jar#DddEJB</ejb-link>
</ejb-ref>
<ejb-local-ref>
<ejb-ref-name>DddEJBBean</ejb-ref-name>
<local-home>ddd.ejb.DddEJBLocalHome</local-home>
<local>ddd.ejb.DddEJBLocal</local>
<ejb-link>dddEJB.jar#DddEJB</ejb-link>
</ejb-local-ref>
With the lookup code as in the original e-mail: "java:comp/env/DddEJBBean" for the local home interface, "java:comp/env/DddEJBBeanRemote" for the remote home interface.
Regards,
Dies
[Message sent by forum member 'dkoper' (dkoper)]
http://forums.java.net/jive/thread.jspa?messageID=253329