[jboss-user] [JBoss Seam] - Re: Seam managed transaction in Tomcat

ASavitsky do-not-reply at jboss.com
Wed Aug 15 12:55:22 EDT 2007


If you're using plain JPA (no EJB3) and you don't require JTA, then no, you don't need jboss-embedded at all. You'll need to

a) use Seam transaction manager <transaction:entity-transaction entity-manager="#{entityManager}" />

b) declare your datasource in Tomcat

c) reference the datasource in persistence.xml, and make sure to specify transaction-type="RESOURCE_LOCAL"

If you need any more info, just ask (but make sure to read the docs first, it's all explained in detail there)

Alex

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

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



More information about the jboss-user mailing list