GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  J2EE  >  JDBC
Go To First  |  Previous Question  |  Next Question 
 JDBC  |  Question 8 of 138    Print  
What is Connection Pooling

  
Total Answers and Comments: 9 Last Update: April 06, 2006   
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: kiran
 
Connection pooling is a place where a set of connections are kept and are used by the different programers with out creating conncections to the database(it means there is a ready made connection available for the programmers where he can use). After using the connection he can send back that connection to the connection pool. Number of connections in connection pool may vary.

Above answer was rated as good by the following members:
pradeepkmr18
May 28, 2005 17:56:01   
Chaitanya        

RE: What is Connection Pooling
Connection pooling is the process of reusing the database connections created between the application and the database by then increasing the performance of the application.

Suppose that there is table in the database called 'employer' if a objects asks the application server to create a connection between the table and the object the appServer creates but it does not throw away the connection it keeps the connection information in a pool if again the object requires to connect to the table it doesn't require to create a new connection as the connection available in the connection pool can be reused.Hence increase in performance.

 
Is this answer useful? Yes | No
June 01, 2005 06:03:28   
Vidhiya        

RE: What is Connection Pooling
Connection Pooling is a technique used for sharing the server resources among requested clients. It was pioneered by database vendors to allow multiple clients to share a cached set of connection objects that provides access to a database.
 
Is this answer useful? Yes | No
July 13, 2005 07:38:46   
kiran        

RE: What is Connection Pooling
Connection pooling is a place where a set of connections are kept and are used by the different programers with out creating conncections to the database(it means there is a ready made connection available for the programmers where he can use). After using the connection he can send back that connection to the connection pool. Number of connections in connection pool may vary.
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
July 24, 2005 18:59:20   
RK        

RE: What is Connection Pooling
Getting connection and disconnecting are tasks by itself which costs to the application perfomance so we should aovid it.
To be more precise depending of the Max & Min connections parm set in the specific Appserver config it intially either gets the min set of ready to connections or would be request based till the max connections are used. Once DB operations are done the free DB connections are re-used.

 
Is this answer useful? Yes | No
July 27, 2005 12:36:59   
maheshperla        

RE: What is Connection Pooling
what is servkets new version?what is difference between old version and new version?
 
Is this answer useful? Yes | No
August 26, 2005 12:50:38   
sudha        

RE: What is Connection Pooling
Getting connection and disconnecting are tasks by itself which costs to the application perfomance so we should aovid it.
To be more precise depending of the Max & Min connections parm set in the specific Appserver config it intially either gets the min set of ready to connections or would be request based till the max connections are used. Once DB operations are done the free DB connections are re-used.

 
Is this answer useful? Yes | No
October 18, 2005 08:32:27   
safiya        

RE: What is Connection Pooling
Connection pooling means set of connections are available to connect after use this connection disconnect it then others can use it.It reduce the time and it can be reusable.Any number of connections can be used by user.
 
Is this answer useful? Yes | No
March 27, 2006 00:41:47   
murlikrishna Member Since: March 2006   Contribution: 3    

RE: What is Connection Pooling
If u have used a sql or other datsbase and act on the data getting the connection and logging in is the part that takes the most time An application can easily spend several seconds every time it needs to establish a connection
 
Is this answer useful? Yes | No
April 06, 2006 01:37:16   
chandra sekhar jonnalagadda        

RE: What is Connection Pooling

The Connection Creation section described when connections are created. It described how several context instances can share the same connection. In this type of sharing operations from the different context instances are multiplexed onto the same connection.


 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2010 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape