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
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 |
Answer / mallikarjuna
i think client is waiting for the anyone return the object
to connectionpool
| Is This Answer Correct ? | 0 Yes | 3 No |
1) what is synchronization? 2)write a program to show synchronization ? 3) what is orm? 4) what is getTemplete method and hw u use it? 5)write a singleton program ? 6) what is IOC concept & explain it? 7) methods of spring? 8)explain spring framework? 9)what are the oops concept? 10)what r the diff types of exception? 11)what is AOP(assepct oriented programing)? 12)jsp life cycle? 13)servlet life cycle? 14)how to u catch ur exception when executing a query in hibernate? 15)write javascript function? 16)write a querry to join two tables? 17)wap to show inheritance and use of interface? 18)explain the project? 19)in spring bean class uses singleton or prototype? 20)Explain prototype?
What is deadlock?
what are JSP tags? what is difference between include action and directory?
what are the advantages of JTA over JTS?
Name three component subclasses that support painting?
What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?
Do you think that java should have had pointers?
What is the O/P of the below Code Snippet ? And how does it imply the concept of call-by-value/call-by-reference. (Note : Pls ignore syntx errors) public class One { sop ("Into One--"); } public class Two extends One{ sop ("Into Two--"); } public class Home { One a; Two t; public static void main(argv[]) { sop ("In Home--"); sop(One.a); sop(Two.a); sop(One.t); sop(Two.t); } }
does j2ee means advanced java
What is the difference between the font and fontmetrics classes?
Why does the tag url-encode javascript and mailto links?
How do you iterate in Hashmap?