Sunday, November 16, 2008

Proxool 0.9.1

Proxool 0.9.1

Proxool is a JDBC connection-pool provider. Works near-seamlessly with standard way of JDBC. Here is how it works:

Change this
    Class.forName("org.hsqldb.jdbcDriver");
    connection = DriverManager.getConnection("jdbc:hsqldb:test");
to this
    Class.forName("org.logicalcobwebs.proxool.ProxoolDriver");
    connection = DriverManager.getConnection("proxool.example:org.hsqldb.jdbcDriver:jdbc:hsqldb:test");

Thats it.... or, it you want to configure stuff at startup (there are several options), you can do this:
    connection = DriverManager.getConnection("proxool.example");

Not bad... you might find a proper use this someday...

The providers say it's open-source, maintained. I am still not sure who uses it, though.
Blogged with the Flock Browser

No comments: