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
In-Depth Comparison of ArrayBlockingQueue and LinkedBlockingQueue in Java
Java’s blocking queues are critical components for implementing producer-consumer patterns in concurrent programming.
Read More