Chapter 12. Learning design patterns

This chapter covers

  • Using worker object pattern

  • Using the wormhole pattern

  • Using the participant pattern

  • Using the annotation-driven participant pattern

Design patterns define solutions to recurring problems. Familiarity with these patterns often leads to a quick and proven solution; no wonder several books and articles are devoted to design patterns in every major technology. Patterns also carry names like factory, visitor, and decorator to simplify the communication of design concepts. Pattern names also convey the designer's intent and decisions succinctly and accurately without providing all the details.

This chapter presents AOP design patterns that can help you define solutions when you start applying AOP. ...

Get AspectJ in Action, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.