When are callbacks used in RMI and CORBA? Whenever it makes sense to update a client program about a change of state in a server program. what are the mechanisms available for callbacks on RMI and CORBA?Callbacks in RMI and CORBA are fundamentally no different from each other, although it usually makes sense to use dynamically loadable stubs (from the initiating client) so the server doesn't need to know who the client is at compile-time. Once you get into distributed systems like Jini and Jiro, there's an added element, known as a handback object, that is also used. A handback object helps insure that the object invoking a callback method is in fact the same object the initiating client asked to register to. Also one last question is JRMP the default protocol used for RMI? Does the Pope wear a funny hat?
Make visible what, without you, might perhaps never have been seen. - Robert Bresson