Answer the question
In order to leave comments, you need to log in
What is the difference between creating a proxy through BeanPostProcessor and AOP?
We can create a proxy for the target bean in the postProcessAfterInitialization() method of the BeanPostProcessor.
And we can use AOP - and a proxy will also be created, also through Dynamic Proxy or CGlib.
What is the difference?
When should you use BPP and when should you use AOP?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question