Just-in-time stub generation

  • Markus Hof
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 1204)


In distributed object systems, one generates local surrogate objects to achieve transparent remote method invocations. These surrogates intercept method invocations, transfer the invocations to the actual (remote) object, and invoke the respective method by using so-called stub code. We describe a method which automatically generates surrogate and stub code. The actual generation is delayed until run time, which allows late adaptations to current needs and restrictions. Objects using this mechanism are not necessarily derived from a common base class.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. [BiN94]
    Birrell A., Nelson G., Owicki S., Wobber E.: Network Objects. SRC Research Report 115, 1994Google Scholar
  2. [BiNe84]
    Birrell A., Nelson B.: Implementing Remote Procedure Calls. ACM Transactions on Computer Systems, vol. 2, Feb. 1984Google Scholar
  3. [COR95]
    The Common Object Request Broker: Architecture and Specification. OMG, Revision 2.0, July 1995Google Scholar
  4. [Cre90]
    Crelier R.: OP2: A Portable Oberon Compiler. Institut für Computersysteme, Report 125 Februar 1990, ETH ZürichGoogle Scholar
  5. [FrKi96]
    Franz M., Kistler T.: Slim Binaries. University of California Irvine, Technical Report 96-24Google Scholar
  6. [Java95]
    The Java Virtual Machine Specification. Sun Microsystems, Release 1.0, August 1995Google Scholar
  7. [JuLe88]
    Jul E., Levy H., Hutchinson N., Black A.: Fine-grained mobility in the Emerald system. ACM Transactions on Computer Systems, 6(1):109–133, 1988Google Scholar
  8. [KrP88]
    Krasner G., Pope S.: A Cookbook for Using the MVC User Interface Paradigm in Smalltalk. Journal of Object Oriented Programming Aug./Sep. 1988Google Scholar
  9. [Rei92]
    Reiser M., Wirth N.: Programming in Oberon — Steps beyond Pascal and Modula-2. Addison-Wesley 1992Google Scholar
  10. [StMö96]
    Steindl C., Mössenböck H.: Metaprogramming Facilities in Oberon for Windows an Power Macintosh. University of Linz, Department for Systemsoftware, Report 8, July 1996Google Scholar
  11. [Tan95]
    Tanenbaum A.: Distributed Operating Systems. Prentice Hall 1995Google Scholar
  12. [Tem94]
    Templ J.: Metaprogramming in Oberon. PhD thesis, Swiss Federal Institute of Technology (ETH Zürich), 1994, Number 10655Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 1997

Authors and Affiliations

  • Markus Hof
    • 1
  1. 1.Department of Computer Science (System Software)Johannes Kepler University LinzAustria

Personalised recommendations