Mixins, i.e., classes parameterized over the superclass, can be the right mechanism for dynamically assembling class hierarchies with mobile code downloaded from different sources. In this paper we present the Java package momi that implements the concepts of the language MoMi, which is a calculus for exchanging mobile object-oriented code structured through mixin inheritance. This package can be thought of as an "assembly" language that should be the target of a compiler for a mobile code object-oriented language. In order to show an usage of the package, we illustrate how it is used by the compiler of X-KLAIM, a programming language for mobile code where distributed processes can exchange classes and mixins through distributed tuple spaces.
A Java Package for Class and Mixin Mobility in a Distributed Setting
BETTINI, LORENZO
2004-01-01
Abstract
Mixins, i.e., classes parameterized over the superclass, can be the right mechanism for dynamically assembling class hierarchies with mobile code downloaded from different sources. In this paper we present the Java package momi that implements the concepts of the language MoMi, which is a calculus for exchanging mobile object-oriented code structured through mixin inheritance. This package can be thought of as an "assembly" language that should be the target of a compiler for a mobile code object-oriented language. In order to show an usage of the package, we illustrate how it is used by the compiler of X-KLAIM, a programming language for mobile code where distributed processes can exchange classes and mixins through distributed tuple spaces.I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.