Originally posted by prashu bk:
But i'm unable to understand why they are called as "callback" methods?
Are you asking for the definition of a callback method? The name "callback" comes from how they are used: "Call me when X happens." When the container activates a bean instance, it calls its ejbActivate method so the bean can do something in response to the event.
Or are you asking for the reason why callback methods were used in EJBs? "Right tool for the job."
