I'm trying to make a connection pool following this link: http://192.9.162.55/developer/onlineTraining/Programming/JDCBook/conpool.html
I don't understand something: Somewhere in the class JDCConnectionDriver implements Driver you can find this method:
public static final String URL_PREFIX = "jdbc:jdc:";
public Connection connect(String url, Properties props)
throws SQLException {
if(!url.startsWith(URL_PREFIX) {
return null;
}
return pool.getConnection();
}
so, if you use mysql (for example), the url it will always start with jdbc... so the method connect it will never return you a connection... Why is that?
Also I would like to ask you which is the best connection pooling framework...