Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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 ]
 
It's a beautiful day in this neighborhood - Fred Rogers. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!