posted 18 years ago
Stateful session beans are suggested to be used over Stateless session beans in the following context:
"The bean needs to hold information about the client across method invocations. "
1> Can't the information be stored in the web tier? When the web tier can store the information how does session bean get justified to be used.
2> Also, what kind of information about the client, can somebody give an example. I know the standard example quoted is Shopping cart. But, i am still not able to appreciate the use of stateful session bean. can anybody point me to any web sites or share information to help me understand better.