AOP Overview

In any application, we will have business logic to be developed and we write multiple classes and methods accordingly to achieve it. Each class and method we develop represents some functionality of the application. What if all these classes and methods need to have some common functionality? We call such functionality or a behavior applicable […]

Share this article on

Spring AOP with AspectJ XML configuration Example

In spring ,we can define all the pointcut,advice,aspect in the XML file. AOP advice should be used as below in the XML 1)aop:before: It is applied before the actual business logic method gets executed. 2)aop:after: It is applied after the execution of actual business logic method. 3)aop:after-returning: It is applied after the successful execution of […]

Share this article on
< Previous Next >