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

What is garbage collector?

819


What are heap memory and stack memory and what are memory tables.

732


What is an image buffer?

728


Which package is imported by default?

834


How do you check if an arraylist is not empty?

790


What is nullpointerexception?

762


what is enumset?

797


what do you understand by synchronization? Or what is synchronization and why is it important? Or describe synchronization in respect to multithreading? Or what is synchronization? : Java thread

705


What is data string?

691


What is += mean in java?

765


Should database connections be singleton?

764


What is classpath?

762


What is a java developer salary?

735


what are the methods in object?

864


How many bits is size_t?

742