Transactions and transactional support are crucial for many Java EE applications. Java EE provides thorough and solid support for transactions on WildFly 10 in the form of JTA 1.2.
Java Transaction Architecture (JTA) is the delegate architecture implemented in WildFly to manage transactions.
This chapter begins with a brief overview of transaction terminology, including ACID (Atomic, Consistent, Isolated, and Durable) properties and transaction isolation levels as well as the concepts of local and distributed transactions. It then describes various distributed transaction scenarios, such as reading a data from a business component and updating information in a database table within a single transaction. The chapter covers the programmatic transaction model provided by JTA and also describes the declarative transaction model used with Java...