Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are the capabilities of weblogic server?

1064


Do you know what are the steps involved in setting up classpath in web logic server?

989


How to update license?

931


How are the notifications generated when a server is added to a cluster?

993


What happens if acknowledge() is called within a transaction? : BEA Weblogic

907


Explain The Methods For Providing User Credentials For Starting The Server ?

981


Why would a client application use jta transactions?

895


which protocol it user to connect manage server to admin ? where it is defined ?

8017


What is Multicast?

1004


What can be the reasons of server hang?

964


What technologies are included in j2ee?

887


What is meany by plugin?

921


Can the bean class implement the ejbobject class directly? If not why?

878


What is the use of persistent store in weblogic?

899


Write a program of web logic server to get the connection pool attribute?

906