Reloading Vaadin UIs without restarting the application

970 views Asked by At

I am developing a Vaadin 8 UI. At the moment, each time I modify the UI, I have to restart my application.

Is there a better way? I have tried attaching the Java debugger and using IntelliJ's Reload Changed Classes feature, but the hotswap fails.

I have seen mention of JRebel in the context of Vaadin, but I can't afford that - Spring Loaded seems to be another option. Is there anything else?

2

There are 2 answers

1
KLHauser On
0
Jukka Nikki On

We use Jetty in development and have configured hot deployment to it. Applications state will be lost, but during development it's most probably exactly what you want. http://www.eclipse.org/jetty/documentation/9.4.x/hot-deployment.html