Java’s logic to stop threads (coordination, notification) In a Java program, if we want to stop a thread, we can stop it through the interrupt…
Friends know that when we create a Spring Boot project, there will be a parent by default. This parent helps us determine various common contents…
There have been some changes in the writing method of Spring Security configuration in recent versions. Many common methods have been abandoned and will be…
background Distinguish between UTF-8 and GBK GBK is a standard that is compatible with GB2312 after expansion based on the national standard GB2312. It is…
Overview The original intention of writing this article is to understand how to serialize and deserialize the JSR 310 date and time system in Spring…
background Some time ago, business R&D reported that his application’s memory usage was very high, causing frequent restarts. Let me check what’s going on; I…
CyclicBarrier in Java is a synchronization tool that allows multiple threads to wait at a barrier until all threads reach the barrier before execution can…
Preface Recently, a java service process in the business department will suddenly hang up for no reason, and then this service will generate a bunch…
The concept of SPI JAVA SPI = interface-based programming + strategy mode + dynamic loading mechanism of configuration files SPI usage scenarios Java is an object-oriented…
Several ways to hand over beans to Spring container management Spring core SpringThe core is IOC and AOP . The so-called IoC, for springthe framework, is responsible springfor controlling the…









