Otherwise it creates a new transaction context.
否则,它将创建新的事务上下文。
Importantly, this transaction context flows back to the application.
更重要地,该事务上下文流回到应用程序。
To draw a parallel, the concept is very similar to a transaction context.
作一比较,这个概念非常类似于事务上下文。
Listing 1 shows how we specify the transaction context for an atomic request.
清单1展示了我们如何指定原子请求的事务上下文。
First, transaction context switches are quite expensive operations in terms of computation time.
首先,就计算时间而言,事务上下文切换是开销相当大的操作。
Request 1: Does the application request from .NET contain SOAP headers with transaction context?
请求1:来自.NET的应用程序请求是否包含SOAP标头和事务上下文?
When a transaction is initiated, the transaction context is associated with the executing thread.
当事务启动时,事务上下文与执行线程关联在一起。
Figure 1 demonstrates how the transaction context follows the path of execution from servlet to EJB to EJB.
图1演示了事务上下文怎样遵守从servlet到ejb,再到EJB的执行路径。
This is analogous to the distribution of transaction context over IIOP as described in the EJB specification.
这类似于通过IIOP对事务上下文进行分发,如ejb规范中所述。
In this example, you have an SCA service called DataAccessService that requires a transaction context to be propagated.
在本例中,您拥有一个名为DataAccessService的服务,该服务需要传播一个事务上下文。
WS-Coordination (WS-Coor), which provides the underlying mechanism for the creation and exchange of transaction context.
WS - Coordination (WS - Coor)提供创建和交换事务上下文的基础机制。
Transaction considerations: An EJB service endpoint runs in a transaction context specified in the deployment descriptor.
事务问题:EJB服务端点在部署描述符规定的事务上下文中运行。
Control object, as a transaction context object, is passed through the whole transaction process from beginning to the end.
在整个事务处理过程中,作为事务上下文对象传递控制对象。
Managed threads are somewhat heavyweight and are associated with metadata, such as the transaction context and security context.
托管线程是重量级的,与元数据相关联,如事务上下文和安全上下文等。
For example, you can make the call asynchronous, you can change the transaction context, or make asynchronous calls more reliable.
例如,您可以使调用异步化、可以更改事务上下文,或者使异步调用更加可靠。
The transaction context from the client layer will propagate to the API layer methods and all methods invoked under the API layer.
客户端层中的事务上下文将传播给API 层方法以及在 API 层中调用的所有方法。
When specified on the reference element, this intent has the effect of not propagating the transaction context of the calling service.
在reference元素上指定时,此意图不传播调用服务的事务上下文。
If updates are required to multiple resource managers, such as two different CICS systems, then a global transaction context is required.
如果需要对多个资源管理器(如两个不同的CICS系统)进行更新,则需要全局事务上下文。
As the thread passes through the collaborating objects, the transaction manager USES the thread's transaction context to perform all work.
当线程经过合作对象时,事务管理程序使用线程的事务上下文来执行所有的工作。
When transactional work is done, it is managed under the transaction context and completed when this context is called to commit or rollback.
当事务工作完成,在事务上下文里管理它,当调用这个上下文去确定或会滚时这个工作完成。
You'll then set up Spring AOP's TransactionProxyFactoryBean to intercept method calls and declaratively apply a transaction context to the DOA.
然后要设置SpringAOP的TransactionProxyFactoryBean,让它拦截方法调用并声明性地把事务上下文应用到DOA。
Although not covered in the above scenario, the invocations between Open and Classic SCA can also handle security and transaction context propagation.
虽然上面的方案中没有介绍,OpenSCA和Classic sca之间的调用还可以处理安全性和事务上下文传播。
TransactionService: Defines transaction context within services, allowing for clean data operations when multiple tasks are operating at the same time.
TransactionService:在服务中定义事务上下文,允许在同时操作多项任务时清除数据操作。
Otherwise it will run without a transaction context, with the assumption that it is the only method being invoked within the logical unit of work (LUW).
否则,它将在事务上下文之外运行,并假设它是惟一一个在逻辑工作单元(LUW)内得到调用的方法。
When specified on a reference, the propagatesTransaction intent indicates that the current transaction context will be propagated to the called service.
在引用上指定时,propagatesTransaction 意图指示当前事务上下文将传播到被调用的服务。
Therefore, a global transaction context is not necessary to maintain transaction integrity, as there is only one resource manager within the transaction.
所以全局事务上下文不需要维护事务的完整性,因为在事务里只有一个资源管理器。
Otherwise, it will run without a transaction context, with the assumption that it is the only method being invoked within the logical unit of work (LUW).
否则,它将在没有事务上下文的情况下运行,这需要假设它是在逻辑工作单元(LUW)中惟一调用的方法。
One caveat here is that service object local calls do not go through the transactional proxy, and thus will always occur in the transaction context of the caller.
这里需要注意的一点在于,服务对象本地调用并不经过事务代理,因此将始终在调用者的事务上下文中进行。
Any: If a global transaction context has been propagated from the client, the runtime environment will dispatch methods from the component in a global transaction.
Any:如果一个本地事务上下文是从客户端传播的,那么在全局事务中运行时环境将从组件分派方法。
The transaction attribute and the initial presence of a transaction context both affect the ECI call type and the resulting transactional scope of the call to CICS.
事务属性和事务上下文的初始存在都会影响ECI调用类型和对 CICS 调用最后得到的事务范围。
应用推荐