Configuring a Boot Application

Where a setting comes from, and what wins when two sources disagree.

  • 6 cards
  • 4 questions
  • About 6 min
  • Difficulty
Share

Every real application needs different settings in different places — a local database here, a managed one in production — and Spring Boot reads them from more sources than most people realize, in a fixed order. This topic is that order, profiles as the mechanism for switching between whole sets of settings at once, and the two ways to bind a property into your own code.

Contents

6 cardsnot started