How can you provide a smooth migration path from a desktop application to a web application that has a similar user experience as the desktop application? In his new article " Migrating from Desktop to Cloud-Native Web Applications ”, Thomas Kruse discusses how to use JavaFX as the foundation for hybrid desktop applications that are built by uniting the latest web and desktop frameworks.
This article explores an architecture that combines the best of the web and desktop worlds as a migration path and as an option for building next-generation desktop applications. As Kruse explains, to ease the migration path, it’s prudent to consider integrating the desktop application being migrated with a new web-based application, even if this results in additional effort.
The resulting hybrid application must support the web-based future and the current Swing- or JavaFX-based parts of the desktop application at the same time, because simply showing a web page inside the desktop application is insufficient. To provide the required level of integration, interaction between the elements of the desktop-based user interface and the web-based user interface must be supported in both directions. One way to achieve this is by using the JavaFX WebView component.
To learn more about this approach,read the article.