Composing design patterns
Nélio Cacho, Cláudio Sant’Anna, Eduardo Figueiredo et al. · International Conference on Aspect-Oriented Software Development (AOSD) · 2006
Pattern composition has been shown as a challenge to applying design patterns in real software systems. One of the main problems is that multiple design patterns in a system are not limited to affect only the application concerns. They also crosscut each other in multiple heterogeneous ways so that their separation and composition are far from being trivial. In this context, it is of paramount importance to systematically verify whether aspect-oriented programming (AOP) supports improved composability of design patterns. This paper presents a systematic investigation on how AOP scales up to deal with modularization of pattern-specific concerns in the presence of pattern interactions. We have made both qualitative and quantitative assessments of 62 pairwise compositions taken from 3 medium-sized systems implemented in Java and AspectJ programming languages. Our analysis has also included the evaluation of compositions involving more than two patterns. The assessment was based on four fundamental software attributes, namely separation of concerns, coupling, cohesion, and conciseness.
Cited by 95 works. doi:10.1145/1119655.1119672
Authors
- Nélio Cacho
- Cláudio Sant’Anna
- Eduardo Figueiredo
- Alessandro Daeli Garcia
- Thaı́s Batista
- Carlos J. P. de Lucena
References
- Design Patterns: Elements of Reusable Object-Oriented Software
- Aspect-oriented programming
- Pattern languages of program design
- Design pattern implementation in Java and aspectJ
- D: A Language Framework for Distributed Programming
- Tool support for object-oriented patterns
- Modularizing design patterns with aspects
- On the Reuse and Maintenance of Aspect-Oriented Software: An Assessment Framework
- The Design and Implementation of Open ORB 2
- Implementing patterns