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 is nmenroll in wlst?
What are weblogic clusters?
What are the toolbar elements.
Explain different parts available as part of jvm and describe them in few lines.
How can default jvm be changed to others?
What are class paths?
When deploying a resource adapter (.rar) to weblogic server, are its classes placed in the weblogic classpath? : BEA Weblogic
How do I use jta transactions within an mdb? : BEA Weblogic
What Is The Purpose Of Clustering ?
How can I avoid asynchronous message deadlocks? : BEA Weblogic
What is a local transaction?
What is the nm?
How many types do you configure managed server in weblogic server?
Msi replica mode??
How do I identify the document type of an xml document? : BEA Weblogic