Chapter 7. Diving into the @AspectJ syntax

This chapter covers

  • Mapping pointcuts

  • Mapping dynamic and static crosscutting

  • Understanding the limitations of the syntax

One-size-fits-all usually fits nothing! Over the last few years, the AspectJ community realized that a single syntax style and one weaving model didn't meet all the needs of real-world AOP usage. AspectJ responded to the real world's needs by offering pragmatic choices for syntax and weaving models. With the new choices, using AspectJ is easier than ever before. In this chapter, we'll examine a major alternative to the traditional syntax. The next chapter will deal with weaving models.

Until now in this book, we've focused on the traditional syntax, which excels in its power, expressiveness, ...

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.