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
How to perform bubble sort in java?
What is difference between static class and normal class?
What is instanceof keyword?
What is stack explain?
Why use string handling in Java?
What happens to a static var that is defined within a method of a class?
Differences between external iteration and internal iteration?
how we can make a read-only class in java?
Differentiate between class and structure.
What are different data types?
What are namespaces in java?
What is ph and buffers?
What are the benefits of immutable objects?
does java support pointers?
What do the thread?class methods run() and start() do?