Container <--> Interfaces
  • We have seen many of these in the source code examples thus far
    • ejbLoad(), ejbStore(), ejbCreate(), etc.
  • With the exception of the finders, all of these methods are concerned with the lifecycle of the bean
  • What is the bean lifecycle?
    • Basically, its the significant events from the moment an instance of the bean is created to the moment it is garbage collected
    • Session beans and entity beans have different lifecycles
    • We'll concentrate on entity beans as they are more interesting

Next Slide >>