Patent ID: 7496932

Claim:
A method executing remote procedures in a client system, comprising: responsive to a remote object call received by a client system, generating at the client system a first serialized byte stream containing a remote object and its arguments; sending by the client system the first serialized byte stream to a server containing the remote object; responsive to the client system receiving a second serialized byte stream containing a result produced by the remote object from the server and determining the presence of a second remote object for which no reference can be found at the client system in the second serialized byte stream, using information contained in the second serialized byte stream to determine the class type of the second remote object; determining by the client system whether a proxy for the second remote object class type exists; responsive to the client system determining that there is a proxy for the second remote object class type, loading the proxy at runtime at the client system; and responsive to the client system determining the absence of a proxy for the second remote object class type, determining a most specific class type compatible with the second remote object, generating a proxy of the most specific class type at run time and using the generated proxy to call the second remote object.