What is Connection Pooling?
Connection pooling is a technique that was pioneered by database vendors to allow multiple clients to share a cached set of connection objects that provide access to a database resource.
Why should we use Connection Pooling?
Creating and Closing connection is a heavy operation. Connection Pooling give us huge performance improvements.
What is a DataSource?
A DataSource is part of the JDBC specification and is a generalized connection factory. It lets a container or a framework hide connection pooling and transaction management issues from the application code.