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
How do I identify the document type of an xml document? : BEA Weblogic
Which memory space does thread stack get allocated from?
How to pass arugments to server through machine?
What is meant by jdbc and configuration details?
How do I call oracle stored procedures that take no parameters? : BEA Weblogic
What is weblogic?
List components of jndi?
Why would a client application use jta transactions?
Do ejbs have to be homogeneously deployed across a cluster?
tell me the permenent memory issues?
How can I debug the java code that I have running in weblogic server? : BEA Weblogic
Why do we need to remove cache?
How can I set deployment order for applications?
What is a Thread dump? How will you take in unix/linux and windows ?
What are data-sources and what features do they offer?