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 difference between iterator and list iterator?
What is high level language in computer?
Explain different ways of creating a thread. Which one would you prefer and why?
What is scope & storage allocation of static, local and register variables? Explain with an example.
What is io stream in java?
Does java support multiple inheritances?
Explain about version control?
What are default methods ?
What is a classloader in java?
What is data type in java?
Describe different states of a thread.
Can an object subclass another object?
What is functional interface in java example?
Explain working of call by reference function invoking.
Explain the difference between an Interface and an Abstract class?