dcsimg

Can a servlet maintain a JTA UserTransaction object across multiple servlet invocations?

Jerry Smith

No. A JTA transaction must start and finish within a single invocation (of the service() method). Note that this question does not address servlets that maintain and manipulate JDBC connections, including a connection's transaction handling.