We continue our study of programming models for distributed systems with a study
of remote procedure call (RPC), which are procedural languages version of remote
method invocation (historically RPC is the ancestor of RMI). A completely
different model is publish-subscribe paradigm, where a distributed system is
modelled as a set of processes send out notification when they experience events
other processes might be interested in, processes that are interested receiving
information about events other processes experience subscribe to receive
notifications when events they are interested in occur. This model differ
considerably from the RMI/RPC programming model by not requiring a processes to
"know" the receiver of a message, instead a process just need know what type of
events other might want to react on (there might not be anyone). We shall also
overview other approaches to programming distributed systems.
[DS] Section 5.3-5.4. (5.4 is most important)
The Jini(TM) Technology Core Platform Specification, chapter EV (PDF)
Supplementary literature on Jini can be found at Sun's Jini homepage and at Jini.org.
Exercises