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.
Document type :
Theses
Complete list of metadatas

https://tel.archives-ouvertes.fr/tel-00458186
Contributor : Simon Denier <>
Submitted on : Friday, February 19, 2010 - 3:44:25 PM
Last modification on : Wednesday, April 11, 2018 - 1:55:56 AM
Long-term archiving on : Friday, June 18, 2010 - 6:23:03 PM

Identifiers

  • HAL Id : tel-00458186, version 1

Collections

Citation

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⟩

Share

Metrics

Record views

302

Files downloads

853