For a project I have created a general abstract class in which I try to inject a entitymanager with @PersistenceContext annotation.
The concrete class which is a child of the abstract class is annoteted with @Stateless and is so a stateless session bean.
Now I tried to use an entitymanager but the injection didn't work. I got the famous NullPointerException.
Should this work. I used
JBoss Enterprise Application 4.3.
Remko (My website)
SCJP 1.5, SCWCD 1.4, SCDJWS 1.4, SCBCD 1.5, ITIL(Manager), Prince2(Practitioner), Reading/ gaining experience for SCEA,