Tagged articles
spring-factories
17 articles · Page 1 of 1
This article explains how Spring Boot’s plugin architecture—using SPI, custom configuration, and Spring Factories—enables modular, extensible services, demonstrates step‑by‑step implementations with code samples, and shows real‑world use cases for building flexible micro‑service components.
JavaSPISpring Boot
0 likes · 22 min read

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 SPIServiceLoaderSpringBoot
0 likes · 20 min read

This article explains how Spring Boot’s plugin mechanisms—such as Java SPI, custom configuration files, and Spring Factories—enable module decoupling, extensibility, and easy third‑party integration, and walks through complete code examples and a real‑world SMS‑sending case study.
Java SPIPlugin ArchitectureSpring Boot
0 likes · 20 min read

This article explains Java's built‑in Service Provider Interface (SPI) mechanism, demonstrates how to create and load SPI implementations with ServiceLoader, and then shows how Spring extends SPI using spring.factories with detailed code examples and source‑code analysis.
SPIServiceLoaderSpring
0 likes · 8 min read

This article explains how to implement plugin mechanisms in Java using SPI and Spring Boot's spring.factories, covering benefits, common approaches, detailed code examples, custom configuration loading, and a complete real‑world case study to guide developers in building extensible applications.
JavaPlugin ArchitectureSPI
0 likes · 22 min read

SpringBoot 3.0 drops the long‑standing spring.factories file in favor of per‑extension imports files, eliminating full‑classpath scans, improving startup speed, aligning with Java modules, and enabling seamless GraalVM native‑image support, while providing a clear migration path for existing projects.
Auto-configurationGraalVMSpringBoot
0 likes · 13 min read

SpringBoot 3.0 removed the traditional spring.factories file to improve startup performance, modularity, and GraalVM native image support, and introduces a new imports‑based registration mechanism with detailed migration steps, code examples, and best‑practice guidance for developers.
GraalVMSpringBootauto-configuration
0 likes · 20 min read

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 SPIPlugin ArchitectureSpring Boot
0 likes · 22 min read

SpringBoot 3.0 removes the long‑standing spring.factories file due to performance, modularity, and GraalVM native image challenges, introduces a new imports‑file mechanism, and provides detailed migration steps, code examples, performance comparisons, and best practices for GraalVM integration.
GraalVMSpringBootauto-configuration
0 likes · 21 min read

This article explains the removal of the spring.factories file in Spring Boot 3, the performance and modularity reasons behind it, introduces the new imports‑based mechanism, provides step‑by‑step migration guidance, and shows how the change improves GraalVM native image support.
GraalVMSpring Bootimports
0 likes · 18 min read

SpringBoot 3.0 eliminates the long‑standing spring.factories file due to startup performance penalties, lack of modular support, static configuration limits, and incompatibility with GraalVM native images, and replaces it with a set of imports files that provide clearer, faster, and more modular auto‑configuration registration.
BackendGraalVMSpringBoot
0 likes · 15 min read

This article explains why plugin mechanisms improve modularity, extensibility, and third‑party integration, then walks through practical Java SPI implementations, custom configuration loading, and Spring Boot’s spring.factories approach, providing complete code examples and step‑by‑step guidance for building a robust plugin system.
JavaPlugin ArchitectureSPI
0 likes · 21 min read

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.
JavaSPIServiceLoader
0 likes · 21 min read


IT NiukeApr 14, 2024 · Backend Development
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.
Java SPIPlugin ArchitectureSpring Boot
0 likes · 22 min read

The article investigates why a Spring Boot application using Nacos as a configuration center does not inject bean properties defined locally when the Nacos console lacks those entries, by walking through the integration steps and analyzing the relevant source code.
Configuration CenterDebuggingNacos
0 likes · 11 min read

This article explains the role of the spring.factories file in Spring Boot starters, shows its typical content, and demonstrates how to automatically generate the spring-configuration-metadata.json file by adding the configuration processor dependency and properly annotating configuration property classes.
Configuration MetadataJavaSpring Boot
0 likes · 5 min read

Spring Boot 2.7 marks the spring.factories auto‑configuration loading method as deprecated, and Spring Boot 3 will remove it entirely, prompting developers to adopt the new AutoConfiguration.imports mechanism, which supports configuration slicing, custom SPI extensions, and more elegant handling via tools like mica‑auto.
JavaSpring Bootauto-configuration
0 likes · 4 min read
