users@glassfish.java.net

Re: How can I use _at_EJB to get an instanceof EJB in my class?

From: <glassfish_at_javadesktop.org>
Date: Thu, 01 Mar 2007 18:38:49 PST

Util class is not really a "managed" component and hence the container cannot inject the EJB into your Util class. Servlets, Stateless, Stateful and MessageDriven beans are managed components and hence the container can perform injection.
[Message sent by forum member 'mk111283' (mk111283)]

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