==>>What is AOP?
AOP breaks the program logic into distinct parts (called concerns). It is used to
increase modularity by cross-cutting concerns.
A cross-cutting concern is a concern that can affect the whole application and
should be centralized in one location in code as possible,
such as transaction management, authentication, logging, security etc.
==>>What are the advantages of spring AOP?
AOP enables you to dynamically add or remove concern before or after the business
logic. It is pluggable and easy to maintain.
==>>What is JoinPoint?
JoinPoint is any point in your program such as field access, method execution,
exception handling etc.
==>> What are the types of advice in AOP?
Before Advice
After Advice
After Returning Advice
Throws Advice
Around Advice
==>>What Are Aspect, Advice, Pointcut and JoinPoint in AOP?
Aspect – a class that implements cross-cutting concerns, such as transaction
management
Advice – the methods that get executed when a specific JoinPoint with matching
Pointcut is reached in the application
Pointcut – a set of regular expressions that are matched with JoinPoint to
determine whether Advice needs to be executed or not
JoinPoint – a point during the execution of a program, such as the execution of a
method or the handling of an exception