Remote Object Invocation
Remote Object Invocation
DISTIBUTED OBJECTS
Object encapsulates data, the state, and the operations on those data, the methods. The separation between interfaces and the objects implementing these interfaces is crucial for distributed systems.
Implicit Binding
Distr_object* obj_ref; obj_ref = ; obj_ref-> do_something();
Explicit Binding
Distr_object objPref; Local_object* obj_ptr; obj_ref = ; obj_ptr = bind(obj_ref); obj_ptr -> do_something();
An object reference includes: The network address of the machine where the actual object resides An endpoint identifying the server that manages the object. An indication of which object an object number assigned by the server.
PARAMETER PASSING