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
Why Do I Get A "permission Denied" Error After Downloading The .jnlp Java Launcher For The Vkvm?
Why generics are used in java?
How many times finalize method will be invoked? Who invokes finalize() method in java?
What is the maximum size of byte array in java?
What is a stringbuilder?
What is the use of flag?
What is Hierarchy of exception?
What is keyset in java?
Explain about wait() method?
What is matcher in java?
What are sets in java?
What is java virtual machine? Explain
How do you compare arrays in java?
What is the use of jtable?
Where pragma is used?