What is the difference between connection pool and data source

Showing Answers 1 - 6 of 6 Answers

I dont think we can compare connection pool and data source.

Both serves to access the database thru our application.

If you create a connection pool in your web/app server then you can use them and access the DB.

Data source in turn will get DB connection thru the connection pool. If you have multiple connection pool (for round robin / failure handling) then it is easy to configure thru data source.

Thanks
Prasanna Balaraman

Actually to use connection objects in the connection pool we need datasource object .
if you take weblogic , if u want to contact to connection pool , u must get data source object. Thats all.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions