Question: what is the difference between datasource and connection pool?
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.