I am totally familiar with connection pool libraries, like c3p0, etc... I'm cool with connection pools that are managed by a web container, like Tomcat and WebSphere.
But what about the scenario where you have a stand alone, batch mode Java application (something with a main method) and you want it to be able to take advantage of connection pooling? I mean, if the stand alone program was to manage the pool, it would run, create the pool, use the connections then exit, destroying the pool. This doesn't really buy you anything if you want the application to run and make use of an existing connection pool.
what I am asking is, is there a layer of software than can run in between the database and the Java command line application that can manage the connection pool? This software would provide a port for your Java application to access through JDBC to the connection pool. Any application with a JDBC URL pointing to this port would thereby have use of the connection pool. Now, standalone applications can make use of connection pooling, even though no middleware server (tomcat, glassfish) is there.
Sounds cool. Does it exist? And does it exist for Oracle :)