Skip to Main content Skip to Navigation
Journal articles

Expression and Composition of Design Patterns with AspectJ

Simon Denier 1, * Pierre Cointe 1 
* Corresponding author
1 OBASCO - Objects, aspects and components
Mines Nantes - Mines Nantes, Inria Rennes – Bretagne Atlantique
Abstract : 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.
Document type :
Journal articles
Complete list of metadata

Cited literature [28 references]  Display  Hide  Download
Contributor : Simon Denier Connect in order to contact the contributor
Submitted on : Friday, February 19, 2010 - 4:09:58 PM
Last modification on : Friday, February 4, 2022 - 3:19:03 AM
Long-term archiving on: : Thursday, October 18, 2012 - 3:35:09 PM


Files produced by the author(s)


  • HAL Id : inria-00458203, version 1


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, Hermès-Lavoisier, 2006, 12 (2-3), pp.41-61. ⟨inria-00458203⟩



Record views


Files downloads