• Post Reply Bookmark Topic Watch Topic
  • New Topic

How stateful session bean works?  RSS feed

Monoj Roy
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As I have read some books and article and understand a stateful session bean is always serves a particular client and retain its state using activation and passivate method by the container .
Now for following example ,Say User1 log on and get a bean1 and do some work then User2 comes and served by bean2 Now when again User1 comes into picture how container know that this user need to serv by bean1 not bean2?

Please correct me if I am wrong in my understanding .
Jeanne Boyarsky
author & internet detective
Posts: 37256
Eclipse IDE Java VI Editor
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!