Patent ID: 7089565

Claim:
A system for providing a reusable connection handle for transactions in a software architecture on a computer platform, the system comprising: a managed connection interface within the architecture, the managed connection interface associated with a plurality of managed connections; a plurality of connection handles, each connection handle discretely identifiable within the architecture and selectively associated with a managed connection of the plurality of managed connections associated with the managed connection interface; a cleanup method within the managed connection interface, the cleanup method disassociating all of the connection handles from the managed connection associated with the managed connection interface within the architecture such that each connection handle enters a disassociated state, the cleanup method causing each of the connection handles to maintain key state information upon being disassociated from a managed connection; and a resource adapter within the architecture that selectively reassociates at least a selected one of the disassociated connection handles with a managed connection of the plurality of managed connections associated with the managed connection interface within the architecture, based on the key state information maintained by the selected one of the connection handles.