AOP@Work, Enhance design patterns with AspectJ, Part 1

AOP makes patterns lighter, more flexible, and easier to (re)use

From the developerWorks archives

Nicholas Lesiecki

Date archived: May 14, 2019 | First published: May 17, 2005

Design patterns have long been part of the experienced developer's tool chest. Unfortunately, because patterns can affect multiple classes, they can also be invasive and hard to (re)use. In this two-part article, the third in the AOP@Work series, Nicholas Lesiecki shows you how AOP solves this problem by fundamentally transforming pattern implementation. He examines three classic Gang of Four (GoF) design patterns (Adapter, Decorator, and Observer) and discusses the practical and design benefits of implementing them with aspect-oriented techniques.

This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some content, steps, or illustrations may have changed.

Zone=Java development
ArticleTitle=AOP@Work: Enhance design patterns with AspectJ, Part 1