28-10-2010, 10:26 AM
[attachment=6890]
Remote Method Invocation
Network Programming Paradigms
Sockets programming: design a protocol first, then implement clients and servers that support the protocol.
RMI: Develop an application, then move some objects to remote machines.
Not concerned with the details of the actual communication between processes – everything is just method calls.
Call Semantics
Method Call Semantics – what does it mean to make a call to a method?
How many times is the method run?
How do we know the method ran at all?
RMI does a great job of providing natural call semantics for remote objects/methods.
Simply a few additional Exceptions that you need to handle.