Patent ID: 7770214

Claim:
A computer program product comprising a computer readable storage medium having computer usable program code programmed for establishing a reusable connection within a trusted context, the computer program product comprising operations for: defining a trusted context between a middleware server and a data server, the trusted context defined by a trusted context definition; establishing a trusted connection between the middleware server and the data server based on the trusted context definition by accessing a set of connection retrieval interfaces that enable interoperability within the trusted context among a plurality of distinct connection types, and selecting a connection retrieval interface for use in establishing the trusted connection in response to a connection retrieval request, the connection retrieval request identifying a connection type, the set of connection retrieval interfaces comprising a pooled connection interface for establishing a pooled connection within the trusted context and a distribution transaction connection interface for establishing a distribution transaction connection within the trusted context; authenticating the middleware server to the data server; saving unique identifiable information regarding the trusted connection in a persistent storage such that the connection may be reused without re-authentication; reusing the trusted connection without re-authentication based on the unique identifiable information; and reconfiguring the trusted connection without re-authentication based on the unique identifiable information, a set of reconfiguration interfaces enabling a client application to selectively request changes to one or more reconfigurable properties of the trusted connection, the requested changes satisfying the trusted context definition.