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

Can constructors be synchronized in java?

801


Should synchronization primitives be used on bean methods?

757


Describe activation process?

2258


Describe, in general, how java's garbage collector works?

728


Why a client should be multithreading? Explain.

795






How to deploy Jar, War files in J2EE?

2359


What are local interfaces? Describe.

885


What is ioc concept & explain it?

807


Which textcomponent method is used to set a textcomponent to the read-only state?

854


How task's priority is used in scheduling?

1978


How many times may an objects finalize() method be invoked by the garbage collector?

847


Why use POJO when I can use hashmap

2253


what is Activation Instantinator?

2096


Is the infobus client side only?

844


Do I have to use jsps with my application?

744