Formalising Java RMI with explicit code mobility

  • Authors:
  • Alexander Ahern;Nobuko Yoshida

  • Affiliations:
  • Department of Computing, Imperial College London, 180 Queens Gate, London SW7 2AZ, UK;Department of Computing, Imperial College London, 180 Queens Gate, London SW7 2AZ, UK

  • Venue:
  • Theoretical Computer Science
  • Year:
  • 2007

Quantified Score

Hi-index 5.24

Visualization

Abstract

This paper presents an object-oriented, Java-like core language with primitives for distributed programming and explicit code mobility. We apply our formulation to prove the correctness of several optimisations for distributed programs. Our language captures crucial but often hidden aspects of distributed object-oriented programming, including object serialisation, dynamic class downloading and remote method invocation. It is defined in terms of an operational semantics that concisely models the behaviour of distributed programs using machinery from calculi of mobile processes. Type safety is established using invariant properties for distributed runtime configurations. We argue that primitives for explicit code mobility offer a programmer fine-grained control of type-safe code distribution, which is crucial for improving the performance and safety of distributed object-oriented applications.