This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
This is a very newbie question I guess - I am trying to use Spring to get reference to my JPA EntityManager in a application deployed on JBoss. My question is, what JNDI name do I use? Below is some configuration:
My persistence.xml looks like this:
My spring configuration looks like this:
Whenever I try to access the injected entityManager reference from inside dealPersistor bean, I get the following error from JBoss:
Obviously I am not doing some configuration correct...Can someone please help!