I'm injecting into a simple pojo managed bean living in a .jar in the ear's
lib/-folder. beans.xml exists and injection works(other then
@PersistenceContext). If I add some @Inject to the pojo it is done correctly.
Jus So I guess CDI is set up correctly. If I give the incorrect name for the
persistence unit, glassfish complains and will not deploy. If I correct the
name, glassfish will deploy but inject nothing (null).
--
[Message sent by forum member 'bergler']
View Post: http://forums.java.net/node/889633