Answer Posted / p.nandakishore
the most time consuming process when we work with a
database is to create a connection object. when application
goes out of scope the object becomes a candidate for
grabage collector. every time we create and every it will
be destroyed. this as effect on a distributed application,
where n no clients are waiting for the response. Connection
pooling is a concept of object reusability.This is a
service provided by application servers.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is difference between static and abstract class?
how to deploy tomcatserver to weblogic server? write d following steps?
Can we nested try statements in java?
How to change the priority of thread or how to set priority of thread?
I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?
Why do we need array in java?
What state does a thread enter when it terminates its processing in java programming?
What are methods?
What is the final access modifier in java?
Given a singly linked list, how will you print out its contents in the reverse order? Can you do it with consuming any extra space?
What is prime number in java?
Explain yield() method in thread class ?
What is the difference between variable & constant?
Can we write method inside a method in java?
What do you understand by soft reference?