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 modifiers may be used with an inner class that is a member of an outer class?
Why use a datasource when you can directly specify a connection details?
What is the difference between the session.update() method and the session.lock() method?
Whats new with the stop(), suspend() and resume() methods in jdk 1.2?
Which are the different segments of memory?
Which container method is used to cause a container to be laid out and redisplayed?
What is the immediate superclass of the applet class?
how to make a index.jsp for running the site in internet and find an error for connection with weblogic server and java that give an error invalid object name.and how to maintain session.
int x=5,i=1,y=0; while(i<=5) { y=x++ + ++x; i=i+2; } System.out.println(x); System.out.println(y); System.out.println(i); How to solve this? Please explain!
What is jboss?
What are various types of class loaders used by jvm?
Can I have an action without a form?
What are the different approaches to represent an inheritance hierarchy?
How to implement RMI in Java?
Can constructors be synchronized in java?