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
How does a for loop work java?
Give the hierarchy of inputstream and outputstream classes.
When a thread is executing synchronized methods , then is it possible to execute other synchronized methods simultaneously by other threads?
Is it possible to define a method in java class but provide it’s implementation in the code of another language like c?
What is singleton pattern?
Why there are some null interface in java? What does it mean?
Is an empty arraylist null?
Can you call a method in a method?
When is update method called?
What is an immutable object?
What is a Null object?
What is callablestatement? How you can call stored procedure to pass in parameter?
how come we know the object is no more used in the class?
What class allows you to read objects directly from a stream in java programming?
What are the Class Libraries ?