Tag

DI

0 views collected around this technical thread.

Architect
Architect
Jun 22, 2023 · Backend Development

Understanding Spring’s Core Concepts: IoC, DI, AOP and Bean Management

The article explains how Spring’s IoC container, dependency injection, singleton beans, and AOP simplify Java backend development by abstracting object creation, configuration, and cross‑cutting concerns, illustrated with code examples and practical scenarios such as conditional bean loading and Redis client selection.

AOPBackend DevelopmentDI
0 likes · 12 min read
Understanding Spring’s Core Concepts: IoC, DI, AOP and Bean Management
360 Smart Cloud
360 Smart Cloud
Dec 7, 2022 · Backend Development

Using Google Wire for Dependency Injection in Go

This article explains the concept of dependency injection, demonstrates a simple Go example with Message, Greeter, and Event components, and shows how the Google Wire library can automate the wiring of these components through code generation, reducing manual initialization complexity.

BackendDIDependency Injection
0 likes · 7 min read
Using Google Wire for Dependency Injection in Go
Top Architect
Top Architect
Jul 11, 2022 · Backend Development

Spring Core Concepts and Building a Mini Framework Without Spring

This article explains Spring's core features such as IoC, DI and AOP, demonstrates creating a simple Hello World service with Spring Boot, then shows how to implement the same functionality using raw Servlets and finally builds a miniature Spring‑like framework with custom annotations, an IOC container and a dispatcher servlet.

AOPBackendDI
0 likes · 19 min read
Spring Core Concepts and Building a Mini Framework Without Spring
Top Architect
Top Architect
Jun 20, 2021 · Backend Development

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

This article explains the concepts of Inversion of Control (IoC) and Dependency Injection (DI) in the Spring framework, describing how containers manage object creation, reduce coupling, improve testability, and embody the Hollywood principle for more flexible Java backend development.

DIDependency InjectionInversion of Control
0 likes · 9 min read
Understanding Spring IoC (Inversion of Control) and Dependency Injection (DI)
Top Architect
Top Architect
Jan 9, 2021 · Backend Development

Guice Dependency Injection Tutorial: Modules, Bindings, Scopes, and Assisted Injection

This article introduces Google Guice, a lightweight Java dependency injection framework, covering its core concepts, module configuration, various binding types, scopes, injection methods, provider usage, assisted injection, and includes extensive code examples demonstrating how to replace manual object creation with Guice-managed dependencies.

Assisted InjectionBindingsDI
0 likes · 10 min read
Guice Dependency Injection Tutorial: Modules, Bindings, Scopes, and Assisted Injection
JD Retail Technology
JD Retail Technology
Apr 8, 2020 · Backend Development

Building a Simplified Spring Framework: Step‑by‑Step IOC, DI, and MVC Implementation

This article walks through creating a lightweight Spring‑like framework in Java, detailing the project structure, startup process, MVC module initialization, core IOC container design, BeanDefinition handling, bean registration, dependency injection, and circular‑dependency resolution, all illustrated with diagrams and code snippets.

BackendDIIoC
0 likes · 7 min read
Building a Simplified Spring Framework: Step‑by‑Step IOC, DI, and MVC Implementation
Qunar Tech Salon
Qunar Tech Salon
Sep 12, 2016 · Mobile Development

Understanding Dagger2 Dependency Injection in Android with Practical Code Examples

This article explains the concepts and practical usage of Dagger2 for compile‑time dependency injection in Android, illustrating why hard‑coded object creation is problematic, how constructor, setter, and interface injection solve these issues, and providing step‑by‑step code samples for modules, components, scopes, and qualifiers.

AndroidAnnotationsDI
0 likes · 19 min read
Understanding Dagger2 Dependency Injection in Android with Practical Code Examples
Qunar Tech Salon
Qunar Tech Salon
Mar 6, 2016 · Backend Development

Introduction to Spring Framework and Dependency Injection

This article introduces the Spring Framework, explains its layered architecture and core modules, and details fundamental concepts such as Dependency Inversion Principle, Dependency Injection, BeanFactory, BeanDefinition, and ApplicationContext, along with practical Java‑based configuration and annotation‑driven wiring examples.

Backend DevelopmentDIDependency Injection
0 likes · 9 min read
Introduction to Spring Framework and Dependency Injection