• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Remote method invocations and Event based systems

 
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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 ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic