Tagged articles

dependency injection

526 articles · Page 6 of 6
Java Captain
Java Captain
Apr 10, 2018 · Backend Development

Deep Dive into Spring Framework: IOC Container, BeanFactory, Bean Loading, and FactoryBean

This article provides an in‑depth exploration of Spring's core concepts—including the IOC container, ApplicationContext vs BeanFactory, bean instantiation lifecycles, and the role of FactoryBean—supplemented with diagrams and source code excerpts to help Java developers understand the framework's inner workings.

BeanFactoryFactoryBeanSpring
0 likes · 16 min read
Deep Dive into Spring Framework: IOC Container, BeanFactory, Bean Loading, and FactoryBean
Hujiang Technology
Hujiang Technology
Apr 2, 2018 · Backend Development

Introducing NestJS and Nesk: Backend Framework Overview and Koa Integration

This article explains the core concepts of NestJS—including modules, controllers, providers, guards, interceptors, and validation pipes—provides practical code examples, and describes how the Nesk fork adapts Nest's architecture to a Koa‑based environment for seamless integration with existing internal frameworks.

GuardsInterceptorsKoa
0 likes · 10 min read
Introducing NestJS and Nesk: Backend Framework Overview and Koa Integration
Java Backend Technology
Java Backend Technology
Jan 4, 2018 · Backend Development

Mastering Spring IoC: 3 Clear Paths to Understand the Core Container

This article guides Java backend developers through the fundamentals of Spring IoC and DI, illustrating three practical learning routes—from simple BeanFactory containers to advanced ApplicationContext and WebApplicationContext implementations—using diagrams, code examples, and concise explanations to demystify the core container.

ApplicationContextBeanFactoryIoC
0 likes · 12 min read
Mastering Spring IoC: 3 Clear Paths to Understand the Core Container
Architecture Digest
Architecture Digest
Apr 30, 2017 · Backend Development

Essential Java Libraries You Should Not Miss in 2017

This article compiles a curated list of indispensable Java libraries—including Guice, OkHttp, Retrofit, JDeferred, RxJava, MBassador, Lombok, SLF4J, JUnitParams, Mockito, Jukito, Awaitility, Spock, and WireMock—providing concise descriptions and practical code examples to help developers choose the right tools for modern backend development.

HTTP clientLibrariesbackend
0 likes · 13 min read
Essential Java Libraries You Should Not Miss in 2017
Architecture Digest
Architecture Digest
Oct 29, 2016 · Backend Development

Understanding Laravel’s Core Concepts: Lifecycle, Service Container, Dependency Injection, Contracts, and Facades

This article explains Laravel’s underlying architecture by detailing PHP’s execution phases, Laravel’s request lifecycle, the bootstrap process, the service container, dependency injection, binding mechanisms, and the role of contracts and facades, providing practical code examples for each concept.

ContractsFacadesPHP
0 likes · 16 min read
Understanding Laravel’s Core Concepts: Lifecycle, Service Container, Dependency Injection, Contracts, and Facades
Tencent Music Tech Team
Tencent Music Tech Team
Oct 14, 2016 · Mobile Development

Understanding ButterKnife: Dependency Injection in Android with JavaPoet and Annotation Processing

ButterKnife is a compile‑time, annotation‑based dependency injection library for Android that uses JavaPoet‑generated helper classes to replace repetitive findViewById calls, offering faster development and runtime performance while adding a modest number of auxiliary classes and a one‑time reflection cost.

AndroidAnnotation ProcessingButterKnife
0 likes · 20 min read
Understanding ButterKnife: Dependency Injection in Android with JavaPoet and Annotation Processing
Java Backend Technology
Java Backend Technology
Oct 11, 2016 · Backend Development

Mastering Spring: Core Concepts, Modules, and Best Practices

This comprehensive guide explains what Spring is, its advantages, core modules, container architecture, bean factories, dependency injection types, bean scopes, lifecycle, AOP concepts, MVC framework, data access support, and transaction management, providing a solid foundation for Java backend development.

AOPIoCdependency injection
0 likes · 20 min read
Mastering Spring: Core Concepts, Modules, and Best Practices
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.

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

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

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

Design Patternsdependency injectionmodule-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.

Springbackend developmentdependency injection
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 InjectionIoC
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.

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

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

Design PatternsIoCdependency injection
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 ArchitectureMVP
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.

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