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?
Vaadin Fusion: StatelessBy default, Fusion will not create server sessions and will use the token-based authentication mechanism, keeping the server stateless. Since server endpoints don't use a session, a server can handle more concurrent users, enabling easier horizontal scaling and high availability of services.
Vaadin is a full-stack web app platform. This means that, unlike React or Angular, Vaadin helps you with the backend of the application and makes it easier to coordinate frontend and backend work.
http://www.hermansjavablog.eu/programming/definitive-guide-vaadin-7-maven-tomcat-intellij-idea-hotswap-deployment/ seems quite promising. Maybe there are some options you missed..
EDITED
In Eclipse I tried now with SpringLoaded http://blog.netgloo.com/2014/05/21/hot-swapping-in-spring-boot-with-eclipse-sts/ and amazingly it works.
In Intellij http://tomaszjanek.pl/blog/2015/02/03/hot-reloading-in-spring-boot-with-spring-loaded/ might help to achieve the same.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With