Shakeins: nonintrusive aspects for middleware frameworks

  • Authors:
  • Tal Cohen;Joseph (Yossi) Gil

  • Affiliations:
  • Department of Computer Science, Technion—Israel Institute of Technology, Haifa, Israel;Department of Computer Science, Technion—Israel Institute of Technology, Haifa, Israel

  • Venue:
  • Transactions on Aspect-Oriented Software Development II
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

Shakeins are a novel programming construct which, like mixins and generic classes, generates new classes from existing ones in a universal, uniform, and automatic manner: From a given class, a shakein generates a new class which has the same type as the original, but with different data and code implementation. We argue that shakeins are restricted, yet less chaotic, aspects. We further claim that shakeins are well suited for the introduction of aspect-oriented programming (AOP) into existing middleware applications. We introduce the AspectJ2EE language which, with the help of shakeins and a new deploy-time weaving mechanism, brings the blessings of AOP to the J2EE framework. A unique advantage of AspectJ2EE, which is less general (and hence less complicated) than AspectJ, is that it can be smoothly integrated into J2EE implementations without breaking their architecture.