Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

dev mode in spring MVC

Is there any development mode in Spring like in Struts. In Struts if we set dev mode to true all the configuration files are loaded in every request. However now when I'm developing in Spring MVC, I have to restart server after every change. Or is there some other method by which I can force reload.

like image 266
Akhil K Nambiar Avatar asked Jan 25 '12 06:01

Akhil K Nambiar


People also ask

What is the use of spring dev tools?

DevTools stands for Developer Tool. The aim of the module is to try and improve the development time while working with the Spring Boot application. Spring Boot DevTools pick up the changes and restart the application.

How Devtools can be enabled?

To include devtools support, simply add the module dependency to your build: Maven. Gradle. Developer tools are automatically disabled when running a fully packaged application.

How do I enable spring boot in dev tools?

To enable dev tools in the spring boot application is very easy. Just add the spring-boot-devtools dependency in the build file.

How do I debug a spring MVC application?

Right Click on server in the Servers panel, Select "Restart in Dedug" or Debug option, Add breakpoints in your code, Then right click on application, Select Debug As --> Debug on Server.


1 Answers

No there is no such configuration for Spring MVC. But it is a good idea for an feature request.

like image 135
Ralph Avatar answered Oct 03 '22 07:10

Ralph