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
Can constructors be synchronized in java?
Should synchronization primitives be used on bean methods?
Describe activation process?
Describe, in general, how java's garbage collector works?
Why a client should be multithreading? Explain.
How to deploy Jar, War files in J2EE?
What are local interfaces? Describe.
What is ioc concept & explain it?
Which textcomponent method is used to set a textcomponent to the read-only state?
How task's priority is used in scheduling?
How many times may an objects finalize() method be invoked by the garbage collector?
Why use POJO when I can use hashmap
what is Activation Instantinator?
Is the infobus client side only?
Do I have to use jsps with my application?