users@glassfish.java.net

Re: _at_Inject bean into EJB

From: <glassfish_at_javadesktop.org>
Date: Thu, 04 Mar 2010 13:13:38 PST

Do you have META-INF/beans.xml in your ejb jar? Other than that, the classes are package private, so their default constructors are too. I am not sure if this gets in the way or not.
What is the exception / erroneous behaviour that you experience? I am doing the very same thing that you do and it works for me. But my DAOs and the EJB are in the same jar file, maybe yours are in different jars?
[Message sent by forum member 'szczyp' (szczyp_at_gmail.com)]

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