Explain Connection Pooling?

Answer Posted / p.nandakishore

the most time consuming process when we work with a
database is to create a connection object. when application
goes out of scope the object becomes a candidate for
grabage collector. every time we create and every it will
be destroyed. this as effect on a distributed application,
where n no clients are waiting for the response. Connection
pooling is a concept of object reusability.This is a
service provided by application servers.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does a for loop work java?

538


Give the hierarchy of inputstream and outputstream classes.

608


When a thread is executing synchronized methods , then is it possible to execute other synchronized methods simultaneously by other threads?

567


Is it possible to define a method in java class but provide it’s implementation in the code of another language like c?

575


What is singleton pattern?

552






Why there are some null interface in java? What does it mean?

642


Is an empty arraylist null?

591


Can you call a method in a method?

527


When is update method called?

668


What is an immutable object?

580


What is a Null object?

887


What is callablestatement? How you can call stored procedure to pass in parameter?

542


how come we know the object is no more used in the class?

5411


What class allows you to read objects directly from a stream in java programming?

508


What are the Class Libraries ?

593