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 capabilities of weblogic server?
Do you know what are the steps involved in setting up classpath in web logic server?
How to update license?
How are the notifications generated when a server is added to a cluster?
What happens if acknowledge() is called within a transaction? : BEA Weblogic
Explain The Methods For Providing User Credentials For Starting The Server ?
Why would a client application use jta transactions?
which protocol it user to connect manage server to admin ? where it is defined ?
What is Multicast?
What can be the reasons of server hang?
What technologies are included in j2ee?
What is meany by plugin?
Can the bean class implement the ejbobject class directly? If not why?
What is the use of persistent store in weblogic?
Write a program of web logic server to get the connection pool attribute?