Tag: IoC

8 articles

Spring In-Depth: IoC Container Circular Dependency Protot...

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 Analysi...

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 Configu...

Detailed introduction to Spring pure annotation configuration including usage of @Configuration, @ComponentScan, @Bean, @PropertySource annotations and Web environment configuration.

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 annotations like @Autowired, @Qu...

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 and setter injection.

IoC Basics: Summary of Ways to Start an IoC Container

Detailed introduction to Spring IoC container startup methods including ClassPathXmlApplicationContext, FileSystemXmlApplicationContext in Java environment, and XML and configuration class methods ...

Implementing Simple IoC-03: Manually Implementing an IoC ...

Step-by-step guide to manually implement an IoC container using BeanFactory and XML configuration to manage Bean dependencies and complete core dependency injection implementation.

Implementing Simple IoC-02: Implementing Business Without...

Manually implement business logic layering without using Spring, including DAO layer, Service layer, and Controller layer, demonstrating dependency management issues in traditional development.