Design pattern implementation in Java and aspectJ

  • Authors:
  • Jan Hannemann;Gregor Kiczales

  • Affiliations:
  • University of British Columbia, Vancouver B.C. V6T 1Z4;University of British Columbia, Vancouver B.C. V6T 1Z4

  • Venue:
  • OOPSLA '02 Proceedings of the 17th ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

AspectJ implementations of the GoF design patterns show modularity improvements in 17 of 23 cases. These improvements are manifested in terms of better code locality, reusability, composability, and (un)pluggability.The degree of improvement in implementation modularity varies, with the greatest improvement coming when the pattern solution structure involves crosscutting of some form, including one object playing multiple roles, many objects playing one role, or an object playing roles in multiple pattern instances.