Taming Tomcat
Connection Pools: options
- Tomcat's connection pool is not the only one available
- It's new and people have needed them for a long time
- I use
my own
- Simple, lightweight, reliable
- Designed for use with Servlets
- No special configuration
- Not transparent - software must invoke it
explicitly
- Robust at preventing leaks
- Other open source connection pools include
-
Primrose
- Designed explicitly for use with Tomcat
-
Proxxool
- Claimed to be transparent - no need for explicit
invokation.
-
Jakarta
Commons DBCP
- 'Jakarta
Commons' is the Apache Foundation's project to
produce a collection of reliable and resusable Java
utility components
- To prevent too much wheel re-inventing
- Tomcat's connection pool is built on top of Jakarta
Commons DBCP
- Not robust at preventing leaks