Home / TeaVM Patterns and Pitfalls     frequal.com

TeaVM/Flavour Architecture

TeaVM converts Java class files to JavaScript. With it you can write Java code that executes in the browser. It includes a maven plugin, which handles generating the JavaScript file and bundling the app into an easily-deployed WAR file. It also includes wrappers around numerous browser APIs, from DOM manipulation to geolocation. Interacting with the browser is as simple as invoking Java methods.

Flavour is a library built on top of TeaVM that provides a single-page app framework. It includes several components which work well together, or can be used individually:


Last modified on 10 Mar 2021 by AO

Copyright © 2024 Andrew Oliver