Hi Joyce and others,
In IBM Websphere Application server, stateful session beans are pooled as described earlier!
As I continue my journey in J2EE with working now for the IBM
test 287 Certificate "Developing J2EE Applications with IBM Websphere Studio", it turned out that IBM Websphere exactly works with pooling statefull session beans by stripping off (passivating) the state , keeping the instance in a pool and when put in active service , adding the state to an instance out of the pool.
From the study-guide (1):
Websphere will manage a pool of stateful instances, passivating and then activating them as necessary to serve client requests, in effect, "switching" the client's state in and out of instances as required by requests.
and a few lines further down:
Why passivate? Passivation allow Websphere to manage a small pool of available instances. It can switch the state for many clients in and out of just a few real stateful instances. This is much more efficient use of resources than maintaining an instance for every previous client.
(1) Kushner, H. (2003) "Developing J2EE Applications with IBM Websphere Studio" IBM Press, page 146
[ June 25, 2004: Message edited by: Cor Lieftink ]