• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB  RSS feed

 
Green Horn
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the exact function of ejbPasssivate() and ejbRemove() in the Life Cycle of Entity Bean? What is the exact difference?
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EJBActivate , EJBPassivate are methods which notify the BEAN that the container which manages the bean is switching the bean's state from active and passive. Usually this refers to in-memory vs swapped to disk.
EJBremove is for removing the bean from the container fully.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!