Skip to Main content Skip to Navigation
Conference papers

Understanding Design Patterns Density with Aspects: A Case Study in JHotDraw using AspectJ

Simon Denier 1, * Pierre Cointe 1, 2 
* Corresponding author
1 OBASCO - Objects, aspects and components
Mines Nantes - Mines Nantes, Inria Rennes – Bretagne Atlantique
Abstract : Design patterns offer solutions to common engineering prob- lems in programs [1]. In particular, they shape the evolution of program elements. However, their implementations tend to vanish in the code: thus it is hard to spot them and to understand their impact. The prob- lem becomes even more difficult with a "high density of pattern": then the program becomes easy to evolve in the direction allowed by patterns but hard to change [2]. Aspect languages offer new means to modular- ize elements. Implementations of object-oriented design patterns with AspectJ have been proposed [3]. We aim at testing the scalability of such solutions in the JHotDraw framework. We first explore the impact of density on pattern implementation. We show how AspectJ helps to reduce this impact. This unveils the principles of aspects and AspectJ to control pattern density.
Document type :
Conference papers
Complete list of metadata

Cited literature [16 references]  Display  Hide  Download

https://hal.inria.fr/inria-00458193
Contributor : Simon Denier Connect in order to contact the contributor
Submitted on : Friday, February 19, 2010 - 4:29:46 PM
Last modification on : Wednesday, April 27, 2022 - 3:49:29 AM
Long-term archiving on: : Thursday, October 18, 2012 - 3:31:05 PM

File

denier-sc06.pdf
Files produced by the author(s)

Identifiers

Citation

Simon Denier, Pierre Cointe. Understanding Design Patterns Density with Aspects: A Case Study in JHotDraw using AspectJ. Proceedings of the International Workshop on Software Composition (SC'06), Mar 2006, Vienne, Austria. pp.243-258, ⟨10.1007/11821946_16⟩. ⟨inria-00458193⟩

Share

Metrics

Record views

124

Files downloads

355