java static proxy and dynamic proxy
1. Agency
The agent is in English
P
r
o
x
y
Proxy
Proxy translated. The agents we have seen in life are probably the most common ones who sell mask in the circle of ...
Posted by fiztec on Sat, 30 Oct 2021 10:38:02 +0200
Handwritten RPC framework
Handwritten RPC framework (I)
RPC(Remote Procedure Call), that is, remote procedure call, is mainly used in distributed applications. Services are deployed on different machines to call the content in the remote server through the RPC framework. Generally, the RPC framework adopts the client / Provider mode, and its main processes are:
Client ...
Posted by Spades on Fri, 29 Oct 2021 16:33:21 +0200
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