Hi, this sticky thread got a bit messy: Seam is not relevant in the discussion.
Injecting an EntityManager in a servlet is just wrong: servlets get concurrent requests and you really don't want an instance level EntityManager; Inject the EntityManagerFactory instead and use it to create a new entitymanager in method scope. IMHO not supporting this in JBoss4 was a good idea. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4225076#4225076 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225076 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user