I'm writing a standalone JPA application and I want to use
configuration-based transaction support so that I can use the same business
logic and JPA code in from a SessionBean if needed later.  The SessionBean
will provide transaction support in the EJB server, and I'll use a wrapper
class to provide transaction support in the standalone application.  That
way I just swap out the wrapper for a SessionBean and the rest of the code
won't require any changes.

I notice in the OpenJPA .jar file that Geronimo's JTA classes are included. 
Is there an example of how to configure the Geronimo JTA for a standalone
application?

I could also use another JTA provider, but I do need an example of how to
get it configured.

--
View this message in context: 
http://openjpa.208410.n2.nabble.com/Using-OpenJPA-with-JTA-in-standalone-application-tp6366719p6366719.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to