Articles tagged with #Spring
A curated list of engineering series, deep dives, and notes related to #Spring.
Building a Custom Mini Spring Boot Framework in Java: The Spring Capstone
Build a custom, runnable mini Spring Boot framework in Java from first principles. Synthesize IoC wiring, ASM/reflection scanning, AOP proxies, and embedded HTTP routing.
Declarative Transaction Management: How @Transactional Works Under the Hood
Understand Spring's @Transactional internal mechanics: TransactionInterceptor proxying, PlatformTransactionManager, propagation levels, and silent rollback failures.
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.
Component Scanning Mechanics: Annotations, Metadata Readers, and ASM Bytecode Parsing
Master Spring component scanning: ClassPathBeanDefinitionScanner, ASM bytecode parsing, MetadataReader, and BeanDefinition registration without classloading.
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.
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.
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.
Java Reflection Under the Hood: Classloading, Instantiation, and Metadata Inspection
Master Java Reflection: Class.forName(), getDeclaredConstructor(), setAccessible(true), annotation inspection, and ReflectionUtils performance.
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.
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.