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
Explain aggregation in java?
What is internal variable?
Convert a BST into a DLL and DLL to BST in place.
How does a for loop work java?
When to use runnable interface vs thread class in java?
What happens if a constructor is declared private?
How to access arraylist elements in java?
Tell me the Importent classes in net package?
What is purpose of find feature?
What are variable arguments or varargs?
What is the program compilation process?
What are the three parts of a lambda expression? What is the type of lambda expression?
Can you extend main method in java?
how to create constants in java?
How does system arraycopy work in java?