What is the difference between Connection Pool and data source?
Answer Posted / raju
Connection pool is an mechanism of pre-creating group of connections and keeping them in cache memory for use and reuse.
DataSource is an interface in javax.sql ackage.Datasource is nothing but object oriented representation of connection pool or DataSource can be called as connection factory.
Coming to DataSource implementations some third parties have implemented this datasource and also server vendors like Tomcat,Websphere also implemented.
NOTE:mostly we use the server implemented DataSources
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the supported installation modes for WebLogic Server ?
Explain what are the databases that are available to be used with the web logic j2ee connector architecture?
We see an error like 404 and 500. What do they mean?
Explain the tier architecture of a web logic server?
What is meant by node manager?
What is the difference between weblogic and jboss?
What is the admin server?
What is the no_acknowledge acknowledge mode used for? : BEA Weblogic
What is the max amount of information that can be saved in a session object?
How can I debug the java code that I have running in weblogic server? : BEA Weblogic
How do stubs function inside weblogic server cluster at the time of failure?
What is the nm?
Do you know what is the function of managedconnection.addconnectioneventlistener() in web logic server?
What is a local transaction?
How do I use jta transactions within an mdb? : BEA Weblogic