users@glassfish.java.net

Re: JTS5041: The resource manager is doing work outside a global transacti

From: <glassfish_at_javadesktop.org>
Date: Tue, 29 Jul 2008 16:22:35 PDT

Now I'm totally confused... are you still getting "JTS5041: The resource manager is doing work outside a global transaction"?

CMT is easier because you don't need to check the tx status in your bean to decide if there is already a transaction in progress or you need to start one. Also, you don't need to have try - commit - catch - rollback code everywhere in your beans. So it's usually really the best choice.

Regards,
-marina
[Message sent by forum member 'mvatkina' (mvatkina)]

http://forums.java.net/jive/thread.jspa?messageID=290212