Apache Tomcat
Apache Tomcat down
Key Features and Benefits:
Simple Implementation:
The core of the connection pool is relatively small, with a lower source file count compared to other connection pools.
Customizable Interceptors:
JDBC Interceptors allow for flexible customization of the pool, query execution, and result set handling.
Asynchronous Connection Retrieval:
Users can queue requests for connections and receive a Future.
Validation Intervals:
Connections are validated periodically, but not more frequently than a configured interval, reducing unnecessary validation.
Run-Once Query:
A configurable SQL query can be executed only once when a connection is established.
Fair Queue:
The fairQueue feature ensures thread fairness when retrieving connections.
Abandoned Connection Handling:
Connections can be marked as abandoned based on pool usage or a timeout threshold.
High Concurrency Support:
The pool is designed to handle high concurrency and multi-core/CPU systems.
Integration with JNDI:
Tomcat's JDBC pool can be configured and accessed through JNDI (Java Naming and Directory Interface).