Question: what are the difference between connection pool and datasource?
Answer: 1 Answer. Each Connection object created by a DataSource represents a connection to a database - a session in a database, that is. ... Connection objects within the connection pool can be reused in the code later without the need of creating a new connection to the database.