a spring AOP study notes: The basic concept

AOP: Compared with OOP, aspect-oriented, OOP development code logic is top-down. In this process there will be some cross-cutting issues, such as logging, transaction, time and so on. But these cross-cutting issues and the main business logic has little to do, will be scattered in various parts of the code, making it difficult to maintain, AOP idea is to become a cross-cutting issue and business logic separation, so as to achieve the purpose of decoupling, the code reuse and higher development efficiency.

 

Guess you like

Origin www.cnblogs.com/freakkkkk/p/10935250.html