• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

EJB 2.1 Stateful Session Beans

 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I had this question for quite some time. If you look at the lifecycle of the stateful session bean, it has 3 states, does not exists, method ready and passivated.
I see an arrow from the method ready to does not exists, thats using the ejbRemove or timeout.THis is what I am seeing in the HEad First EJB book. This link - http://java.sun.com/j2ee/1.4/docs/tutorial/doc/EJBConcepts9.html does not show the timeout from REady to does not exist arrow.
My question is how can a bean timeout from method ready state to does not exists and also passivate?

I there a print mistake in the book or is there a timeout on that arrow?

Sorry if you dont know about this book, but Head First is a fantastic series.

Regards,
Chetan SHinde
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Download the specification and you'll see that the stateful Session Bean State Diagram has one.
reply
    Bookmark Topic Watch Topic
  • New Topic