Coordination points (transaction demarcation).
协调点(事务划分)。
We'll focus on programmatic transaction demarcation.
我们将侧重于编程式事务界定。
Transaction demarcation code is separated from the DAO.
事务界定代码从DAO中分离出来。
Next, we'll see how transaction demarcation is done using JTA.
在下面,我们将看一下如何用JTA进行事务界定。
Transaction demarcation code is embedded inside the DAO class.
事务界定代码嵌入在dao类中。
There are two main strategies for transaction demarcation in DAOs.
在 DAO中有两种主要的界定事务的策略。
Where a transaction starts and ends is referred to as transaction demarcation.
事务启动和结束的地方被称为 事务划分(transaction demarcation)。
The DAO may use Spring's declarative transaction demarcation as described above.
DAO可以使用上面描述的Spring声明式事务划分。
Specifically, I'll cover logging, exception handling, and transaction demarcation.
更确切地说,我将讨论日志、异常处理和事务界定。
Transaction demarcation is the manner in which transaction boundaries are defined.
事务界定是定义事务边界的方式。
After 1991, this led to lively demarcation disputes among the newly independent countries.
1991年后,新独立国家的出现导致划界争端再起。
Description: This is a J2C interface for transaction demarcation on a corresponding connection.
描述:这是用于相应连接上的事务划分的J2C接口。
We will return to this requirement when we discuss transaction demarcation in Part 3 of this series.
在本系列的第3部分中讨论事务划分时,我们将详细讨论这个需求。
With JDBC transaction demarcation, you can combine multiple SQL statements into a single transaction.
使用JDBC事务界定时,您可以将多个sql语句结合到一个事务中。
In this case, your transaction demarcation code is intermixed with code that implements the business logic.
在这种情况下,事务界定代码与实现业务逻辑的代码混杂在一起。
Transaction demarcation can have a negative effect on service layer reusability if implemented inappropriately.
如果实现方式不当,事务划分会对服务层可重用性产生负面影响。
JDBC transaction demarcation is simpler than JTA transaction demarcation, but JTA provides greater flexibility.
JDBC事务界定比JTA事务界定要简单,但是JTA提供了更多的灵活性。
Spring uses a transaction manager interface implementation to perform the actual transaction demarcation at runtime.
Spring在运行时使用一个事务管理器接口实现来执行实际的事务划分。
Knowing the answers to these questions will help you choose the transaction demarcation strategy that is best for your DAOs.
了解上述问题的答案将有助于您选择最适合的DAO的事务界定策略。
I must help the two warring factions to delineate their territories and to establish a fair demarcation line between their realms.
我必须帮助那里两个交战的派别划分领地范围,确定双方公正的边界线。
We've looked at transaction demarcation and logging and you now have a deeper understanding of how each applies to data access objects.
我们讨论过了事务界定和日志,现在对于如何在数据访问对象上应用它们有了更深入的理解。
For all the transactional RPCs, you can use either container-managed transaction demarcation or component-managed transaction demarcation.
对于所有事务的RPC,您可以使用容器管理的事务划分或者组件管理的事务划分。
This transaction demarcation strategy is especially valuable for applications that need to access multiple DAOs in a single transaction.
这种事务界定策略对于需要在一个事务中访问多个DAO的应用程序特别有用。
Unlike the example in Listing 1, with declarative transaction demarcation there is no transaction management code in the component methods.
与清单1中的示例不同,由于有宣告式事务划分,这段组件代码中没有事务管理代码。
The J2EE specification describes two models for transaction demarcation: programmatic and declarative. Table 1 breaks down the two models.
J2EE规范描述了两种事务界定的模型:编程序(programmatic)和声明式(declarative)。
MovieDAO is a DAO that demonstrates all of the techniques discussed in this article: transaction demarcation, logging, and exception handling.
MovieDAO是一个展示本文中讨论的所有技术的DAO:事务界定、日志和异常处理。
All the strategies can be used to perform declarative transaction demarcation either via embedded attributes or non-invasive XML configuration.
所有的事务策略都可以通过嵌入的特性或者非侵入性的XML配置来完成。
When the transactional requirements of the application are not very complex, programmatic transaction demarcation can be cumbersome and error-prone.
当应用程序的事务需求并不非常复杂时,编程方式的事务划分可能非常繁琐和容易出错。
Once the business activities are determined, and the set of services is defined and grouped, the next step is to indicate transaction demarcation points.
一旦确定了业务活动,并且定义并将服务集分了组,那么下一个步骤就是指示事务划分点。
Specifically, you'll learn about the JCA's two transaction demarcation techniques, distributed transaction demarcation and programmatic transaction demarcation.
具体地说,您将学习JCA的两个事务界定技术:分布式事务界定和程序性事务界定。
应用推荐