Why we need datasource, why can't we directly use the connection pool instead of datasource
posted 10 years ago
application don't need to get brand new connection from database. It gets connection from datasource pool and returns to pool. Moreover you can specify maximum and minimum number of conneections which an application may open with database.