Tagged articles

Java SPI

13 articles · Page 1 of 1
IoT Full-Stack Technology
IoT Full-Stack Technology
Apr 21, 2026 · Backend Development

Comprehensive Guide to SpringBoot Plugin Development

This article provides a detailed walkthrough of SpringBoot plugin development, covering the benefits of modular decoupling, common implementation approaches such as Java SPI, custom configuration, Spring factories, and practical code examples that demonstrate how to create, load, and use plugins for extensible SMS services.

Java SPIServiceLoaderplugin-development
0 likes · 20 min read
Comprehensive Guide to SpringBoot Plugin Development
macrozheng
macrozheng
Jan 22, 2026 · Backend Development

Mastering Java SPI: Build a Pluggable Authentication System with Spring Boot

This guide explains Java's Service Provider Interface (SPI) mechanism, compares it with APIs, and walks through creating a multi‑module Maven project that defines SPI interfaces, implements plugins, loads external JARs with a custom class loader, and integrates the plugins into a Spring Boot application for dynamic authentication.

Custom ClassLoaderJava SPIMaven Multi‑module
0 likes · 15 min read
Mastering Java SPI: Build a Pluggable Authentication System with Spring Boot
Programmer XiaoFu
Programmer XiaoFu
Jul 1, 2025 · Backend Development

Plug‑and‑Play Spring Boot: Building a Plugin Architecture

This article explains how to implement a plug‑and‑play development model in Spring Boot using Java SPI, custom configuration, and Spring Factories, providing step‑by‑step code examples, a multi‑module microservice case study, and practical guidance for creating extensible, decoupled applications.

Java SPIMicroservicesSpring Boot
0 likes · 22 min read
Plug‑and‑Play Spring Boot: Building a Plugin Architecture
JD Tech Talk
JD Tech Talk
Mar 7, 2025 · Fundamentals

1. Introduction to SPI

This article introduces Java's Service Provider Interface (SPI) mechanism, explaining its role in decoupling interface definitions from implementations, with examples in JDBC, Spring Boot, and Dubbo.

JDBCJava FundamentalsJava SPI
0 likes · 11 min read
1. Introduction to SPI
IT Niuke
IT Niuke
Apr 14, 2024 · Backend Development

Mastering Spring Boot Plugin Development: A Detailed Guide

This article explains why plugin architectures boost modularity, extensibility and third‑party integration, then walks through multiple Java‑based implementation techniques—including ServiceLoader, custom configuration files, and Spring Boot’s spring.factories—showing complete code samples, runtime screenshots and a real‑world microservice case study.

Dependency InjectionJava SPIMicroservices
0 likes · 22 min read
Mastering Spring Boot Plugin Development: A Detailed Guide
政采云技术
政采云技术
Dec 5, 2023 · Fundamentals

Java SPI vs Dubbo SPI: Service Provider Interface Mechanisms Compared

This article explains Java's Service Provider Interface (SPI) mechanism and compares it with Dubbo's enhanced SPI implementation, highlighting how Dubbo addresses the limitations of native Java SPI through configuration format changes and lazy loading.

Dependency InjectionDubbo SPIFramework Extension
0 likes · 19 min read
Java SPI vs Dubbo SPI: Service Provider Interface Mechanisms Compared
政采云技术
政采云技术
Jul 27, 2023 · Big Data

Developing and Deploying Custom Trino Plugins (Access Control Example)

This article explains how to develop, package, and deploy custom Trino plugins—illustrated with an access‑control plugin—by using Java SPI, Maven dependencies, implementing the Plugin and SystemAccessControl interfaces, and configuring the plugin in Trino’s configuration files.

Java SPITrinoplugin-development
0 likes · 11 min read
Developing and Deploying Custom Trino Plugins (Access Control Example)
Java Architecture Diary
Java Architecture Diary
Apr 10, 2020 · Backend Development

Automate Spring Boot Starter Setup with mica-auto

The mica-auto component of the Mica Spring Cloud framework provides a set of tools that automatically generate essential Spring Boot starter files such as spring.factories, spring‑devtools.properties, and Java SPI configurations, simplifying multi‑module backend projects and supporting annotations like @AutoService for seamless integration.

Auto-ConfigurationJava SPISpring Boot
0 likes · 4 min read
Automate Spring Boot Starter Setup with mica-auto
vivo Internet Technology
vivo Internet Technology
Aug 28, 2019 · Backend Development

Understanding Java SPI Mechanism

Java’s Service Provider Interface (SPI) is a built‑in discovery mechanism that decouples implementation from usage by letting providers place fully qualified class names in META‑INF/services files, enabling frameworks such as JDBC, logging, and Dubbo to load multiple vendor implementations at runtime via ServiceLoader, though it has limitations like lack of on‑demand loading and concurrency issues.

Framework ExtensionJava SPIdecoupling
0 likes · 8 min read
Understanding Java SPI Mechanism