What is Connection Pooling?
Answer Posted / suraj kumar
Connection pooling is conceptually similar to any other form
of object pooling. Database connections are often expensive to
create because of the overhead of establishing a network
connection and initializing a database connection session. In
turn, connection session initialization often requires time
consuming processing to perform user authentication, establish
transactional contexts and establish other aspects of the
session that are required for subsequent database usage.
Hence, sharing of connection object helps to both alleviate
connection management overhead and decrease development tasks
for data access. The sharing and storing mechanism of
connection object is known as connection pooling.
Is This Answer Correct ? | 16 Yes | 1 No |
Post New Answer View All Answers
What is in-memory replication?
What is the difference between the ‘font’ and ‘fontmetrics’ class?
Why won’t the jvm terminate when I close all the application windows?
What is the argument type of a programs main() method?
Should synchronization primitives be used on bean methods?
Do you think that java should have had pointers?
What are the benefits of detached objects?
Describe responsibilities of Activator?
what is meant by JRMP?
Why a client should be multithreading? Explain.
What is bean? Where can it be used?
What are various types of class loaders used by jvm?
Difference between DurableSubscription and non- DurableSubscription?
Is there a guarantee of uniqueness for entity beans?
How many times may an objects finalize() method be invoked by the garbage collector?