Atomikos Forum

UserTransactionManager or J2eeTransactionManager

The wiki article at http://www.atomikos.com/Documentation/Tomcat6Integration33 shows that AtomikosLifecycleListener instantiates UserTransactionManager, while javadoc of this class recommends to use J2eeTransactionManager in Java EE environment. This looks confusing, not sure which one is correct. Can someone throw some light on this?

Thanks,
Vinod
Vinod Singh Send private email
Monday, February 16, 2009
 
 
Hi,

The J2eeTransactionManager does not startup the transaction core (needs to be started explicitly).

The UserTransactionManager does startup the core (if not already running). However, you can now also disable this by setting the startupTransactionService property to false.

It all depends if this auto-startup is what you want or not. That in turn depends on the application and whether or not multiple (web)apps share the same transaction core.

Guy
Guy Pardon Send private email
Wednesday, February 18, 2009
 
 
Guy,

With J2eeTransactionManager, how can one start the transaction core?

Thanks,
Vinod
Vinod Singh Send private email
Wednesday, February 18, 2009
 
 
Hi,

Either using this example: http://www.atomikos.com/Documentation/SpringIntegration#The_Advanced_Case_As_of_3_3

or by following the advanced guidelines in the PDF docs in the download folder.

Best
Guy Pardon Send private email
Wednesday, February 18, 2009
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics