Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In any spring application, application properties can be provided in multiple ways, listed below in ascending order of priority.

  1. configured in thebapplicationthe application.yml in the resources folder 
  2. configured in the application-<profile>.yml in the resources folder
  3. environment variables
  4. system property to JVM using -Dkey=value

...