Explain Connection Pooling?

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


Please Help Members By Posting Answers For Below Questions

How objects are stored in java?

546


What are the wrapped, classes?

597


Define an abstract class with reference to java.

573


What is a boolean used for?

586


Is simpledateformat safe to use in the multithreaded program?

537






Can you achieve runtime polymorphism by data members?

581


What does pointer mean?

544


What are the advantages of user defined functions?

553


What is another word for methodology?

516


What are internal and external variables?

542


What is use of map in java?

511


Does java support Operator Overloading?

605


Is char a data type in java?

539


What is the formula to calculate percentage?

528


What is meant by main method?

577