Provided is a computer implemented method, system, and program for implementing
for implementing a remote method call. Remote objects and at least one proxy object
are generated, where each proxy object corresponds to one remote object. Data from
the remote object is included into the proxy object. A call to a method on one
proxy object is processed and the method is executed. The method is one of a plurality
of methods, wherein at least one of the plurality of methods comprises a local
method including code to perform method operations on the proxy object without
going to the remote object and at least one other of the plurality of methods comprises
a remote method including code to perform method operations on the remote object.