Skip to content
Veltoryx Technologies
ProLesson 5.1Intermediate4 min readUpdated 31 October 2026

Application Properties and YAML

Master Spring Boot configuration formats, hierarchical YAML syntax, property loading order, and relaxed binding rules.

01Never recompile to change a port

Imagine you are shipping a physical thermostat to thousands of customers. If a customer wants to change the temperature from Fahrenheit to Celsius, you wouldn't ask them to mail the device back to the factory so an engineer can resolder the microprocessor. You give them a settings dial.

In software, configuration files are that settings dial.

You should build your application executable .jar once, and run that identical binary everywhere—on a developer laptop, a staging server, and a production Kubernetes pod—simply by changing its external configuration.

Configuration Priority Hierarchy
Fig. 1 · Configuration Priority Hierarchy

Loading the rest of the lesson…