two ways: ▪ Old-fashioned GWT client side ▪ Write code on Vaadin and bundle servlet container inside of an application Let’s try to use the second way! What is it all about? Electron is a well-known on-ramp for web developers to build desktop apps using familiar web technologies: HTML, CSS, and JavaScript. In a nutshell: Node JS backend + Chromium web browser in a single application with additional Desktop integrations: native menus, installers, notifications, etc. 3
written in Java are horrible 2. Java Desktop technologies do not evolve 3. Web technologies are way better for UI 4. We can use all CSS / JS libraries 5. We develop web applications on Vaadin, so why not to reuse the same code/experience? 4
can be embedded easily 2. Enable @Push(transport = Transport.WEBSOCKET) for UI to speed up communication and strip useless HTTP headers 3. Unpack all the static files and serve them directly from a file system instead of sending them via HTTP 4. Use Gradle node plugin com.moowork.node instead of manual Node installation 8
application development tool for applications based on CUBA Platform. With Studio, applications are up and running within minutes. We used Vaadin for CUBA Studio for 3 years and all the time it was a web application inside of a web browser. Let’s fix it! Convert it all to a desktop installable app. 9