Thanks for your reply neville. I got my head around that idea though. I am more interested in how it relates to EJBs. I know the lifecycle methods are callbacks but in the relationship between the client, bean instance and the container, who would be object A and who would be B? Thanks for your help.
kyleb
An example...
Lets say we have an EJB which is a session bean. So implements the methods defined in javax.ejb.SessionBean. The EJB container guarantees that these methods will be invoked on instances of the session bean at appropriate times and under appropriate conditions.
In the case, the methods defined in javax.ejb.SessionBean are the callbacks, the session bean instance and the EJB object together form A and the EJB container is B.