O'Reilly logo

Mastering Java EE Development with WildFly by Luca Stancapiano

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Transaction overview

Before starting with the details, we need to understand the basic terminologies. A transaction is a working unit, a set of operations that can succeed or fail in a single atomic unit. Transactions ensure that a unit is either completely executed or completely rolled back. Transactions are important for a secure and solid working of critical operations in enterprise applications. Several resources work in a transaction, for example, business components, databases, and services.

The next image shows a simple concept of a transaction. A transaction consists of three main operations: begin, commitand rollback. The transaction is started by the begin operation. A series of steps is performed, and if all succeeds in the end, the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required