aspose file tools
The moose likes EJB and other Java EE Technologies and the fly likes EJB Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "EJB" Watch "EJB" New topic
Author

EJB

Green Horn
Greenhorn

Joined: Aug 21, 2000
Posts: 2
What is the exact function of ejbPasssivate() and ejbRemove() in the Life Cycle of Entity Bean? What is the exact difference?


Keep Smiling
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
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.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: EJB
 
Similar Threads
C and Java
can't compile or run program
new protocol
JavaBeans and JSP
xlink question