• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB 2.1 Stateful Session Beans

 
C Shinde
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • 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
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Download the specification and you'll see that the stateful Session Bean State Diagram has one.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!