mercredi 25 février 2015

How do I implement dynamic reloading in Spring (Netbeans)?

I'm used to writing Grails applications where my view or controller changes are automatically redeployed on save. I'm now stringing together a Spring Web- MVC application and I'd like the same feature.


I'm using Netbeans as an IDE, Gradle as a build tool and the spring-boot plugin at the moment. I remember some talk of people using Jetty as it's so quick to restart that dynamic class reloading / deployment is no longer necessary. I've heard others mention JRebel which I used to use a few years back. I'm sure there is a more modern, spring-supported / spring-standard way of doing it.


I'd also like to know if you recommend deploying as a WAR or as a standalone executable JAR with a lightweight built-in web server.


Recommendations appreciated.


Aucun commentaire:

Enregistrer un commentaire