O'Reilly logo

AspectJ in Action by Ramnivas Laddad

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

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