Proxy model of Spring basic learning

preface: Hello, guys, I'm running snail rz. Of course, you can call me snail Jun. I'm a rookie who has studied Java for more than half a year. At the same time, I also have a great dream, that is, to become an excellent Java Architect one day. This Spring basic learning series is used to record the whole process of learning the basic knowle ...

Posted by eazyGen on Fri, 15 Oct 2021 19:38:58 +0200

Deep understanding of java Dynamic Proxy

AOP,Aspectj,Spring AOP Past and Present AOP is to implement certain packaging based on the code we originally wrote, such as interception or enhancement processing before method execution, after method return, after method run out of the exception, etc.The implementation of AOP is not because of what magical dog java provides. It tells us a fe ...

Posted by Opticon on Fri, 08 Oct 2021 18:40:16 +0200

Agent mode & dynamic agent

Agent mode & dynamic agent proxy pattern summary For some reasons, it is necessary to provide a proxy for some objects to control the access to the object. The service object is not suitable to directly reference the target object. The proxy object acts as an intermediary between the access object and the target object. advantage The p ...

Posted by antwown on Thu, 07 Oct 2021 19:12:26 +0200

12000 + word Java reflection, to fully understand the Java reflection mechanism together and pave the way for the learning framework

Java reflection mechanism Reflection is the key to being regarded as a dynamic language. Reflection mechanism allows programs to obtain the internal information of any class with the help of Reflection API during execution, and can directly operate the internal properties and methods of any object. After loading the Class, a Class objec ...

Posted by BluntedbyNature on Sun, 03 Oct 2021 20:14:20 +0200