AOP Introduction
What is AOP
AOP uses a lateral extraction mechanism replacing the traditional longitudinal succession repetitive coding system
Classic applications: transaction management, caching, performance monitoring, security check
The principle AOP
The principle: the use of proxy underlying mechanism to achieve.
The interface and implementation class: spring of the dynamic agent Proxy jdk
Only implementation class, spring bytecode enhancement using cglib
The principle: the use of proxy underlying mechanism to achieve.