Skip to Main content Skip to Navigation

Expression et composition des motifs de conception avec les aspects

Simon Denier 1
1 OBASCO - Objects, aspects and components
Mines Nantes - Mines Nantes, Inria Rennes – Bretagne Atlantique
Abstract : Design patterns are considered as good practices of object-oriented programming. Patterns solutions, which we called motifs, appear with an increasing density in libraries and frameworks. Little is known about the effects of a high density of motifs on modularity, adaptation, and reuse of code. Studying density is difficult due to scattering and tangling of motif implementation. Aspect-oriented programming is a new technique dedicated to the treatment of code scattering and tangling. Then modularizing motifs with aspects should enable us to analyze implementation and composition of motifs related to their density. This thesis addresses the problems of density, implementation and composition of motifs with AspectJ, an extension of Java for aspects. Based on a case study with the JHotDraw framework, we illustrate how a high density of motifs weakens modularity and adaptation of code. We present transformation of motifs with the help of aspects and we describe AspectJ idioms supporting their modularization. We inspect modularity and reuse of motifs composition defined with aspects. We demonstrate how aspects crosscutting languages help solving motifs interactions. Finally we develop a programming model for AspectJ based on the joint use of classes and aspects. This work enlightens how aspects facilitate studying and handling a high density of motifs. Moreover, it opens perspectives for the improvement of aspects languages.
Complete list of metadatas
Contributor : Simon Denier <>
Submitted on : Friday, February 19, 2010 - 3:44:25 PM
Last modification on : Wednesday, April 11, 2018 - 1:55:56 AM
Document(s) archivé(s) le : Friday, June 18, 2010 - 6:23:03 PM


  • HAL Id : tel-00458186, version 1



Simon Denier. Expression et composition des motifs de conception avec les aspects. Génie logiciel [cs.SE]. Université de Nantes, 2007. Français. ⟨tel-00458186⟩



Record views


Files downloads