Tag

SPI

0 views collected around this technical thread.

Cognitive Technology Team
Cognitive Technology Team
May 30, 2025 · Backend Development

Using Google AutoService to Simplify Java SPI Implementations

This tutorial introduces Google AutoService, explains Java SPI concepts, shows Maven setup and @AutoService annotation examples, and demonstrates loading translation service providers with ServiceLoader, highlighting how the library automates SPI configuration and reduces errors.

AnnotationProcessorAutoServiceJava
0 likes · 6 min read
Using Google AutoService to Simplify Java SPI Implementations
Cognitive Technology Team
Cognitive Technology Team
Apr 18, 2025 · Fundamentals

Understanding Java Context ClassLoader and Its Role in Breaking the Parent Delegation Model

This article explains why Java introduced the Context ClassLoader to bypass the parent‑delegation model, how it enables SPI mechanisms such as JDBC drivers, and the specific class‑loading pitfalls encountered when running Spring Boot applications as executable JARs.

ClassLoaderContextClassLoaderJava
0 likes · 7 min read
Understanding Java Context ClassLoader and Its Role in Breaking the Parent Delegation Model
Selected Java Interview Questions
Selected Java Interview Questions
Apr 17, 2025 · Backend Development

Understanding Java SPI and Implementing a Plugin Architecture

This article explains Java's Service Provider Interface (SPI) mechanism, compares SPI with traditional APIs, and provides a step‑by‑step guide—including Maven project setup, interface definition, implementation classes, custom class loader, and Spring Boot integration—to build a dynamic plugin system for backend applications.

Backend DevelopmentJavaPlugin Architecture
0 likes · 16 min read
Understanding Java SPI and Implementing a Plugin Architecture
Architecture Digest
Architecture Digest
Mar 10, 2025 · Backend Development

Implementing a Plugin Architecture in Java and Spring Boot Using SPI and Spring Factories

This article explains how to design and implement a flexible plugin mechanism for Java applications, covering the benefits of decoupling, common implementation strategies such as ServiceLoader (SPI), custom configuration loading, and Spring Boot integration via spring.factories, with complete code examples and a real‑world case study.

JavaPluginSPI
0 likes · 19 min read
Implementing a Plugin Architecture in Java and Spring Boot Using SPI and Spring Factories
JD Tech Talk
JD Tech Talk
Mar 7, 2025 · Fundamentals

Understanding Java Service Provider Interface (SPI): Introduction, Example, and Implementation Details

This article introduces Java's Service Provider Interface (SPI), demonstrates a step‑by‑step example with multiple Maven modules, explains how to create interface and implementation classes, configure META‑INF/services files, and delves into the ServiceLoader internals that enable runtime discovery and instantiation of providers.

JavaSPIServiceLoader
0 likes · 9 min read
Understanding Java Service Provider Interface (SPI): Introduction, Example, and Implementation Details
Deepin Linux
Deepin Linux
Mar 5, 2025 · Fundamentals

Embedded Systems Interview Guide: Linux Thread Scheduling, STM32 Configurations, SPI, DMA, Synchronization, and Debugging

This article provides a comprehensive interview guide for embedded systems positions, covering Linux thread scheduling, single‑core CPU execution, STM32 chip specifications, SPI communication, DMA concepts, synchronization primitives, priority inversion solutions, debugging techniques, and software design considerations.

DMAEmbedded SystemsLinux scheduling
0 likes · 21 min read
Embedded Systems Interview Guide: Linux Thread Scheduling, STM32 Configurations, SPI, DMA, Synchronization, and Debugging
Top Architect
Top Architect
Jan 22, 2025 · Backend Development

Understanding Plugin Mechanisms in Java and Spring Boot

This article explains the concept of plugin mechanisms in Java and Spring Boot, covering benefits, common implementation approaches such as ServiceLoader and custom configuration, detailed code examples, and practical guidance for building extensible backend systems.

Backend DevelopmentJavaPlugin
0 likes · 22 min read
Understanding Plugin Mechanisms in Java and Spring Boot
Top Architect
Top Architect
Dec 31, 2024 · Backend Development

Java Plugin Architecture and Spring Boot Implementation Guide

This article explains various plugin implementation approaches in Java, including SPI, ServiceLoader, custom configuration, and Spring Boot's spring.factories, providing detailed code examples and step‑by‑step guidance for building extensible backend systems that can be dynamically loaded and configured at runtime.

JavaPluginSPI
0 likes · 22 min read
Java Plugin Architecture and Spring Boot Implementation Guide
Top Architect
Top Architect
Dec 17, 2024 · Backend Development

Understanding Plugin Mechanisms in Java and Spring Boot

This article explains Java and Spring Boot plugin mechanisms, covering benefits, common implementation strategies such as ServiceLoader, custom configuration files, and Spring Factories, and provides practical code examples and a real‑world case study to illustrate extensible architecture design.

JavaPlugin ArchitectureSPI
0 likes · 21 min read
Understanding Plugin Mechanisms in Java and Spring Boot
Top Architect
Top Architect
Dec 6, 2024 · Backend Development

Java Plugin Architecture: SPI, ServiceLoader, and Spring Boot Integration

This article explains how to implement plugin mechanisms in Java using SPI and ServiceLoader, demonstrates custom configuration approaches, and shows how Spring Boot’s spring.factories can be leveraged for extensible services, providing practical code examples and step‑by‑step guidance for building modular backend applications.

JavaPluginSPI
0 likes · 23 min read
Java Plugin Architecture: SPI, ServiceLoader, and Spring Boot Integration
Code Ape Tech Column
Code Ape Tech Column
Nov 27, 2024 · Backend Development

Java Plugin Development: SPI, ServiceLoader, and Spring Factories in Spring Boot

This article explains the concept of plugin-based development, outlines its benefits such as module decoupling and extensibility, and provides detailed Java implementations using ServiceLoader, custom configuration files, dynamic JAR loading, and Spring Boot's spring.factories mechanism with complete code examples.

JavaModularizationPlugin
0 likes · 21 min read
Java Plugin Development: SPI, ServiceLoader, and Spring Factories in Spring Boot
Selected Java Interview Questions
Selected Java Interview Questions
Nov 24, 2024 · Backend Development

Understanding Java SPI and Building a Modular Plugin System with Spring Boot

This article explains Java's Service Provider Interface (SPI), compares it with traditional APIs, and provides a step‑by‑step guide with Maven project setup, code examples, custom class loader, and Spring Boot integration to build a modular plugin system.

JavaMavenPlugin
0 likes · 13 min read
Understanding Java SPI and Building a Modular Plugin System with Spring Boot
Architect's Guide
Architect's Guide
Oct 13, 2024 · Backend Development

Understanding Java SPI and Spring SPI: Implementation, Examples, and Source Code Analysis

This article explains Java's built‑in Service Provider Interface (SPI) mechanism, demonstrates how to implement and test SPI with sample code, analyzes its internal workings and limitations, and then shows how Spring extends SPI using spring.factories with comparable examples and source‑code insights.

DependencyInjectionJavaSPI
0 likes · 7 min read
Understanding Java SPI and Spring SPI: Implementation, Examples, and Source Code Analysis
Top Architect
Top Architect
Sep 12, 2024 · Fundamentals

Understanding SPI vs API: Interface Placement and Design Principles

The article explains the distinction between Service Provider Interfaces (SPI) and Application Programming Interfaces (API), discusses three possible package placements for interfaces, outlines rules and advantages of each, and provides guidance on choosing between SPI and API based on extensibility, interaction, and stability.

APIInterface DesignSPI
0 likes · 9 min read
Understanding SPI vs API: Interface Placement and Design Principles
Architect
Architect
Sep 10, 2024 · Fundamentals

Understanding SPI vs API: When to Use Service Provider Interfaces versus Application Programming Interfaces

This article explains the distinction between Service Provider Interfaces (SPI) and Application Programming Interfaces (API), examines where interfaces can be placed in a codebase, outlines their respective rules, compares their trade‑offs, and offers guidance on choosing the appropriate approach in software architecture.

APIDDDInterface Design
0 likes · 6 min read
Understanding SPI vs API: When to Use Service Provider Interfaces versus Application Programming Interfaces
Sohu Tech Products
Sohu Tech Products
Sep 5, 2024 · Backend Development

Understanding Dubbo's Microkernel Architecture

Dubbo’s microkernel architecture isolates only essential core functions—service invocation, clustering, and routing—while delegating all other capabilities to dynamically loaded extensions via its advanced SPI mechanism, which scans META‑INF files, supports precise lookups, dependency injection, bytecode generation, and hierarchical extension points, enabling flexible, modular, and fault‑tolerant RPC services.

DubboRPC frameworkSPI
0 likes · 13 min read
Understanding Dubbo's Microkernel Architecture
Java Tech Enthusiast
Java Tech Enthusiast
Aug 5, 2024 · Backend Development

Implementing SPI-like Extensions in Spring Boot

Spring Boot can emulate SPI plug‑in extensions by using native Java ServiceLoader, conditional bean registration with @ConditionalOnClass/@ConditionalOnProperty, custom FactoryBean implementations, or programmatic BeanDefinitionRegistryPostProcessor registration, each enabling dynamic service loading based on configuration or runtime conditions.

FactoryBeanJavaSPI
0 likes · 7 min read
Implementing SPI-like Extensions in Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Jul 24, 2024 · Backend Development

Understanding and Implementing Java SPI and Spring SPI

This article explains Java's built‑in Service Provider Interface (SPI) mechanism, demonstrates how to create interfaces, implementations, and configuration files, shows testing with ServiceLoader, and compares it to Spring's SPI implementation using spring.factories, including code examples and analysis of their advantages and limitations.

JavaSPIServiceLoader
0 likes · 7 min read
Understanding and Implementing Java SPI and Spring SPI
Top Architect
Top Architect
Jul 16, 2024 · Backend Development

Plugin Architecture in Java: SPI, ServiceLoader, and Spring Boot Implementations

This article explains the concept of plugin‑based development, outlines its benefits such as modular decoupling and extensibility, and provides detailed Java implementations using ServiceLoader, custom configuration loading, and Spring Boot’s spring.factories mechanism with complete code examples and practical deployment steps.

Backend DevelopmentJavaPlugin Architecture
0 likes · 23 min read
Plugin Architecture in Java: SPI, ServiceLoader, and Spring Boot Implementations
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 10, 2024 · Backend Development

Master Spring’s FactoryBean: From Basics to Advanced Use Cases

This article explains Spring's FactoryBean interface, detailing its three core methods, and provides step‑by‑step examples—including a simple bean, prototype scope, proxy creation, accessing the original FactoryBean, and using ServiceFactoryBean for SPI—illustrating how to customize bean instantiation in Spring 6.

FactoryBeanJavaProxy
0 likes · 7 min read
Master Spring’s FactoryBean: From Basics to Advanced Use Cases