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 the meaning of course?
Explain what access modifiers can be used for variables?
Give few examples of final classes defined in Java API?
Why Set interface contains unique elements, what internally implemented for this so that it contains unique elements?
Break statement can be used as labels in java?
What classes of exceptions may be caught by a catch clause in java programming?
What is the file type?
Is 9 a prime number?
What is variable in java?
Can arraylist hold different types java?
A non-static inner class may have object instances that are associated with instances of the class’s outer class. A static inner class does not have any object instances.
Which way a developer should use for creating thread, i.e. Sub classing thread or implementing runnable.
How many threads does a core java have?
How many types of constructors are used in java?
Is assembly language a low level language?