Step 1 : Register the database driver by using :Class.forName(\" driver classs for that specific database\" );Step 2 : Now create a database connection using :Connection con = DriverManager.getConnection(url,username,password);Step 3: Now Create a query using :Statement stmt = Connection.Statement(\"
Connection Pooling is a technique used for reuse of physical connections and reduced overhead for your application.Connection pooling functionality minimizes expensive operations in the creation and closing of sessions.Database vendor's help multiple clients to share a cached set of connection objects that provides access to a database.