Otherwise it creates a new transaction context.
否则,它将创建新的事务上下文。
Importantly, this transaction context flows back to the application.
更重要地,该事务上下文流回到应用程序。
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.
当事务启动时,事务上下文与执行线程关联在一起。
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服务端点在部署描述符规定的事务上下文中运行。
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.
当线程经过合作对象时,事务管理程序使用线程的事务上下文来执行所有的工作。
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.
这里需要注意的一点在于,服务对象本地调用并不经过事务代理,因此将始终在调用者的事务上下文中进行。
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 调用最后得到的事务范围。
If you cannot change the database stored procedure, you can use the NotSupported attribute to suspend the existing transaction context to avoid this fatal exception.
如果您无法修改数据库存储过程,那么您可以使用NotSupported属性来暂停已有事务上下文,以避免这种致命的异常。
When you use the REQUIRES_NEW transaction attribute, if an existing transaction context is present, the current transaction is suspended and a new transaction started.
使用 REQUIRES_NEW事务属性时,如果存在现有事务上下文,当前的事务会被挂起并启动一个新事务。
The optimized local adapter CICS link server running in CICS reads the XA transaction context and creates a new unit of work to run the specified native language program.
在CICS中运行的优化的本地适配器CICS链接服务器读取xa事务上下文并创建新的工作单元以便运行指定的本地语言程序。
Because you cannot programmatically pass a transaction context, the API layer must use the declarative transaction model, meaning that the container manages the transaction.
由于您不能通过编程传递事务上下文,因此 API层必须使用声明式事务模型,这表示容器将管理事务。
In a Web module that implements a Web service, specify Execute using Web Services Atomic transaction on incoming requests to run under a received client transaction context.
在用于实现Web服务的Web模块中,指定Executeusing WebServicesAtomicTransactionon incomingrequests以便在已收到的客户端事务上下文下运行。
For example, TransactionProxyFactoryBean is a convenience proxy class that can intercept method calls to an existing class and apply a transaction context to a transaction bean.
例如,TransactionProxyFactoryBean是个方便的代理类,能够拦截对现有类的方法调用,并把事务上下文应用到事务bean。
In order to implement consistency and portability, WebSphere Application Server implements this unspecified transaction context using a local transaction containment (LTC) policy.
为了实现一致性和可移植性,WebSphereApplicationServer使用本地事务容器策略(LTC)执行该未指定的事务上下文。
When the Web service request enters the target server, WS-COOR is used to register for participation in a two-phase commit coordinated by the originator of the transaction context.
当Web服务请求进入目标服务器时,将使用WS-COOR 进行注册,以参与到由事务上下文的发起者进行协调的两阶段提交中。
应用推荐