AOP : Aspect Oriented Programming

AOP : programming paradigm that aims to increase modularity by allowing the separation of cross-cutting concerns. In any Application development we will have 2 things 1)Business Logic 2)Cross cutting logic 1) : Actual business related code : ex adding an employee details to DB 2): cross-cutting concerns are aspects of a program that affect other […]

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 >