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. - STAMPA. - (2004), pp. 12-22. [10.1007/978-3-540-24639-8_2]
A Java Package for Class and Mixin Mobility in a Distributed Setting
BETTINI, LORENZO
2004
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 FLORE sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.