In order to implement recovery from failure scenarios, the transaction manager and the resource manager must be able to recover from a failure at any point in the transactional flow.
为了执行从故障场景中恢复,事务管理器和资源管理器必须能够在事务流程的任何点从故障中恢复。
3
These flows are transactional, using mechanisms such as two-phase commit, so that the entire flow can be rolled back in the case of a failure, or committed in the case of success.