As well as offering a developer-friendly way to create shiny new browser apps using Java, TeaVM also provides an opportunity for old client-side Java apps to be updated into the modern age. I turned to some of my existing Java software that would benefit from being ported into modern, HTML5-compatible browser applications. A perfect example is old code that was originally a Java Applet - from over 15 years ago! Of course, the user interfaces for web and client-side Java are significantly different, so these parts would need to be re-written. But the task would hopefully be made easier by the fact the much of the core game logic could remain intact.
Some time ago I wrote about how existing client-side Java code could be ported to Android. TeaVM offers the possibility of something similar by making it easy to port Java apps to the browser. In fact, with Java being the common starting point, it's possible to have an app on multiple different platforms - native Java, Android, and Web, using the same core code, with platform-dependent differences only for the UI elements.
|Play the Web version created using TeaVM|