Just-In-Time Stub Generation
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.
Published in Proceedings Joint Modular Languages Conference '97, Hagenberg, March 1997, Lecture Notes in Computer Science, ISSN 0302-9743