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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user