Java Ques5
Java Ques5
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.
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.
Before Advice
After Advice
After Returning Advice
Throws Advice
Around Advice