What is an advice in Spring Framework AOP in Java?

Advice is a piece of extremely high reusable code that you don’t want to write everywhere in your code. Advices are applied at multiple places with the help of regex, for example all methods having naming convention get**() called pointcuts !!!!

Such commonly occuring code is call cross cutting concncerns !!!!

It is used in places like Tracing, Transaction management , Resource cleanup ect.

http://sps-tech.in

spstech

Java developer and blogger. Passionate about clean code, JVM internals, and sharing knowledge with the community.

Leave a Reply

Your email address will not be published. Required fields are marked *