EP0803811A2

System and method for stub retrieval and loading

Abstract

A stub retrieval and loading subsystem is disclosed for use in connection with a remote method invocation system. The stub retrieval and loading subsystem controls the retrieval and loading ofa stub for a remote method, into an execution environment, to facilitate invocation of the remote method by a program executing in the execution environment. The stub retrieval subsystem includes a stub retriever for initiating a retrieval of the stub and stub loader for, when the stub is received by the stub retriever, loading the stub into the execution environment, thereby to make the stub available for use in remote invocation of the remote method. In one embodiment, the stub retrieval and loading subsystem effects the retrieval and loading for a program operating in one address space provided by one computer, of stub class instances to effect the remote invocation of methods which are provided by objects operating in another address space, which may be provided by the same computer or a different computer.

EP0803811A2, drawing sheet 1
Sheet 1 of 7

Term

Term ended

Projected expiry passed 23 April 2017, 9.4 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

30 claims: 29 independent, 1 dependent

  1. 1
    For use in connection with a remote method invocation system, a stub retrieval and loading subsystem for controlling the retrieval and loading of a stub for a remote method into an execution environment to facilitate invocation of the remote method by a program executing in said execution environment, the stub retrieval subsystem comprising:A. a stub retriever for initiating a retrieval of said stub;andB. a stub loader for, when said stub is received by said stub retriever, loading said stub into said execution environment, thereby to make the stub available for use in remote invocation of said remote method.
  2. 2
    A stub retrieval and loading subsystem as defined in claim 1 further including a remote method reference detector for detecting whether a remote method reference has been received in said execution environment, the stub retriever initiating retrieval of said stub when the remote method reference detector detects that a remote method reference has been received in said execution environment.
  3. 3
    A stub retrieval and loading subsystem as defined in claim 1 further including a remote method invocation control for controlling invocation of said remote method, said stub retriever initiating retrieval of said stub when the remote method is invoked.
  4. 4
    For use in connection with a remote method invocation method, a stub retrieval and loading method for facilitating the retrieval and loading of a stub for a remote method into an execution environment to facilitate invocation of the remote method by a program executing in said execution environment, the stub retrieval method comprising the steps of:A. a stub retrieval step for initiating a retrieval of said stub;andB. a stub loading step for, when said stub is received, loading said stub into said execution environment, thereby to make the stub available for use in remote invocation of said remote method.
  5. 5
    For use in connection with a remote method invocation method, a signal for controlling the retrieval and loading of a stub for a remote method into an execution environment to facilitate invocation of the remote method by a program executing in said execution environment, the signal causing the computer to perform:A. a stub retrieval step for initiating a retrieval of said stub;andB. a stub loading step for, when said stub is received, loading said stub into said execution environment, thereby to make the stub available for use in remote invocation of said remote method.
  6. 6
    A method of storing data on a recording medium, the method comprising storing data representative of a signal, which signal is for use in connection with a remote method invocation method, the signal being for controlling the retrieval and loading of a stub for a remote method into an execution environment to facilitate invocation of the remote method by a program executing in said execution environment, the signal causing the computer to perform:A. a stub retrieval step for initiating a retrieval of said stub;andB. a stub loading step for, when said stub is received, loading said stub into said execution environment, thereby to make the stub available for use in remote invocation of said remote method.
  7. 7
    A method as defined in claim 4 or 6, or a signal as defined in claim 5 further including a remote method reference detection step for detecting whether a remote method reference has been received in said execution environment, the stub retrieval step including the step of initiating retrieval of said stub when a remote method reference has been received in said execution environment.
  8. 8
    A method as defined in claim 4 or 6, or a signal as defined in claim 5 further including a remote method invocation control step for controlling invocation of said remote method, said stub retrieval step including the step of initiating retrieval of said stub when the remote method is invoked.
  9. 9
    For use in connection with a remote method invocation system, a stub retrieval and loading computer program product for controlling a computer to, in turn, control the retrieval and loading of a stub for a remote method into an execution environment to facilitate invocation of the remote method by a program executing in said execution environment, the stub retrieval computer program product comprising a computer-readable medium having encoded thereon:A. stub retriever code devices to enable said computer to initiate a retrieval of said stub;andB. a stub loader code devices to enable said computer to, when said stub is received, loading said stub into said execution environment, thereby to make the stub available for use in remote invocation of said remote method.
  10. 10
    A stub retrieval and loading computer program product as defined in claim 9 further including remote method reference detector code devices for enabling said computer to detect whether a remote method reference has been received in said execution environment, the stub retriever code devices enabling said computer to initiate retrieval of said stub when the remote method reference detector code devices enable said computer to detect that a remote method reference has been received in said execution environment.
  11. 11
    A stub retrieval and loading computer program product as defined in claim 9 further including remote method invocation control code devices for enabling said computer to control invocation of said remote method, said stub retriever code devices enabling said computer to initiate retrieval of said stub when the remote method is invoked.
  12. 12
    A subsystem as defined in any one of claims 1 to 3, a method as defined in any one of claims 4 or 6 to 8, computer program product as defined in any one of claims 9 to 11, or a signal as defined in any one of claims 5 or 6 to 8, the remote method invocation system further including a server for processing said remote method in response to a processing request therefor, the server further providing said stub in response to a retrieval request from said stub retriever.
  13. 13
    A subsystem, method, computer program product or signal as defined in claim 12 in which server provides a separate address space for processing said remote method from an address space provided by said execution environment.
  14. 14
    A subsystem, method, computer program product, or signal as defined in claim 13 in which the address space provided by said server and the address space provided by said execution environment are provided by separate computers.
  15. 15
    A stub retrieval and loading subsystem as defined in claim 12, 13 or 14, further comprising a remote server identifier for providing a server identification for identifying said server.
  16. 16
    A stub retrieval and loading subsystem as defined in claim 15 further including a remote method reference detector for detecting whether a remote method reference has been received in said execution environment, the remote method reference including a remote method server identifier, the remote server identifier using the remote method server identifier as the server identification.
  17. 17
    A stub retrieval and loading subsystem as defined in claim 15 further including a remote method invocation control for providing a remote method invocation identification for controlling invocation of said remote method, the remote method invocation providing a remote method server identifier, the remote server identifier using the remote method server identifier as the server identification.
  18. 18
    A method or signal as defined in claim 12, 13 or 14, further comprising a remote server identification step for providing a server identification for identifying said server.
  19. 19
    A method or signal as defined in claim 18 further including a remote method reference detection step for detecting whether a remote method reference has been received in said execution environment, the remote method reference including a remote method server identifier, the remote method server identifier being used during the remote method reference detection step as the server identification.
  20. 20
    A method or signal as defined in claim 18 further including a remote method invocation control step for providing a remote method invocation identification for controlling invocation of said remote method, the remote method invocation providing a remote method server identifier, the remote method server identifier being used during the remote method reference detection step as the server identification.
  21. 21
    A subsystem as defined in claim 15, 16 or 19, or a method or signal as defined in claims 18, 19 or 20, the remote method invocation system further including a nameserver for providing a said server identification, said remote server identifier initiating communication with said nameserver to obtain the server identification for said remote method.
  22. 22
    A stub retrieval and loading computer program product as defined in claim 12, 13 or 14, further comprising remote server identifier code devices for enabling said computer to provide a server identification for identifying said server.
  23. 23
    A stub retrieval and loading computer program product as defined in claim 22 further including remote method reference detector code devices for enabling said computer to detect whether a remote method reference has been received in said execution environment, the remote method reference including a remote method server identifier, the remote server identifier code devices enabling said computer to use the remote method server identifier as the server identification.
  24. 24
    A stub retrieval and loading computer program product as defined in claim 22 further including remote method invocation control code devices for enabling said computer to provide a remote method invocation identification for controlling invocation of said remote method, the remote method invocation providing a remote method server identifier, the remote server identifier code devices enabling said computer to use the remote method server identifier as the server identification.
  25. 25
    A stub retrieval and loading computer program product as defined in claim 22 the remote method invocation system further including a nameserver for providing a said server identification, said remote server identifier code devices enabling said computer to initiate communication with said nameserver to obtain the server identification for said remote method.
  26. 26
    For use in connection with a remote method invocation system, a stub retrieval and loading subsystem for controlling the retrieval and loading of stub for a remote method into an execution environment to facilitate invocation of the remote method by a program executing in said execution environment, the stub retrieval subsystem comprising:A. a computer;andB. a control arrangement for controlling said computer, said control arrangement comprising: i. a stub retrieval module for controlling said computer to initiate a retrieval of said stub;andii. a stub loader module for controlling said computer to, when said stub is received in response to said stub retrieval module, load said stub into said execution environment, thereby to make the stub available for use in remote invocation of said remote method.
  27. 27
    A control arrangement for use in connection with a computer to control the retrieval and loading of a stub for a remote method into an execution environment to facilitate invocation of the remote method by a program executing in said execution environment, said control arrangement comprising:i. a stub retrieval module for controlling said computer to initiate a retrieval of said stub;andii. a stub loader module for controlling said computer to, when said stub is received in response to said stub retrieval module, load said stub into said execution environment, thereby to make the stub available for use in remote invocation of said remote method.
  28. 28
    A system for distributing code stored on a computer readable medium and executable by a computer, the code including a plurality of modules each configured to control the computer to facilitate the retrieval and loading of a stub for a remote method into an execution environment to facilitate invocation of the remote method by a program executing in said execution environment, said system comprising:i. a stub retrieval module for controlling said computer to initiate a retrieval of said stub;andii. a stub loader module for controlling said computer to, when said stub is received in response to said stub retrieval module, load said stub into said execution environment, thereby to make the stub available for use in remote invocation of said remote method.
  29. 29
    A signal according to any one of claims 5, 12 to 14, or 18 to 21, wherein the signal is recorded on a recording medium.
Independent claims29