Java - Java Transaction API - JTA


JTA transactions are the transactions of the Java EE server.

The Java Transaction API (“JTA”) provides a standard interface for demarcating transactions.

The J2EE architecture provides a default auto commit to handle transaction commits and rollbacks. An auto commit means that any other applications viewing data will see the updated data after each database read or write operation.

However, if your application performs two separate database access operations that depend on each other, you will want to use the JTA API to demarcate where the entire transaction, including both operations, begins, rolls back, and commits.

Documentation / Reference

Powered by ComboStrap