×

System and method for supporting mixed-phase transactions in an object-oriented environment

  • US 6,061,708 A
  • Filed: 05/31/1997
  • Issued: 05/09/2000
  • Est. Priority Date: 05/31/1997
  • Status: Expired due to Fees
First Claim
Patent Images

1. 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; and

    the 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; and

    attempting 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.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×