Explain Connection Pooling?

Answer Posted / sudhakartalluri

Connection Pooling it was nothing but a pool of connection
objects to communicate to database.Generally we will create
our own objects for interacting with databases but,in some
times there is a necessary to create more connection objects
even if they not needed that much.So in this times we will
go for connection pooling mechanism.

In this we will create connection pool in application server
and we will store some connection objects to connection pool
When ever the client or user needs to access database then
with help of Intialcontext lookup() method we can reffer to
connection object.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why Do I Get A "permission Denied" Error After Downloading The .jnlp Java Launcher For The Vkvm?

859


Why generics are used in java?

773


How many times finalize method will be invoked? Who invokes finalize() method in java?

785


What is the maximum size of byte array in java?

764


What is a stringbuilder?

707


What is the use of flag?

837


What is Hierarchy of exception?

840


What is keyset in java?

837


Explain about wait() method?

781


What is matcher in java?

727


What are sets in java?

726


What is java virtual machine? Explain

773


How do you compare arrays in java?

711


What is the use of jtable?

853


Where pragma is used?

824