The Java code for JDBC Connection Pool.