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

Statefull, Stateless session bean life cicle  RSS feed

 
konrad hoszowski
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I've found in MasteringEJB2 book, on session bean life cicles diagrams that statless sb dosn't ejbActivate()/ejbPassivate() methotds and stateful sb does. I've found also few pages earlier on table 4.1 page 90 that stateful sb does not use ejbActivate()/ejbPassivate() beacuse there is no conversional state.
So what is the truth?
regard
conrad
 
Eric Morin
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The headings of the two last columns in the table at page 90 are inverted. That explains everything...
[ July 02, 2002: Message edited by: Eric Morin ]
 
konrad hoszowski
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanx :-)
 
Rick Hightower
Author
Ranch Hand
Posts: 350
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Stateful sessions beans can be passivated and activated by the container to conserve memory.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!