Tag: IoC
6 lessons about IoC · from 2 modules · learn them in order
01IoC and DI Explained: What Exactly Gets InvertedStarting from order code that explodes on every change: the three readings of IoC, three injection styles, DIP and the Hollywood Principle — the cornerstone for everything else in the kernel.Intermediate38′02BeanDefinition in Detail: The Registry Behind Every BeanA container manages definitions, not objects. Walk every core field of BeanDefinition, its three registration sources, parent merging and the exact moment post-processors rewrite it.Intermediate40′03The Boot Kernel: All Twelve Steps of refresh()Behind one line — new AnnotationConfigApplicationContext() — sit twelve precise steps. Walk every step of refresh(), its extension points and its source locations to see what really happens at startup.Advanced34′04Circular Dependencies and the Three-Level CacheA needs B and B needs A — why is Spring calm? The lookup order of the three caches, how early references get promoted, and the classic question of why three levels instead of two.Advanced44′
01What Spring Really Is: From the Pain of EJB to the Birth of IoCWhy does a 2003 framework still rule Java? From the lessons of EJB to an intuitive explanation of IoC, the Spring family map, and the real difference between Spring and Spring Boot.Beginner34′02Your First Spring Application: XML and Annotation WiringWithout Spring Boot: assemble a container with Maven and spring-context — XML bean declarations, annotation scanning, constructor and setter injection, scopes, and a clear comparison of both styles.Intermediate34′