users@glassfish.java.net

Re: How to access local Entity inside a Session Bean?

From: <glassfish_at_javadesktop.org>
Date: Mon, 14 Jul 2008 20:34:13 PDT

* <ejb-local-ref> in web.xml for local session bean access.
<ejb-link>ejbfilesjar.jar#ejbname</ejb-link>
ejbname-should match the name given in ejb-jar.xml

* <ejb-local-ref> entries inside the session bean entry of the ejb-jar.xml for local entity bean access.

* (LocalHome) can be looked up using java:comp/env/ejbname

* make sure that ejb-jar.xml dtd is referreing to version 3.
[Message sent by forum member 'gjp' (gjp)]

http://forums.java.net/jive/thread.jspa?messageID=286616