From the course: Spring Boot 2.0 Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Configuration in Spring Boot

Configuration in Spring Boot

From the course: Spring Boot 2.0 Essential Training

Start my 1-month free trial

Configuration in Spring Boot

- [Instructor] Part of the operational power of spring boot, comes from the various ways that you can change the configuration, of an application, either during runtime or during startup. Now, there are many ways to configure properties, for a spring application. And there are rules around precedents, but we'll talk about that in a couple of minutes. The application.properties file, or the application.yaml file, provide very basic configuration. And in my opinion, these two locations are good, really only for development and demo purposes, because in reality, the types of configurations that you're going to put, into a spring application, are going to have so much variance, based on the data center, or the environment that you're running it. And while the yaml file gives you a little bit more control, both of them are really development focused in my opinion. Environment variables are very common, especially for…

Contents