View RSS Feed


Java Database Connectivity (JDBC) examples. SQL with Java.

  1. Getting and Using Pooled Connections

    by , 04-27-2012 at 08:06 PM
    A connection pool is a cache of database connection objects. The objects represent physical database connections that can be used by an application to connect to a database. At run time, the application requests a connection from the pool. If the pool contains a connection that can satisfy the request, it returns the connection to the application. If no connections are found, a new connection is created and returned to the application. The application uses the connection to perform some work on ...