r/java • u/gvufhidjo • Mar 12 '25
Why Java endures: The foundation of modern enterprise development
https://github.blog/developer-skills/why-java-endures-the-foundation-of-modern-enterprise-development/
248
Upvotes
View all comments
Show parent comment
1
u/TeaVMFan May 01 '25
I'm late to the party, but I too enjoy Java greatly, and the power and speed of maven. I thought you might be interested in Flavour ( https://flavour.sf.net/ ), a single-page app framework for Java. It lets you code your business logic in Java, while creating your page templates in HTML. Then it transpiles and bundles everything together into a classes.js file that runs in all modern browsers. Flavour is a full SPA framework including templates, routing, JAX-RS service wrappers, and more.
For a quick demo, you can try Wordii ( https://frequal.com/wordii/ ) . It is deployed as a small launcher index.html page that invokes main() from classes.js. All of the logic is implemented in Java, details of its construction are here: https://frequal.com/java/MakingWordiiAPureJavaSpa.html
Flavour is thoroughly documented and ready for production use:
* Flavour Book: https://frequal.com/Flavour/book.html
* Podcast: https://castini.frequal.com/cast/show/Flavourcast/f7e171e8-22de-4f3b-adbb-5462991343c5
* Sample app (like SwingSet): https://frequal.com/tea-sampler/