[Xiao Ming] talk about your understanding of Spring L3 cache and circular dependency [suggestions]

1, What is circular dependency? What is L3 cache? [what is circular dependency] it is easy to understand what is circular dependency. When it appears in our code, such as dependency injection in BeanA class, BeanB class, and dependency injection in BeanB class A, after creaBean instantiates a in the IOC process, it is found that the initbeanA ...

Posted on Sun, 19 Sep 2021 16:16:14 -0400 by Grim...

Implementation principle of Spring AOP -- dynamic proxy

The bottom layer of Spring AOP is realized through dynamic proxy, including JDK dynamic proxy and cglib dynamic proxy. JDK dynamic agent Handwritten JDK dynamic proxy public interface UserInterface { Integer test(); } Proxy class public class User implements UserInterface { public String getName() { return name; } ...

Posted on Wed, 08 Sep 2021 03:52:06 -0400 by The Stranger

Springboot AOP aspect oriented programming, lower part: use AOP aspect technology to create access logs for API interfaces!

1. Introduction Above, we have learned the basic and related knowledge of AOP aspect oriented programming and learned that it can create monitoring logs for programs without modifying the source code. In this paper, we carry out practice and use AOP aspect technology to create a unified access log for the mainstream restful API interface to re ...

Posted on Wed, 08 Sep 2021 01:45:20 -0400 by perrohunter

A Brief Analysis of the Principle of JDK Dynamic Agent

A Brief Analysis of the Principle of JDK Dynamic Agent Previously, I wrote an article describing the use of JDK dynamic and static proxies. If you forget the basic usage, you can quickly recall it: 5 minutes to understand Java static and dynamic proxies .This article mainly introduces the principle of JDK dynamic proxy 1. What is dynamic? ...

Posted on Fri, 03 Sep 2021 12:39:35 -0400 by Duodecillion