摘要:
In brief, an object oriented thread context manager, a method and computer program product are provided for object oriented thread context management, particularly for relational databases working with distributed transactions. A context manager is provided for managing a plurality of ContextControl objects. Each ContextControl object comprises a plurality of methods for creating, resuming and suspending context on a thread for a target object. A ContextCoordinator class is provided for managing calls to the plurality of ContextControl objects. A ContextHandleList is provided for storing context information for the ContextControl objects. A specialized ContextCoordinator is provided for managing calls to a specialized ones of the ContextControl objects. A DatabaseContextCoordinator is an example of the specialized ContextCoordinator. The specialized ones of the ContextControl objects are registered and unregistered with the ContextCoordinator class and then registered DatabaseContextCoordinator.
摘要:
Client/server middleware processes a source code client application program so that when the application program signifies the beginning of a transaction using a transaction begin command, the transaction is automatically created locally for a recoverable client and remotely for a non-recoverable client. The source code client application program can thus be written without regard to whether the transaction will be created locally or remotely, the middleware takes care of this function.
摘要:
A server processing method for use in a client/server computing system which carries out transactions, includes steps of: receiving a command from a client process to signify the beginning of a transaction; determining whether a local transaction creator exists; and forwarding on the command to another server if a local transaction creator does not exist and for locally creating transaction state data if a local transaction creator does exist.
摘要:
A client processing apparatus for use in a client/server computing system which carries out transactions, issues a begin command to signify the beginning of a transaction; sends a substantive transactional command to a remote server, said command including a transaction context having a specific value which indicates that a transaction has been started but transaction objects which represent the transaction have not yet been created; and receives a modified transaction context from said remote server once said remote server has created said transaction objects.
摘要:
A server processing method for use in a client/server computing system which carries out transactions, has steps of: receiving a command instructing the server to carry out a step of a transaction; beginning the transaction; and determining whether a predetermined triggering event has occurred during the carrying out of the transaction, and only if the triggering event has occurred, creating a means for coordinating the transaction with respect to a plurality of elements that are involved in carrying out the transaction.
摘要:
A server in a client/server computing system where a distributed transaction is being carried out, has: a server resource having local data associated therewith; a software element for receiving a registration request from the server resource requesting that the server resource be registered in a transaction, after the server resource has received the transaction context in the explicit transaction propagation mode; and a software element for creating a distributed transaction object representing the transaction in response to receipt of the registration request, the distributed transaction object persisting until the transaction is completed.
摘要:
A client processing apparatus for use in a client/server computing system which carries out transactions, the apparatus having: a means for issuing a begin command to signify the beginning of a transaction; a means for sending a command to a an object in a remote server, the command including a transaction context having a specific value which indicates that a transaction has been started but transaction objects which represent the transaction have not yet been created; and a means for receiving a modified transaction context from the remote server once the remote server has created the transaction objects.