Hey ShengTa,
Originally posted by ShengTa Tsai:
Thank you all for responses.
It true that all clients that use the same home will be queued in order to wait for the same stateless session bean or all clients that use the same home interface would get different session beans in the container when isIdentical method always return true?
My understanding is that the container will always pull an available stateless session bean out the pool to service the client. If there are none available then I suppose it would do one of the following
- Create a new statless session bean to service the client.
- Block the client until one of the stateless beans becomes available.
I would get that it all depends on how the container is implemented.
The spec guarantees is that at any one time at most one client will be executing a business method of any particular stateless bean.
Hope this helps.
[ January 19, 2004: Message edited by: Keith Rosenfield ]