Hi Mitesh,
this is a javax.persistence.EntityManager ... so it should be injectable.
When using the Injection only, I get a NullPointer, because the dependency does not get injected (and the variable stays null).
Stefan
[Message sent by forum member 'kniffte']
http://forums.java.net/jive/thread.jspa?messageID=478083