Tag

PropertySource

1 views collected around this technical thread.

Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 23, 2025 · Backend Development

Mastering JSON Configuration in Spring Boot 3: From CLI to Custom Property Sources

This article explains multiple ways to load JSON configuration into Spring Boot 3 applications, covering command‑line arguments, @PropertySource with custom factories, ApplicationContextInitializer, nested JSON handling, and direct @Bean approaches, complete with code examples and troubleshooting tips.

JSON configurationJavaPropertySource
0 likes · 8 min read
Mastering JSON Configuration in Spring Boot 3: From CLI to Custom Property Sources
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 13, 2024 · Backend Development

How to Dynamically Update Spring Boot Properties at Runtime Without Restart

This article explains several strategies for dynamically updating Spring Boot application properties—such as using prototype‑scoped beans, @RefreshScope with Spring Cloud, external configuration files, and custom PropertySource updates—so that changes take effect without restarting the service.

PropertySourcePrototype BeanRefreshScope
0 likes · 10 min read
How to Dynamically Update Spring Boot Properties at Runtime Without Restart
Architecture Digest
Architecture Digest
Nov 3, 2019 · Backend Development

Analyzing Spring Boot 2.2.0.RELEASE Configuration Loading Mechanism

This article examines how Spring Boot 2.2.0.RELEASE loads configuration files, where it searches for them, how it supports YAML and properties formats, how to add JSON support, the precedence of property sources, and the placeholder resolution process by tracing the relevant source code.

BackendConfigurationJSON
0 likes · 10 min read
Analyzing Spring Boot 2.2.0.RELEASE Configuration Loading Mechanism