From my understanding the two paradigms for distributed programming are RMI and event based systems. To learn about distributed programming I have decided to use java as I already have a pretty good grasp of it(I hope). I am pretty sure that RMI facilitates the two above mentioned methods. Is this right? For event based systems what interface does an object implement to receive event notifications and how do they subscribe to events? Regards David
posted 12 years ago
Originally posted by david allen: For event based systems what interface does an object implement to receive event notifications and how do they subscribe to events?
Hi David! RMI is undoubtedly one of the best mechanisms to implement didtributed applications.It has features like callback operations,dynamic classloading,object activation and ability to use different transport protocols. But I feel event based systems will be more robust.And the components of event based systems need not be tightly coupled. Are you aware of JMS(Java Message Service). It enables you to devlop robust event based enterprise systems. for more info on JMS: http://java.sun.com/products/jms/tutorial/1_3_1-fcs/doc/jms_tutorialTOC.html [ September 23, 2003: Message edited by: Murthy Narasimha ]