Automatic Conversion of Swing Applications to AJAX websites
IMPORTANT: WebCream has been enhanced with AJAX functionality and renamed to AjaxSwing. This site is discontinued. Please follow the link to the
new and improved site.
WebCream automatically converts Java Swing and AWT applications into fully-functional HTML and AJAX websites. WebCream can be thought of as a runtime Java to HTML converter that migrates Java graphical user interface to a browser-based front end. It then emulates user actions as GUI events for the Swing application to ensure that the business logic executes correctly. WebCream is unique in that it requires no modifications to existing applications, and does not require programmers to learn any APIs other then AWT/Swing. The same application can be run as thick Swing client or as a browser-based AJAX rich client. This allows companies to leverage the time and money invested into building Swing applications, while enjoying the benefits of thin-client deployment. For a full list of features see the Features page.
Our product has been used by numerous clients since year 2000 and most of them have been able to convert the applications in less then a week. Conversion is a simple matter of installing WebCream and creating a configuration file for the application. Naturally, not all applications are well-suited for browser-based model, especially those with a lot of custom components. WebCream is ideally suited for form-based applications that fit into the request-response approach
Giving Browser-Based Interface to Swing applications
WebCream has been used to web-enable numerous Java applications including SwingSet, a standard demo program that comes with JFC, demonstrating all possible widgets and containers of Swing. To see a demonstration of WebCream live, check out our Demos page.
Companies that has invested years of development time and hundreds of thousands of IT budgets into building Swing user interface have a tough decision to make. They can continue to develop using Swing and deploy using WebStart, which requires client-side maintenance and is not a true thin client. Modern user demands a thin client so this path is not a long term solution. The other choice is to rewrite the user interface from scratch using J2EE and an AJAX framework such as Google Web Toolkit (GWK), Yahoo User Interface Library (YUL), AJAX-enabled JSF or a set of open source components. While this path has long term advantages, it requires a heavy investment of time and resources into rebuilding what the company already has, and due to the lack of standards there is no clear choice on which AJAX framework to use.
To illustrate how the product works, the images below show how a sample GUI application looks in HTML when WebCream is used. On the left the snapshots show a running GUI application (the source). On the right, the same application is managed by WebCream and the windows are represented by pages in the browser.
If you would like to understand how WebCream generates HTML for AWT and Swing applications and applets or if you need more technical information you can find it in the white paper document.