×

In-house elegant JDBC connection pooling solution for message broker

  • US 9,098,565 B1
  • Filed: 10/08/2009
  • Issued: 08/04/2015
  • Est. Priority Date: 10/08/2009
  • Status: Active Grant
First Claim
Patent Images

1. A method, comprising:

  • receiving a request from an application at a first request receiver, wherein the requesting application is one of a plurality of applications accessing a system;

    processing the request received at the first request receiver by a request processor;

    transforming the request, as processed by the request processor, from a front end format supported by the requesting application into a back end format supported by the back end mechanism by a request transformer;

    forwarding, by a transceiver, the transformed request to a back end mechanism;

    receiving, by the transceiver, a response to the transformed request from the back end mechanism;

    obtaining information from the response via processing by a response processor;

    transforming, by a response transformer, the response, as processed by the response processor, from the back end format supported by the back end mechanism into the front end format supported by the requesting application of the plurality of applications accessing the system;

    transmitting, by a first response transmitter, the transformed response to the requesting application of the plurality of applications accessing the system;

    maintaining, by a connection pool mechanism, a single global pool of database connections with at least a minimum non-zero number of idle connections open, where the minimum non-zero number of idle connections is determined based on the overall traffic from all applications of the plurality of applications and independent of one or more threads of the application, and where each database connection in the single global pool of database connections is available for any use by all applications of the plurality of applications accessing the system;

    storing the obtained information in a database via a first database connection allocated from the pool of a plurality of database connections created to facilitate access to the database; and

    returning the first database connection to the single global pool of database connections for reuse.

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