Entity Bean Lifecycle (cont)
  • Observations
    • Same bean implementation instance can be used to represent multiple beans
      • Cycle through ejbCreate()/ejbActivate() and ejbPassivate()/ejbRemove()
      • Can even happen while clients have active references to the beans
    • If a bean throws a system exception the container cannot use it any more
      • If client accesses the bean again, the container must choose new implementation instance

Next Slide >>