Patent ID: 6839732

Claim:
A computer system for providing a gateway between a transaction manager for managing database transactions from a set of applications, and a server, the computer system comprising: a listener process for receiving inbound connection requests from the transaction manager; a set of gateway agents for establishing connections to the transaction manager for receiving transaction requests and for establishing connections to the server; a wait queue; and a logical agent scheduler for managing sets of logical agents, a logical agent comprising data representing a connected application from the transaction manager, each logical agent having an associated inbound connection identifier, whereby the logical agent scheduler passes a selected logical agent and an associated inbound connection identifier to an available gateway agent and where the gateway has no available gateway agent, providing the logical agent and the associated inbound connection identifier to the wait queue, a selected gateway agent removes a logical agent and an associated inbound connection identifier from the wait queue when the selected gateway agent is available and the wait queue is non-empty, and for a logical agent passed by the logical agent scheduler or removed from the wait queue, the gateway agent establishes a connection to the transaction manager as defined by the associated inbound connection identifier and establishes a connection to the server to implement the logical agent.