An extensible framework for middleware design based on concurrent event-based AOP

  • Authors:
  • Edgar Marques;Luís Veiga;Paulo Ferreira

  • Affiliations:
  • INESC-ID/Technical Univ. of Lisbon, Lisbon, Portugal;INESC-ID/Technical Univ. of Lisbon, Lisbon, Portugal;INESC-ID/Technical Univ. of Lisbon, Lisbon, Portugal

  • Venue:
  • Proceedings of the 9th International Workshop on Adaptive and Reflective Middleware
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

Middleware simplifies application development by encapsulating common low-level concerns in modular reusable components. However, the traditional methods of software decomposition fail to properly encapsulate so-called cross-cutting concerns thus leading to scattered (and sometimes repetitive) code and difficult to maintain designs. Aspect-Oriented Programming (AOP) aims to solve these issues by encapsulating such code within reusable components called aspects. However, current AOP implementations suffer from restrictive programming models leading to limited aspect reusability. In this paper we present a new Java framework for middleware design and development based on Concurrent Event-based AOP. We focus on simplicity, generality and reusability. The programming model is based on Attribute-Oriented Programming. Aspects are declared and used by writing plain Java code and tagging it with plain Java annotations. The framework is small and can be easily extended to build more sophisticated frameworks targeting different kinds of devices. We describe the implementation of an initial prototype and evaluate its performance.