Object-based and class-based composition of transitive mixins

  • Authors:
  • Uwe Zdun;Mark Strembeck;Gustaf Neumann

  • Affiliations:
  • Distributed Systems Group, Information Systems Institute, Vienna University of Technology, Austria;New Media Lab, Institute of Information Systems, Vienna University of Economics and BA, Austria;New Media Lab, Institute of Information Systems, Vienna University of Economics and BA, Austria

  • Venue:
  • Information and Software Technology
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

In object-oriented composition, classes and class inheritance are applied to realize type relationships and reusable building blocks. Unfortunately, these two goals might be contradictory in many situations, leading to classes and inheritance hierarchies that are hard to reuse. Some approaches exist to remedy this problem, such as mixins, aspects, roles, and meta-objects. However, in all these approaches, situations where the mixins, aspects, roles, or meta-objects have complex interdependencies among each other are not well solved yet. In this paper, we propose transitive mixins as an extension of the mixin concept. This approach provides a simple and reusable solution to define ''mixins of mixins''. Moreover, because mixins can be easily realized on top of aspects, roles, and meta-objects, the same solution can also be applied to those other approaches.