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 to perform bubble sort in java?

801


What is difference between static class and normal class?

774


What is instanceof keyword?

967


What is stack explain?

703


Why use string handling in Java?

812


What happens to a static var that is defined within a method of a class?

800


Differences between external iteration and internal iteration?

877


how we can make a read-only class in java?

774


Differentiate between class and structure.

832


What are different data types?

783


What are namespaces in java?

764


What is ph and buffers?

752


What are the benefits of immutable objects?

769


does java support pointers?

765


What do the thread?class methods run() and start() do?

794