Apparatus, method and computer program product for client/server computing with programmable action by transaction coordinator during prepared state — devreal.ai
Apparatus, method and computer program product for client/server computing with programmable action by transaction coordinator during prepared state
A server for use in a client/server computing system which coordinates the processing of distributed transactions in the client/server computing system, the server has: a means for sending requests for votes to each resource which has been called by the server to take part in a distributed transaction; a means for receiving votes from each resource in response to having sent requests for votes; a means for determining whether any of the resources has thrown an exception instead of returning a vote; and a means for assigning a programmed direction as a vote to a resource which has thrown an exception to complete the transaction if it is determined that a resource has thrown an exception instead of returning a vote.