users@glassfish.java.net

Re: _at_Inject bean into EJB

From: <glassfish_at_javadesktop.org>
Date: Thu, 04 Mar 2010 07:05:02 PST

What do you mean by "mixing containers"? Using CDI within an EJB component is fine. The thing to double-check is that the module in which the bean is packaged has a beans.xml file. Otherwise, CDI is not enabled for that module.
[Message sent by forum member 'ksak' (kenneth.saks_at_sun.com)]

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