[jboss-user] [JBoss Seam] - Re: multi portlet setup

gavin.king@jboss.com do-not-reply at jboss.com
Wed Sep 13 16:59:41 EDT 2006


You can use an application-managed PC. ie. look up the EMF in JNDI and call createEntityManager(). Don't forget to destroy it when you are done, by calling close.

However, I don't know why you would want an EPC for anything other than conversation scope. Usually a very bad idea.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971398#3971398

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971398



More information about the jboss-user mailing list