A mechanism for automatically generating code, in particular high level
source code for remotely accessing functionality running in a remote
process is provided. Given a specified set of functionality, which may be
defined via an interface, for providing functionality to a local process,
the mechanism generates, in source code form, software for remotely
accessing the functionality by an application running in another process,
that is, for accessing the functionality by an application running a
second process. The code may be generated at build time but before the
actual build of a software product implementing the functionality.