guys,
For some reason, I try to hit the max-size of stateless session bean pool.
I can use a mass of threads to do that, by looking up my stateless session bean "at the same time", but it requires to consume many loops or many threads to do that, because sometimes it picked created bean instance from pool. As a result, Max-size can't be reach.
So, my question is here: Can we find a way to lock the instance(not like doing massive math calculation task), keeping a "working" status and don't send back to free-pool, Then we may use the Thread[max-pool-size] to reach to goal, without doing some annoying loops.
Thanks,