Developing Java Applications with Spring and Spring Boot
by Claudio Eduardo de Oliveira, Greg L. Turnquist, Alex Antonov
How it works...
As you have probably learned by now, when we add a spring-boot-devtools module as a dependency there is some autoconfiguration magic that takes place to add a number of components. A number of listeners and autoconfigurations extend the application context to handle the code changes and do appropriate restarts and reloads, both local and remote.
In our recipe, we did a quick test to make sure the restart functionality worked and everything had been configured by making a property change in the application.properties file. You have probably noticed that instead of making the change in src/main/resources/application.properties, we made the change to the compiled version located under the build/resources/main directory. The reason ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access