启用分布式事务不需要配置。
No configuration is required to enable distributed transactions.
两阶段提交分布式事务和RAC配置
Two-phase commit distributed transactions and RAC configuration
开发嵌入式事务容器逻辑。
参与分布式事务的数据库。
使用分布式事务进行开发。
为什么使用分布式事务?
分布式事务中的保存点。
图2演示了一个包含分布式事务的典型环境。
Figure 2 demonstrates a typical environment containing Distributed Transactions.
控制执行分布式事务是J2EE容器的职责。
It's a responsibility of the J2EE container to control execution of distributed transactions.
这些业务逻辑组件被称为嵌入式事务应用程序。
These business logic components are referred to as embedded transaction applications.
下面几节描述涉及嵌入式事务特有问题的任务。
The following sections describe tasks that involve embedded transaction specific considerations.
什么是分布式事务?
应用程序可以在分布式事务中使用受信任连接。
The application program will be able to utilize the trusted connection in an distributed transactions.
操作多个资源的任何功能都应该使用分布式事务。
Any function that manipulates more than one resource should use a distributed transaction.
如果不使用分布式事务,数据可能会重复或丢失。
Without a distributed transaction, the data can be either duplicated or lost.
嵌入式事务容器。
管理分布式事务。
下图是xa规范,它展示了分布式事务的各部分。
This diagram form the XA specification shows the parts of a distributed transaction.
你必须打破常规模式,比如ACID和分布式事务。
You have to break away from conventional patterns, such as ACID and distributed transactions.
完成:应用利用此协议来初始化分布式事务提交循环。
Completion: Applications use this protocol to initiate the distributed transaction's commit cycle.
IBM的研究小组提出了实现分布式事务的另一种途径。
An alternative approach to implementing distributed transactions has been proposed by a team of IBM researchers.
有许多(但不是全部)分布式事务的实现使用两阶段提交。
Many, but not all, distributed transaction implementations use two-phase commit.
DAO可以使用上面描述的Spring声明式事务划分。
The DAO may use Spring's declarative transaction demarcation as described above.
云资源现在支持分布式事务,而状态管理则负责处理状态持久化。
The cloud resource now supports distributed transactions and state management now handles state persistence as well.
在谈到分布式事务时,该服务就称作XAResource。
When talking about Distributed Transactions the service is called XA Resource.
如果该应用程序不使用2pc分布式事务,上述简单配置就足够了。
If the applications do not use 2pc distributed transactions, the above simple configuration will suffice.
两阶段提交:首先参与分布式事务的应用程序必须延缓自身的更新。
Phase Commit: an application participating in a distributed transaction has to delay its updates at first.
他把大部分的职业时间都投入到了分布式计算和分布式事务协议上。
He spent most of his career working on distributed computing and distributed transaction protocols.
注意清单1缺乏事务管理(没有编程序或声明式事务注释或代码)。
Notice in Listing 1 the lack of transaction management (no programmatic or declarative transaction annotations or code).
在资金转帐银行场景应用程序中,在进行转帐操作时执行分布式事务。
In the funds transfer banking scenario application, a distributed transaction is executed when a transfer operation is performed.
应用推荐