Expression and Composition of Design Patterns with AspectJ - INRIA - Institut National de Recherche en Informatique et en Automatique Accéder directement au contenu
Article Dans Une Revue Revue des Sciences et Technologies de l'Information - Série L'Objet : logiciel, bases de données, réseaux Année : 2006

Expression and Composition of Design Patterns with AspectJ

Pierre Cointe
  • Fonction : Auteur
  • PersonId : 855473

Résumé

Design patterns are well-known couples of problems-solutions for software engineer- ing. By nature, they often lack support from languages and this further complicates the study of their composition in the code. Aspect-oriented languages provide new mechanisms for modula- rization, which can help to improve design patterns implementation. (Hannemann et al., 2002) is the first extensive study of patterns aspectization with AspectJ. We notice some AspectJ idioms are needed in order to implement object relationships. We give a more reusable VISITOR pat- tern. We highlight a reusable composition of COMPOSITE and VISITOR patterns and expressive interactions of the OBSERVER pattern with a tree structure. We thus show that modularization by aspects helps composition of design patterns.
Fichier principal
Vignette du fichier
denier-lobjet06.pdf (187.5 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

inria-00458203 , version 1 (19-02-2010)

Identifiants

  • HAL Id : inria-00458203 , version 1

Citer

Simon Denier, Pierre Cointe. Expression and Composition of Design Patterns with AspectJ. Revue des Sciences et Technologies de l'Information - Série L'Objet : logiciel, bases de données, réseaux, 2006, 12 (2-3), pp.41-61. ⟨inria-00458203⟩
132 Consultations
518 Téléchargements

Partager

Gmail Facebook X LinkedIn More