users@glassfish.java.net

Re: Re: Ejb container

From: <forums_at_java.net>
Date: Sun, 13 Mar 2011 19:28:04 -0500 (CDT)

1) " there might be less than 18 threads available to serve those
requests..." - how is the number of threads contolled?

2)I added Thread.sleep to stateless bean bussiness method which i called,
and now I see still 17 beans are created and only one bean is used to serve
30 calls. Why container returns the same bean for all calls if there are some
"free" beans in pool?

Thank you


--
[Message sent by forum member 'tetyanac']
View Post: http://forums.java.net/node/780199