Chapter 12. Advanced AJDT

This chapter shows you how to use some of the more advanced features of AJDT, specifically covering the following topics:

  • How to create (and use) an aspect library

  • How you can use AJDT to link (weave) aspects with prebuilt class files in Jars and directories

  • Using AspectJ and AJDT with Ant

  • Aspect visualization

Aspect Libraries

An aspect library is just a Jar file containing compiled aspects (.class files) and any supporting types and resources. Using an aspect library avoids the need to compile from source any aspects you may be using in your project, and facilitates independent development of reusable aspects.

The aspects that we have been using to work with Hibernate throughout the book feel like they should be generally reusable ...

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.