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 enhancements in ejb 2.0 with respect to cmp?
What is a domain?
How Can Cluster Communication Occur ?
When should I use the external_stage option?
Do you know what is the meaning of classformaterrors used with the applet?
What is non-stage deployment?
When deploying a resource adapter (.rar) to weblogic server, are its classes placed in the weblogic classpath? : BEA Weblogic
tell me the permenent memory issues?
In what ways can a web logic servers performance be improved upon?
How is the security handled in web logic j2ee connector architecture?
Differences between an application server and a web-server? What is the conman architecture which is used forhigh availability and load balancing describe in few lines.
What is the function of T3 in WebLogic Server ?
What are the common domain types?
What is cluster in weblogic?
What all jvm analysis/profiling tools you are familiar with please write the names?