Chapter 9. Integration with Spring

 

This chapter covers

  • Understanding Spring AOP basics
  • Using @AspectJ integration
  • Working with schema-style AOP
  • Weaving aspects using Spring

The Spring Framework, a widely used enterprise application framework, is based on three core ideas: dependency injection, enterprise services abstraction, and aspect-oriented programming. Dependency injection (DI) is at the heart of Spring. It allows components to be wired in a declarative manner. The enterprise services abstraction encourages isolating stable application logic from volatile infrastructure code. Of course, our main interest here is the use of AOP in Spring. AOP lets you separate the implementation of crosscutting concerns from business concerns. All of these features work together to offer a compelling solution.

9.1. Spring AOP fundamentals

9.2. Spring AOP under the hood

9.3. @AspectJ support in depth

9.4. Schema-style AOP support

9.5. Tapping into the full power of AspectJ

9.6. Choosing an appropriate AOP system

9.7. Summary

sitemap