A Java Package for Class and Mixin Mobility in a Distributed Setting [chapter]

Lorenzo Bettini
2004 Lecture Notes in Computer Science  
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
more » ... t-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.
doi:10.1007/978-3-540-24639-8_2 fatcat:2qn3i4fesjgzxgnmaop5dxoleq