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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Should synchronization primitives be used on bean methods?

549


What is ioc concept & explain it?

611


What do you need to set-up a cluster with jboss?

571


Difference between swing and awt?

595


Why does the tag url-encode javascript and mailto links?

576






Why won’t the jvm terminate when I close all the application windows?

748


What are the sequence of steps to write pub or sub model kind of application?

1890


Is a class a subclass of itself?

585


Explain phantom read?

1733


What is abstract schema?

553


What is clustering? What are the different algorithms used for clustering?

574


What is a session? Can you share a session object between different theads?

550


Which class is the immediate superclass of the menucomponent class?

617


What is the difference between long.class and long.type?

557


A user of a web application sees a jsessionid argument in the URL whenever a resource is accessed. What does this mean? a. The form must have the field jsessionid b. URL rewriting is used as the session method c. Cookies are used for managing sessions

1810