O'Reilly logo

Eclipse AspectJ: Aspect-Oriented Programming with AspectJ and the Eclipse AspectJ Development Tools by Matthew Webster, George Harley, Andy Clement, Adrian Colyer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required