October 2018
Intermediate to advanced
590 pages
15h 5m
English
When we deploy our application to the server, we will need to use a different set of configurations, such as the database's username, password, and URL, and so on. Spring Profiles provides a way to segregate the configuration for different environments.
We have the following environments for this:
With Spring Profile, we can create a profile-specific configuration file, for example, the application-dev.properties file that we created for the local development environment, and, we use application.properties as the base configuration. Other configurations ...
Read now
Unlock full access