Why use distributed transactions?
为什么使用分布式事务?
Manages distributed transactions.
管理分布式事务。
What are distributed transactions?
什么是分布式事务?
Savepoints in distributed transactions.
分布式事务中的保存点。
Developing with distributed transactions.
使用分布式事务进行开发。
Two-phase commit distributed transactions and RAC configuration
两阶段提交分布式事务和RAC配置
No configuration is required to enable distributed transactions.
启用分布式事务不需要配置。
However, most SOA systems are loosely coupled and do not start distributed transactions.
但大多数SOA系统是松散耦合的,不会启动分布式事务处理。
You have to break away from conventional patterns, such as ACID and distributed transactions.
你必须打破常规模式,比如ACID和分布式事务。
It's a responsibility of the J2EE container to control execution of distributed transactions.
控制执行分布式事务是J2EE容器的职责。
Hibernate Shards does not provide support for distributed transactions within a non-managed environment.
HibernateShards不在一个非托管环境下对分布式事务提供支持。
If the applications do not use 2pc distributed transactions, the above simple configuration will suffice.
如果该应用程序不使用2pc分布式事务,上述简单配置就足够了。
All XA-compliant transactions are distributed transactions; XA supports both single-phase and two-phase commit.
所有遵循XA的事务都是分布式事务。XA既支持一步提交,也支持两阶段提交。
An alternative approach to implementing distributed transactions has been proposed by a team of IBM researchers.
IBM的研究小组提出了实现分布式事务的另一种途径。
The cloud resource now supports distributed transactions and state management now handles state persistence as well.
云资源现在支持分布式事务,而状态管理则负责处理状态持久化。
Making things more interesting, however, is the fact that in my example only EIS2 supports distributed transactions.
但是,为了让事情更有趣,在我的示例中,只有EIS2支持分布式事务。
The CloudResource extends the managed resource to include distributed transactions and state persistence logic, if needed.
CloudResource扩展了托管资源,在需要时支持分布式事务和状态持久化逻辑。
If your application needs to reach hundreds of transactions per second, you're going to find that distributed transactions won't cut it.
如果你的应用需要达到每秒数百笔事务,你会发现分布式事务达不到这一目标。
Transaction handling interfaces deal with managing distributed transactions across various back ends that support a two-phase commit protocol.
事务处理(Transactionhandling)接口负责管理跨支持两阶段提交协议的各种后端的分布式事务。
Other types of activities that need compensation are those that invoke services on remote servers that do not support distributed transactions.
其他类型的需要补偿的活动是那些调用不支持分布式事务的远程服务器上的服务的活动。
If an adapter supports XA transactions, the application can use distributed transactions to coordinate the EIS resource with JDBC and JMS resources.
如果适配器支持xa事务,应用程序就可以使用分布式事务来协调EIS资源与JDBC和JMS资源。
Before diving into how to develop applications using distributed transactions, let's review what distributed transactions are and why they're useful.
在开始研究如何使用分布式事务开发应用程序之前,让我们回顾一下什么是分布式事务以及为什么说它们很有用。
Distributed transactional support, so queue operations can participate in distributed transactions with other resource managers, such as SQL databases.
分布式事务支持,这样队列操作可以同其它资源管理器(如SQL数据库)一起参加分布式事务。
This is a hub-and-spoke collection of two-party relationships that are used to get a large set of parties to agree without use of distributed transactions.
这是一个两方关系的星型(hub - and -spoke)集合,被用于一大群当事人在不使用分布式事务下取得一致意见。
In some cases, although possible, distributed transactions may not be desirable due to the performance overhead associated with the two phase commit protocol.
在有些情况下,即使有可能,分布式事务也可能由于与双向提交协议有关的性能问题而变得不适用。
We also don't use distributed transactions because making an application dependent upon multiple databases brings down the effective availability of the client.
我们也不使用分布式事务,因为让应用依赖于多个数据库会降低客户端实际的可用性。
With this support, business process applications running in WebSphere process Server (hereafter called process Server) can participate in distributed transactions.
借助这种支持,WebSphereProcessServer(下面称为Process Server)中运行的业务流程应用程序就能够参与分布式事务。
However, there can be some subtle recovery issues when 2pc distributed transactions are used in this simple and easy to configure setup, as explained in the next section.
但是,如果在此简单和易于配置的设置中使用2pc分布式事务,可能会存在一些微妙的恢复问题,这将在下一部分中进行说明。
In Part 1, we introduced the concept of a transaction processing monitor (TPM), a program that coordinates the execution of distributed transactions on behalf of an application.
在第1部分,我们介绍了事务处理监视器(TPM)这个概念,TPM是一个程序,它代表应用程序协调分布式事务的执行。
The Universal JDBC Type 2 driver supports distributed transactions using com.ibm.db2.jcc.DB2XADataSource, and connection pooling using com.ibm.db2.jcc.DB2ConnectionPoolDataSource.
通用JDBCType2驱动程序分别使用 com.ibm.db2.jcc.DB2XADataSource和 com.ibm.db2.jcc.DB2ConnectionPoolDataSource来支持分布式事务和连接池。
应用推荐