Spring Cloud Config Server Explained: Behind the Scenes with Source Code A Spring Cloud Config Server serves as a central place to manage external configuration for applications across all environments. Here is a walkthrough of the source code behind a Spring Cloud Config Server instance and highlights the key components,...
Read More
How Spring Boot Uses Three-Level Caching to Solve Circular Dependencies Circular dependencies in Spring are a common issue when two or more beans depend on each other. Spring can resolve singleton circular dependencies but only for property-based injection — not constructor injection. Spring uses a three-level caching mechanism to achieve...
Read More
How Spring Boot Actually Creates Beans — A Step-by-Step Walkthrough via finishBeanFactoryInitialization After a series of initialization steps in Spring Boot, the real process of bean creation begins in the finishBeanFactoryInitialization() method. This is the core of the Spring IoC container, where control over bean instantiation shifts from the user...
Read More
Understanding IoC and AOP in refresh(): How BeanFactory and BeanDefinition Power Your Application
Read More
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