Configuration Articles
2 articles about Configuration. Explore Spring Boot implementation, design, and operations across related topics.
-
Managing Configuration with application.properties/yml in Spring Boot - When to Use @Value vs @ConfigurationProperties
A practical guide covering the basic syntax of Spring Boot configuration files, how to choose between @Value and @ConfigurationProperties in real-world projects, and configuration management using environment variables and placeholders.
-
How to Safely Switch Environment-Specific Configuration with Spring Boot Profiles
Spring Boot Profiles let you switch configuration between development, staging, and production. This guide clearly explains how to split application.yml, how to activate profiles, and common pitfalls to avoid.