O'Reilly logo

Spring Persistence with Hibernate by Ahmad Seddighi

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

Summary

In this chapter, we discussed Aspect-Oriented Programming (AOP) technology as a complementary approach to Object-Oriented Programming (OOP). AOP technology defines the aspect, a new concept in system development.

AOP development involves five components: advice, pointcut, advisor, target object, and proxy. Advice specifies the logic that is performed. A pointcut determines the target methods that are advised. An advisor, or aspect, pulls an advice and a pointcut together, and is responsible for applying the advice to the pointcut. The target object is the object that includes the advice methods. A proxy, the object delegated by the method invocation, calls advisors behind the scenes.

Spring provides three types of advice in addition to the ...

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