In connection pool,when 100 clients are requesting, in pool
100 objects is there, when another client is making request
how it will work

Answers were Sorted based on User's Feedback



In connection pool,when 100 clients are requesting, in pool 100 objects is there, when another clie..

Answer / ballu

connection ojbect from one of the inactive client will be
saved (with its state) and freed up connection object will
be given to new request.

if all 100 clients are using connection objects actively
then depending on implentation either 101th client will
wait or server will spawn 101th connection object.

Is This Answer Correct ?    11 Yes 1 No

In connection pool,when 100 clients are requesting, in pool 100 objects is there, when another clie..

Answer / vrush

It will keep the client in waiting state .

Is This Answer Correct ?    0 Yes 3 No

In connection pool,when 100 clients are requesting, in pool 100 objects is there, when another clie..

Answer / mallikarjuna

i think client is waiting for the anyone return the object
to connectionpool

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More Advanced Java Interview Questions

What is MOM?

1 Answers   Wipro,


What are the different class loaders used by jvm?

0 Answers  


Is the session factory thread safe?

0 Answers  


Write a program on RMI and JDBC using StoredProcedure?

1 Answers  


Different between Struts and Spring? or Why use Spring, if you are already using Struts?

3 Answers   HP,






How has the sandbox changed with Java 2?

2 Answers  


What value does readline() return when it has reached the end of a file?

0 Answers  


Differences between applications and applets?

3 Answers  


Explain the different types of memory used by jvm?

0 Answers  


Difference between new operator and class.forname().newinstance()?

0 Answers  


On a computer that having single CPU, how multithreading concept can be achieved?

1 Answers   Zensar,


Thread life cycle?

3 Answers   TCS,


Categories