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 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.