File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Distributed Java and the fly likes Remote method invocations and Event based systems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Remote method invocations and Event based systems" Watch "Remote method invocations and Event based systems" New topic
Author

Remote method invocations and Event based systems

david allen
Ranch Hand

Joined: Sep 27, 2002
Posts: 185
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
Idly Vada
Ranch Hand

Joined: Sep 02, 2003
Posts: 135
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 ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Remote method invocations and Event based systems
 
Similar Threads
how would you keep the single instance of an object over multiple JVMs
Advise me on java distributed technologies
What is distributed Computing from an Application's Point of View
Notifying clients from the server using RMI
JRMP in EJB ??