Enterprise Java Development@TOPIC@

Part XX. EJB Transactions and Concurrency

2019-08-22 07:11 EST

Table of Contents

Purpose
1. Goals
2. Objectives
102. Transactions
102.1. Transaction Examples
102.2. Transaction ACID Properties
102.3. EJB Transaction Scenarios
102.3.1. Scenario: Multiple DB Updates
102.3.2. Scenario: Update Multiple Databases
102.3.3. Scenario: Coordinate JMS with Database Transaction
102.4. Transaction Terms
102.5. JTA and JTS Specifications
102.5.1. Java Transaction API (JTA)
102.5.2. Java Transaction API (JTA) and Java Transaction Service (JTS)
102.6. EJB Transactions
102.6.1. Container-Managed Transactions (default)
102.6.2. Bean-Managed Transactions
102.7. Summary
103. Container-Managed Transactions
103.1. Transaction Scope
103.1.1. Transaction Not Supported
103.1.2. Transaction Required
103.1.3. Transaction Supports
103.1.4. Transaction Requires New
103.1.5. Transaction Mandatory
103.1.6. Transaction Never
103.1.7. All Transaction Scopes
103.2. @Asynchronous Methods and Transactions
103.3. EJB Lifecycle Methods
103.4. Callback Methods
103.4.1. Message Driven Callback
103.4.2. Timer Callbacks @Asynchronous
103.5. EJB Control of Container-Managed Transactions
103.5.1. EJBContext
103.6. Exceptions
103.6.1. Checked/Application Exceptions
103.6.2. Checked/Application Exception Rollback
103.7. Persistence Context Propagation
103.8. Summary
104. Bean-Managed Transactions
104.1. UserTransaction
104.2. Message-Driven Callbacks and Bean-Managed Transactions
104.3. Summary
105. Stateful Session Synchronization
105.1. Stateful Session Synchronization Events
105.2. Additional Stateful Rules
105.3. Summary