Tagged articles

IOC

103 articles · Page 2 of 2
Qunar Tech Salon
Qunar Tech Salon
Jan 29, 2016 · Backend Development

Understanding Spring IoC Container, Beans, and a Hello World Example

This article explains the concepts of Spring's IoC container and beans, guides through setting up a development environment, details the required JARs, demonstrates creating a simple Hello World application with interface and implementation, and shows how to configure and retrieve beans using XML configuration.

@BeanDependency InjectionIOC
0 likes · 11 min read
Understanding Spring IoC Container, Beans, and a Hello World Example
Qunar Tech Salon
Qunar Tech Salon
Jan 27, 2016 · Fundamentals

Understanding Inversion of Control (IoC) and Dependency Injection (DI)

The article explains the concept of Inversion of Control, how it reverses object creation responsibilities to a container, the benefits of loose coupling and testability, and clarifies the relationship between IoC and Dependency Injection with illustrative diagrams and references.

Dependency InjectionDesign PatternsIOC
0 likes · 7 min read
Understanding Inversion of Control (IoC) and Dependency Injection (DI)