Java - Java Transaction API - JTA

> Procedural Languages > Java

1 - About

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.

Advertising

3 - Documentation / Reference

lang/java/jta.txt · Last modified: 2018/10/18 13:59 by 162.158.78.158