activate() method is called by the container to notify that it has been activated. |
passivate() is called by the container to notify that it has been deactivated and expected to release any resource held by the component instance. |
remove() is called by the container t notify the component instance that the servant is about to be destroyed so that it will to. |
Synchronization interface is defined to notify the component instance about the transaction boundaries (before_completion() and after_completion()). (SessionSynchronization in EJB) SessionSynchronization also contains after_begin() call to notify the beginning of a transaction. |