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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...