Patent ID: 6061708
Filing Date: 2000-05-09
Classification: G06F

Abstract:
A method for supporting a plurality of different commit procedures in a distributed object-oriented transaction processing environment, the method comprising the steps, all performed within a single global transaction commit cycle, of:a transaction manager on a first server selectively registering distributed object resources requested by a client application for a global transaction as being updateable and committable by either a single-phase, two-phase, or mixed-phase protocol, wherein the object resources are distributed among a plurality of servers including the first server, wherein at least one of the plurality of servers has a transaction manager supporting a single-phase commit protocol, and wherein at least one other of the plurality of servers has a transaction manager supporting a two-phase commit protocol; andthe transaction manager on the first server selectively attempting to commit the registered resources using either the single-phase, two-phase or mixed-phase commit protocol in accordance with the results of the registration step, wherein the transaction manager attempting to commit a registered resource using the mixed-phase commit protocol comprises the steps of:preparing to commit all resources registered as updateable and committable by the two-phase protocol;attempting to commit all resources registered as updateable and committable by the single-phase protocol;rolling-back any resources registered as updateable and committable by the single-phase commit protocol and any resources registered as updateable and committable by the two-phase commit protocol if the attempt to commit a resource registered as updateable and committable by the single-phase protocol was unsuccessful; andattempting to commit all resources registered as updateable and committable by the two-phase commit protocol if the attempt to commit all resources registered as updateable and committable by the single-phase protocol was successful.