Implementing Reusable Collaborations with Delegation Layers

Klaus Ostermann · 2001

It has been recognized in several works that a slice of behavior a#ecting a set of collaborating classes is a better unit of reuse than a single class. Di#erent techniques and language extensions have been proposed to express such slices in programming languages. We present a Java language extension that builds up on mixin layers and combines and generalizes virtual class and delegation concepts. The result is a language that allows runtime composition of components and better reusability of client code.

Read the paper · More papers on PaperTik