Tag: Ioc
8 articles
Spring In-Depth: IoC Container Circular Dependency, Prototype Scope and Lazy ObjectFactory
In-depth analysis of Spring IoC container system covering circular dependency, prototype beans, prototype scope, and lazy ObjectFactory with solutions.
Spring In-Depth: IoC Container System BeanFactory Analysis and Lazy-Init
In-depth analysis of Spring IoC container system covering BeanFactory process analysis and Bean lazy loading mechanism with practical examples.
IoC Basics: Pure Annotation Mode and SpringConfig Configuration
Detailed introduction to Spring pure annotation configuration including usage of @Configuration, @ComponentScan, @Bean, @PropertySource annotations and Web environment co...
IoC Basics: XML and Annotation Combined Configuration
Explaining Spring's XML and annotation combined configuration mode, including the correspondence between annotations and XML tags, and usage of dependency injection annot...
IoC Basics: Pure XML Startup and Bean, DI Injection Details
Detailed explanation of Spring IoC configuration in pure XML mode including three ways to create Beans, lifecycle, scope, and XML configuration for constructor injection...
IoC Basics: Summary of Ways to Start an IoC Container
"BeanFactory is the top-level interface of the Spring framework's IoC container.
Implementing Simple IoC-03: Manually Implementing an IoC Container
Step-by-step guide to manually implement an IoC container using BeanFactory and XML configuration to manage Bean dependencies and complete core dependency injection imple...
Implementing Simple IoC-02: Implementing Business Without Spring
Manually implement business logic layering without using Spring, including DAO layer, Service layer, and Controller layer, demonstrating dependency management issues in t...