Yes, this works.
Context ctx = new InitialContext();
| EntityManagerFactory entityManagerFactory = (EntityManagerFactory)
ctxlookup("java:/myprojectEntityManagerFactory");
| entityManager = entityManagerFactory.createEntityManager();
But isn't there a better way to do this? It would be great if I could obtain
Seam components (e.g. Log).
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072879#4072879
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072879
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user