In this chapter, we gave a general view of the integration between AspectJ and Spring using the powerful syntax of joinpont definition, both through annotations and XML configuration.
We saw how AspectJ, through annotations, makes the work of defining the application of advices easier. We have much shorter configuration files, since we don't have to configure each AOP component in the classic way.
The other option is the configuration with AspectJ through XML file, which is far simpler compared to the classic version and becomes nearly compulsory if we use a JDK previous to 1.5, which is the one that supports annotations.
In the last part, I gave some advice to solve conflicts in the priorities of execution, and about the possible uses of the different configuration methods.