users@glassfish.java.net

Re: JNDI lookup problem after migration from JBoss

From: <glassfish_at_javadesktop.org>
Date: Thu, 31 Jul 2008 09:38:14 PDT

Ok, I see,

so the @EJB annotation with the name has to be with the bean from which the POJO is referenced and the name in the annotation should point to the bean who's reference the POJO wants to look up.

Thanks, it works fine now.
[Message sent by forum member 'tverbele' (tverbele)]

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