摘要:
A data processing method, apparatus, computer program product, and service for assuring timely execution of compensation for non-transactional work which is carried out in a transaction under which a data item is processed. A lock is taken before the data item is processed and, in the event the transaction fails, the same lock is also obtained before the data item is re-processed. As a result, re-processing of the data item is held until the lock obtained by the failed transaction is released and this is only done once compensation of non-transactional work is complete. Thus, compensation completes before the message is re-processed.
摘要:
The present invention provides a framework, such as an extension to the CORBA Activity Service, on which a service can propagate data with remote flows between processes. The service registers, with the framework, a requirement to be given the opportunity to propagate data with any outbound flow. As part of the registration the service specifies a name by which it is to be known. During processing of any outbound remote flow the framework creates a context, obtains data to propagate from the registered service, and adds the data and name of the service to the context for inclusion with the remote flow. In the receiving process the framework finds the name and data in the context and passes the data to a service registered with the same name. The framework may support a plurality of registered services in any given process.
摘要:
A data processing system comprising an object framework, and a plurality of components for supporting an application program utilizing the plurality of components. In the object framework, each of the plurality of components registers with the object framework. Then, in response to the registering, each of the plurality of components is associated with one of a plurality of context groups. Furthermore, each of the plurality of components creates an instance of itself. A first instance is associated with a first context group of a first respective component and a second instance is associated with a second context group of a second respective component. The first instance and the second instance operate independently of each other.
摘要:
A data processing method, apparatus, computer program product, and service for assuring timely execution of compensation for non-transactional work which is carried out in a transaction under which a data item is processed. A lock is taken before the data item is processed and, in the event the transaction fails, the same lock is also obtained before the data item is re-processed. As a result, re-processing of the data item is held until the lock obtained by the failed transaction is released and this is only done once compensation of non-transactional work is complete. Thus, compensation completes before the message is re-processed.