Spring & Spring Boot Architecture
Technical essays and low-level architectural breakdowns exploring mechanical execution, system trade-offs, and engine internals.
Mastering Spring & Spring Boot Core Internals: Series Introduction & Learning Roadmap
Discover what you will learn in this 20-part series on Spring & Spring Boot Core Internals. Build a custom Spring Boot framework from scratch.
Why Manual Object Wiring Fails at Scale: The Inversion of Control (IoC) Problem
Discover why manual Java object instantiation fails at scale: tight coupling, rigid constructor dependencies, and Inversion of Control (IoC) solutions.
Java Reflection Under the Hood: Classloading, Instantiation, and Metadata Inspection
Master Java Reflection: Class.forName(), getDeclaredConstructor(), setAccessible(true), annotation inspection, and ReflectionUtils performance.
Dependency Injection Mechanics: Constructor, Field, and Setter Injection Trade-offs
Master Spring Dependency Injection styles: Constructor, Field, and Setter Injection mechanics, immutability, unit testing, and circular dependencies.
Building a Custom IoC Container in Java: Reflection-Based Dependency Wiring
Build a functional Inversion of Control (IoC) container in Java with custom @MyComponent and @MyAutowired annotations and reflection-based wiring.
ApplicationContext vs BeanFactory: The Architecture of Spring's IoC Container
Master Spring container architecture: BeanFactory vs ApplicationContext, lazy vs eager bean initialization, i18n MessageSource, and event publication.
Component Scanning Mechanics: Annotations, Metadata Readers, and ASM Bytecode Parsing
Master Spring component scanning: ClassPathBeanDefinitionScanner, ASM bytecode parsing, MetadataReader, and BeanDefinition registration without classloading.
The Complete Spring Bean Lifecycle: Instantiation, Dependency Injection, Init, and Destroy
Master the complete Spring Bean Lifecycle: Instantiation, property population, Aware interfaces, BeanPostProcessors, @PostConstruct, AOP proxying, and @PreDestroy.