This content has been marked as final.
Show 2 replies
-
1. Re: Accessing EntityManager from EJB2.1 Session Bean
alrubinger Dec 17, 2007 10:14 PM (in response to pawel.zieba)If you take advantage of JBoss' ability to throw your EM into JNDI (in PersistenceManager configuration), you can do a lookup from your EJB2.1 Bean from there using javax.naming...
http://docs.jboss.org/ejb3/app-server/tutorial/jndibinding/jndi.html
S,
ALR -
2. Re: Accessing EntityManager from EJB2.1 Session Bean
pawel.zieba Dec 19, 2007 9:47 AM (in response to pawel.zieba)works perfectly.
thank you very much!