Java One
Java One
Dec 22, 2025 · Backend Development

Injecting Third‑Party Classes in Spring Boot with @Configuration and @Bean

This tutorial explains how to register and inject a third‑party implementation like SwimCoach into a Spring Boot application using a @Configuration class and @Bean methods, covering bean creation, custom IDs, qualifier usage, and practical scenarios such as integrating AWS S3 clients.

AWSConfigurationSpring
0 likes · 5 min read
Injecting Third‑Party Classes in Spring Boot with @Configuration and @Bean
Java One
Java One
Dec 7, 2025 · Backend Development

Resolving Multiple Bean Implementations in Spring Boot with @Qualifier and @Primary

This tutorial explains why Spring Boot fails when several beans implement the same interface, and demonstrates how to use @Qualifier to select a specific bean or @Primary to set a default, including code examples, error messages, and best‑practice recommendations.

backend-developmentdependency-injectionprimary
0 likes · 7 min read
Resolving Multiple Bean Implementations in Spring Boot with @Qualifier and @Primary
Cognitive Technology Team
Cognitive Technology Team
Jul 8, 2025 · Backend Development

How to Register Spring Beans at Runtime: A Step‑by‑Step Guide

This tutorial explains multiple ways to register Spring beans dynamically at runtime, covering BeanDefinitionRegistryPostProcessor implementation, programmatic bean creation with BeanDefinitionBuilder, ApplicationContextInitializer usage, BeanFactory registration, and direct BeanDefinitionRegistry manipulation, complete with code examples and configuration details.

Javabackendbean
0 likes · 7 min read
How to Register Spring Beans at Runtime: A Step‑by‑Step Guide
Go Development Architecture Practice
Go Development Architecture Practice
May 20, 2025 · Backend Development

Mastering Dependency Injection in Go with Uber’s Dig

This article explains why and when to use dependency injection in Go, introduces the most popular DI libraries, and provides step‑by‑step examples of Dig’s core features such as container creation, providing and invoking dependencies, parameter and result objects, optional and named dependencies, groups, and a complete multi‑service HTTP demo.

Librarybackenddependency-injection
0 likes · 11 min read
Mastering Dependency Injection in Go with Uber’s Dig
Go Development Architecture Practice
Go Development Architecture Practice
Jan 17, 2025 · Backend Development

Mastering Go Backend: Project Structure, Error Handling, and Observability Best Practices

This article explores practical Go backend development techniques, covering project organization, package naming, internal packages, init usage, layer separation (controller, service, dao), dependency injection, global variable pitfalls, observability with logging, tracing and monitoring, comprehensive error handling, and DAO layer automation.

backenddependency-injectionerror-handling
0 likes · 23 min read
Mastering Go Backend: Project Structure, Error Handling, and Observability Best Practices
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 25, 2024 · Mobile Development

Understanding Flutter State Management and Provider: Concepts, Built‑in Options, and Practical Usage

This article explains the concept of state in Flutter, distinguishes local and global state, reviews built‑in state‑handling mechanisms such as setState and InheritedWidget, outlines criteria for selecting a state‑management library, and provides a step‑by‑step guide with code examples for using the Provider package, including advanced features like MultiProvider, FutureProvider, Selector, and the underlying implementation details of InheritedProvider.

DARTFlutterProvider
0 likes · 22 min read
Understanding Flutter State Management and Provider: Concepts, Built‑in Options, and Practical Usage
Top Architect
Top Architect
Apr 25, 2023 · Backend Development

Understanding and Resolving Circular Dependencies in Spring Boot

This article explains what circular dependencies are in Spring Boot, why they cause startup failures from version 2.6 onward, and presents several practical solutions—including constructor injection, setter injection, @Lazy, @Autowired(required=false), @DependsOn, and interface segregation—accompanied by code examples.

Circular Dependencydependency-injectionspring-boot
0 likes · 10 min read
Understanding and Resolving Circular Dependencies in Spring Boot
Sanyou's Java Diary
Sanyou's Java Diary
Jul 25, 2022 · Backend Development

Unlock Spring’s Hidden Extension Points: From FactoryBean to Custom Namespaces

Explore the core extension mechanisms of Spring, including FactoryBean, @Import, BeanPostProcessor, BeanFactoryPostProcessor, SPI, SpringBoot startup hooks, event handling, and custom XML namespaces, with detailed code demos and practical examples that reveal how to integrate and extend Spring in real-world applications.

Extension PointsJavabackend
0 likes · 40 min read
Unlock Spring’s Hidden Extension Points: From FactoryBean to Custom Namespaces
Java Backend Technology
Java Backend Technology
Jun 15, 2022 · Backend Development

Master Spring Boot Annotations: From @RequestMapping to @SpringBootApplication

This comprehensive guide explains the most commonly used Spring Boot annotations—including MVC mapping, bean definitions, dependency injection, scope management, container configuration, and bootstrapping—providing clear examples and visual diagrams to help developers write cleaner, more efficient Java code.

annotationsdependency-injectionrest-controller
0 likes · 16 min read
Master Spring Boot Annotations: From @RequestMapping to @SpringBootApplication
Sanyou's Java Diary
Sanyou's Java Diary
Feb 8, 2022 · Backend Development

Unveiling Dubbo SPI: How Extensions Are Loaded, Adapted, and Wrapped

This article continues the deep dive into Dubbo's SPI mechanism, explaining how implementation classes are constructed, how adaptive extensions are generated, how automatic activation works, and why Dubbo wraps objects, providing a comprehensive view of the framework's extensibility features.

ExtensionLoaderJavaadaptive-extension
0 likes · 14 min read
Unveiling Dubbo SPI: How Extensions Are Loaded, Adapted, and Wrapped
Java Architect Essentials
Java Architect Essentials
Nov 30, 2021 · Backend Development

How Spring Solves Circular Dependencies and the Underlying Essence

This article explains Spring's three‑level cache mechanism for breaking circular dependencies in singleton beans, demonstrates a simplified implementation with Java code, draws an analogy to the classic Two‑Sum algorithm, and highlights the core idea behind dependency injection.

Circular DependencySpringTwo Sum
0 likes · 9 min read
How Spring Solves Circular Dependencies and the Underlying Essence
Programmer DD
Programmer DD
Aug 21, 2021 · Backend Development

Mastering Java Constructors and Design Patterns: From Implicit to Singleton

This article provides a comprehensive guide to advanced Java concepts, covering implicit, no‑arg, and argument constructors, initialization blocks, static initialization, default value guarantees, visibility rules, garbage collection, finalizers, and common construction patterns such as singleton, helper, factory, and dependency injection, helping developers deepen their object‑oriented mastery.

Factoryadvanced-javaconstructors
0 likes · 16 min read
Mastering Java Constructors and Design Patterns: From Implicit to Singleton
Architecture Digest
Architecture Digest
Jun 11, 2021 · Backend Development

Understanding Spring Boot’s @SpringBootApplication and Auto‑Configuration Mechanism

This article explains how Spring Boot’s @SpringBootApplication annotation combines several meta‑annotations, how auto‑configuration is loaded from META‑INF/spring.factories, and how the framework creates and refreshes the application context, including the embedded Tomcat server and custom starter creation.

Starterauto-configurationdependency-injection
0 likes · 13 min read
Understanding Spring Boot’s @SpringBootApplication and Auto‑Configuration Mechanism