Spring Boot lets you externalize configuration with @ConfigurationProperties or @Value annotations so that you can work with the same application code in different environments. You can use properties files or YAML files, to externalize configuration.
Read