Tagged articles

Dependency Injection

514 articles · Page 6 of 6
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.

AndroidDagger2Dependency Injection
0 likes · 19 min read
Understanding Dagger2 Dependency Injection in Android with Practical Code Examples
Architecture Digest
Architecture Digest
May 17, 2016 · Backend Development

69 Spring Interview Questions and Answers

This article provides a comprehensive collection of 69 Spring interview questions and answers, covering core concepts such as the framework overview, benefits, modules, IoC container, bean scopes, dependency injection, AOP, annotations, JDBC template, DAO support, transaction management, and MVC architecture.

AOPDependency InjectionJava
0 likes · 19 min read
69 Spring Interview Questions and Answers
Architecture Digest
Architecture Digest
May 17, 2016 · Backend Development

Introduction to the Spring Framework: Core Concepts, Bean Management, and AOP

This article provides a comprehensive overview of the Spring framework, covering its low‑invasion design, IoC container, dependency injection types, bean scopes, autowiring options, bean creation methods, post‑processors, zero‑configuration annotations, and AOP support with AspectJ, supplemented by practical code examples.

AOPBeanDependency Injection
0 likes · 20 min read
Introduction to the Spring Framework: Core Concepts, Bean Management, and AOP
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Apr 25, 2016 · Frontend Development

Mastering Dependency Injection in Front-End Development: Concepts & Code

This article explains what Dependency Injection (DI) is, how it relates to the Dependency Inversion Principle, and demonstrates practical JavaScript examples for front‑end developers, covering injection patterns, container implementation, and a comparison with the Service Locator pattern.

Dependency Injectiondesign patternsmodule-management
0 likes · 13 min read
Mastering Dependency Injection in Front-End Development: Concepts & Code
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 DevelopmentDependency InjectionSpring
0 likes · 9 min read
Introduction to Spring Framework and Dependency Injection
Qunar Tech Salon
Qunar Tech Salon
Jan 31, 2016 · Backend Development

Understanding Dependency Injection in Spring: Concepts, Configuration Methods, and Code Samples

This article explains the fundamentals of dependency and dependency injection in Spring, compares class relationships such as inheritance, association, aggregation, and composition, and demonstrates constructor, static‑factory, instance‑factory, setter, constant, and ID reference injection with detailed XML configurations and Java code examples.

Bean ConfigurationConstructor InjectionDependency Injection
0 likes · 18 min read
Understanding Dependency Injection in Spring: Concepts, Configuration Methods, and Code Samples
Qunar Tech Salon
Qunar Tech Salon
Jan 30, 2016 · Backend Development

Spring IoC Bean Configuration, Naming, and Instantiation Guide

This article explains how to structure Spring XML configuration files, define bean metadata, use id/name/alias for bean naming, and instantiate beans via constructors, static factory methods, or instance factories, providing detailed code examples and JUnit tests for each approach.

BeanDependency InjectionIOC
0 likes · 12 min read
Spring IoC Bean Configuration, Naming, and Instantiation Guide
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 InjectionIOCdesign patterns
0 likes · 7 min read
Understanding Inversion of Control (IoC) and Dependency Injection (DI)
21CTO
21CTO
Nov 22, 2015 · Mobile Development

Master Clean Architecture for Android: Build Robust, Testable Apps

This guide explains how to apply clean architecture principles to Android development by separating concerns into presentation, domain, and data layers, ensuring framework, UI, and database independence, and providing testing strategies and error‑handling techniques for a maintainable app.

AndroidClean ArchitectureDependency Injection
0 likes · 9 min read
Master Clean Architecture for Android: Build Robust, Testable Apps
Qunar Tech Salon
Qunar Tech Salon
Mar 9, 2015 · Frontend Development

Angular 2.0: Motivation, Design, and Key Features (with AngularJS 1.3 Overview)

This article reviews the latest AngularJS 1.3 release, explains why a major rewrite was needed for Angular 2.0, and details the new language AtScript, dependency‑injection improvements, component model, Web Components support, and other design decisions shaping modern frontend development.

AngularAtScriptComponent Architecture
0 likes · 29 min read
Angular 2.0: Motivation, Design, and Key Features (with AngularJS 1.3 Overview)
Baidu Tech Salon
Baidu Tech Salon
Nov 24, 2014 · Backend Development

Top 70 Spring Interview Questions Every Java Developer Should Know

This comprehensive guide lists and explains over seventy common Spring framework interview questions, covering core concepts, modules, IoC, AOP, bean scopes, configuration styles, MVC, data access, transaction management, and annotation-based programming to help Java developers prepare effectively.

AOPDependency InjectionJava
0 likes · 21 min read
Top 70 Spring Interview Questions Every Java Developer Should Know