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 […]
JAVA
Let’s talk about a small detail of Spring Boot that everyone knows!
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 […]
Spring Security6 has a new way of writing, a big change!
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 […]
Record a question about GBK encoding
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 […]
How to elegantly personalize Jackson in Spring Boot2
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 […]
How to configure JVM memory in a cloud native context
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 […]
Introduction to Java High Concurrency CyclicBarrier
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 […]
Remember to troubleshoot and fix the problem of frequent java processes hanging up
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 […]
This article explains the highly scalable tool SPI of Java core technology
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 […]
How many ways are there to hand over beans to Spring container management?
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 […]