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
What is bufferedwriter?
Can we store variables in local blocks?
How many arguments can a method have java?
What is equlas() and hashcode() contract in java? Where does it used?
Explain about abstract classes in java?
What is the java virtual machine?
What is procedure writing?
Which collections are thread safe in java?
what is the difference between process and thread? : Java thread
Does isempty check for null?
Why is singleton not thread safe?
What are assembly attributes?
What is difference between adapter class and listener?
What is a dot notation?
What are the features of java?