Tag

Java SPI

0 views collected around this technical thread.

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
政采云技术
政采云技术
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.

Dubbo SPIFramework ExtensionJava SPI
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.

Access ControlBig DataJava SPI
0 likes · 11 min read
Developing and Deploying Custom Trino Plugins (Access Control Example)
Java Architecture Diary
Java Architecture Diary
Dec 31, 2020 · Backend Development

How mica-auto Simplifies Spring Boot Starter Creation with Annotation Processors

The article introduces mica-auto, a Spring Cloud component that uses annotation processing to automatically generate starter configurations, SPI entries, and Feign client setups, and provides usage examples for Maven and Gradle along with recent updates.

Annotation ProcessorBackend DevelopmentJava SPI
0 likes · 5 min read
How mica-auto Simplifies Spring Boot Starter Creation with Annotation Processors
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‑ConfigurationBackend DevelopmentJava SPI
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.

DecouplingFramework ExtensionJava SPI
0 likes · 8 min read
Understanding Java SPI Mechanism