Win a copy of Spring Boot in Practice this week in the Spring forum!

chinababu illa

Greenhorn
+ Follow
since Dec 09, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by chinababu illa

Hi Nishant,

Thanks so much. I was in the misconception of scalability. you made it clear.

Chinna
Hi All,

I'm new to this group. I'm going to give the SCBCD exam soon.
I've one doubt in scalability of Stateful and Stateless session bean.
Stateless session beans are more scalable than Stateful session beans, because, stateless beans are pooled. Pooling concept is not implemented for stateful sesson beans because it has to maintain the state, and once the bean goes to the pool, bean doesn't keep any state. So, stateful session bean are removed from the memory, once it's job is done.

What my doubt is, if we let the stateful session bean associate to the client as long as the client is calling, but once this has to be removed, instead of removing, we can send this stateful bean to the pool. In this case, stateful session bean also doesn't not have any state. And next time, another client comes for the stateful bean, bean has to come from the pool. This way, why can't the scalability be more, also for stateful sesson bean?

Could any one please clarify my doubt.

Thanks in advance.
Chinna