Spring Boot refresh() Function: invokeBeanFactoryPostProcessors in Action
Spring Boot has largely replaced the traditional XML-based Spring configuration and has become the dominant framework in many modern software and Internet companies.
Read More
Inside Spring: A Friendly Walkthrough of the Startup Process
This guide breaks down how Spring Framework 6.x starts up using traditional XML configuration. We’ll walk through the ClassPathXmlApplicationContext flow and focus on how beans are loaded, the refresh process, and how Spring handles circular dependencies with its three-level cache.
Read More
How a Spring Boot Web App Starts: Step-by-Step Explained This article explains the full startup process of a Spring Boot Web application, from the main() method to the application being fully initialized. I chose the older version(Spring Boot 1.5.7.RELEASE) because it is more understandable and fundational. And I will provide...
Read More
Java ThreadLocal Explained: How ThreadLocal Works Internally
ThreadLocal provides thread-local variables. Each thread accessing a ThreadLocal variable maintains an independent copy of the variable, preventing issues caused by shared mutable state across threads.
Read More
The Secret Sauce Behind ThreadPoolExecutor in Java
Read More