I am using
Tomcat and MySQL and connect to a MySQL database through the following code in my
servlet (oversimplified for brevity's sake).
A few questions:
Is the method ds.getConnection() getting a connection from a Connection Pool?
If so, what connection pool? I didn't create any classes that pooled connections? Is it handled by the driver vendor (MySQL Connector/J)?
If my above suspicions are correct, do all major driver vendors pool connections for you?
If so, I suppose that for most web enabled
Java apps the days of having to manually code classes to pool connections for our apps are over...?
Thanks,
Jim