Chapter 11. Adopting AspectJ

Where do you begin when looking to use AspectJ on a project, and what kinds of aspects should you be writing? This chapter outlines the adoption process that we recommend for individuals and project teams new to aspect-oriented programming and to AspectJ. After a brief discussion of the different types of aspects you may encounter, the bulk of the chapter comprises examples of aspects of increasing levels of sophistication. Along the way, we also show you some features of AJDT that you haven’t encountered yet.

The Adoption Process

Most project teams that we work with progress through the same set of stages in adopting AspectJ. These stages are designed to make sure that you can run before you can walk, that you have ...

Get Eclipse AspectJ: Aspect-Oriented Programming with AspectJ and the Eclipse AspectJ Development Tools 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.