I am creating a List of 10 objects of type java.sql.Connection in my main method to implement ConnectionPool. Then I am creating 10 threads which will use these connections for