EntityManager injection works in JBoss 7.1.1 but not WebSphere 7
- by BikerJared
I've built an EJB that will manage my database access. I'm building a web app around it that uses Struts 2.
The problem I'm having is when I deploy the ear, the EntityManager doesn't get injected into my service class (and winds up null and results in NullPointerExceptions).
The weird thing is, it works on JBoss 7.1.1 but not on WebSphere 7.
…