Abstract:
The present invention performs interpreted remote procedure calls. By utilizing an interpreter, the present invention saves significant storage within a data processing system that performs remote procedure calls. The interpreter of the present invention performs all marshaling and unmarshaling of arguments, thereby consolidating the marshaling and unmarshaling code within a single entity, the interpreter. In performing the marshaling and unmarshaling, the present invention utilizes a descriptor table which contains information pertaining to the argument stack of the remote procedures. By utilizing the present invention, stubs are no longer needed to be used with server side application programs and therefore redundant code and data are minimized throughout the system. However, the present invention also has the flexibility to use stubs with server side application programs where the stubs of the present invention contain a minimal amount of code to interact with the interpreter. By centralizing the marshaling and unmarshaling code into the interpreter, the present invention reduces storage requirements by minimizing the duplication of code throughout the data processing system.