Re: Difference between servlet and stateless bean
The stateful instance's pool , the instances in it are just new stateful instances, when a new session bigins, no need to build a new instance, just use one already exists. I was also told that it is also used during passvate and activate. I was told so, but I am not sure.
And for stateless bean pool, one instance serves only one thread or multi-thread at the same time?
Thanks
|