Methods and apparatus for remote method invocation
AssigneeSun Microsystems, Inc.
InventorsAnn M. Wollrath, Peter C. Jones
Life of this patent
Estimating the term…
Abstract
Remote method invocation using a generic proxy class. A client machine transmits a call for invocation of a method of a remote object including an identifier for the method object. A server machine receives the identifier and uses generic code to invoke the method object and return an indication of the invoked method along with any relevant parameters.
Claims25
A method for remote method invocation in a distributed system comprised of multiple machines, comprising:
- receiving a request to invoke a method of an object;
- determining the method to be invoked using a generic code, wherein the generic code is not pregenerated;
- invoking the method based on the determination;
- and
- providing an indication of the invoked method.
A method for remote method invocation in a distributed object oriented system having multiple machines and defining a plurality of classes, comprising:
- receiving a request to invoke a method of an object of a specific class;
- determining the method using a common process for all of the classes wherein the common process is not pregenerated;
- invoking the method based on the determination;
- and
- providing an indication of the invoked method.
A method for remote method invocation in a distributed system comprised of multiple machines, comprising:
- receiving a request to invoke a first method of a first object and a second method of a second object being of a different type from the first object;
- determining the first and second methods to be invoked using a common process, wherein the common process is not pregenerated;
- invoking the first and second methods based on the determination;
- and
- providing an indication of the first invoked method and the second invoked method.
An apparatus for remote method invocation in a distributed system comprised of multiple machines, comprising:
- a module configured to receive a request to invoke a method of an object;
- a module configured to determine the method to be invoked using a generic code, wherein the generic code is not pregenerated;
- a module configured to invoke the method based on the determination;
- and
- a module configured to provide an indication of the invoked method.
An apparatus for remote method invocation in a distributed system comprised of multiple machines, comprising:
- a module configured to receive a request to invoke a method of an object of a specific class;
- a module configured to determine the method using a common process for all of the classes, wherein the common process is not pregenerated;
- a module configured to invoke the method based on the determination;
- and
- a module configured to provide an indication of the invoked method.
An apparatus for remote method invocation in a distributed system comprised of multiple machines, comprising:
- a module configured to receive a request to invoke a first method of a first object and a second method of a second object being of a different type from the first object;
- a module configured to determine the first and second methods to be invoked using a common process, wherein the common process is not pregenerated;
- a module configured to invoke the first and second methods based on the determination;
- and
- a module configured to provide an indication of the first invoked method and the second invoked method.
A system for transmitting objects in a distributed system comprised of multiple machines, comprising:
- a first machine;
- a second machine;
- a network connecting the first machine with the second machine;
- and
- an apparatus for transmitting objects, the apparatus including:
- a module configured to receive a request to invoke a method of an object;
- a module configured to determine the method to be invoked using a generic code, wherein the generic code is not pregenerated;
- a module configured to invoke the method based on the determination;
- and
- a module configured to provide an indication of the invoked method.
A system for transmitting objects in a distributed system comprised of multiple machines, comprising:
- a first machine;
- a second machine;
- a network connecting the first machine with the second machine;
- and
- an apparatus for transmitting objects, the apparatus including:
- a module configured to receive a request to invoke a method of an object of a specific class;
- a module configured to determine the method using a common process for of the classes, wherein the common process is not pregenerated;
- a module configured to invoke the method based on the determination;
- and
- a module configured to provide an indication of the invoked method.
A system for transmitting objects in a distributed system comprised of multiple machines, comprising:
- a first machine;
- a second machine;
- a network connecting the first machine with the second machine;
- and
- an apparatus for transmitting objects, the apparatus including:
- a module configured to receive a request to invoke a first method of a first object and a second method of a second object being of a different type from the first object;
- a module configured to determine the first and second methods to be invoked using a common process, wherein the common process is not pregenerated;
- a module configured to invoke the first and second methods based on the determination;
- and
- a module configured to provide an indication of the first invoked method and the second invoked method.
A computer program product, comprising:
- a computer-readable medium containing instructions for controlling a computer system to perform a method, the method including:
- receiving a request to invoke a method of an object;
- determining the method to be invoked using a generic code, wherein the generic code is not pregenerated;
- invoking the method based on the determination;
- and
- providing an indication of the invoked method.
A computer program product, comprising:
- a computer-readable medium containing instructions for controlling a computer system to perform a method, the method including:
- receiving a request to invoke a method of an object of a specific class;
- determining the method using a common process for all of the classes, wherein the common process is not pregenerated;
- invoking the method based on the determination;
- and
- providing an indication of the invoked method.
A computer program product, comprising:
- a computer-readable medium containing instructions for controlling a computer system to perform a method, the method including:
- receiving a request to invoke a first method of a first object and a second method of a second object being of a different type from the first object;
- determining the first and second methods to be invoked using a common process, wherein the common process is not pregenerated;
- invoking the first method and second methods based on the determination;
- and
- providing an indication of the first invoked method and the second invoked method.
An apparatus for remote method invocation in a distributed system comprised of multiple machines, comprising:
- means for receiving a request to invoke a method of an object;
- means for determining the method to be invoked using a generic code, wherein the generic code is not pregenerated;
- means for invoking the method based on the determination;
- and
- means for providing an indication of the invoked method.
A distributed system for remote method invocation comprising:
- a first module for requesting an invocation of a remote object based on a generic proxy;
- and
- a second module for executing generic code to invoke a remote object corresponding to the invocation request and returning an associated response to the first module.
A distributed processing system comprising:
- a client machine having a remote procedure call module;
- a serve machine having a remote object with at least one method;
- a network communicably connecting the client machine and the server machine,
- wherein when a code executing on the client machine seeks to invoke the method of the remote object, the client remote procedure uses a generic proxy that lacks a specific type to transmit a request to the remote object.
A process for invoking remote methods in a network, comprising:
- providing a proxy with an invoke method;
- and
- upon receipt by the proxy of a call to invoke a method of a remote object of a particular type, passing to the invoke method a method object including information about the remote method to be invoked and any required parameters for processing by the remote method,
- wherein the proxy lacks a specific type so that it may be used to invoke methods of different types of remote objects.
Dependencies are inferred from the claim text.