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.
Front Page