Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

� Why does Stateless Session bean not store its state even though it has ejbActivate  RSS feed

 
Ronak Patel
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
�Why does Stateless Session bean not store its state even though it has ejbActivate and ejbPassivate ?
 
Christian Ebage
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All session beans are required to implement the SessionBean interface. Since a class that implements an interface must provide an
implementation for all the methods declared in the interface, a stateless session bean also implements ejbPassivate and ejbActivate methods.
The container will however never call the ejbActivate and ejbPassivate methods during the
life cycle of a stateless session bean.
Ebage
SCJP
SCEA
[ January 17, 2003: Message edited by: Christian Ebage ]
[ January 17, 2003: Message edited by: Christian Ebage ]
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!