MacMusic  |  PcMusic  |  440 Software  |  440 Forums  |  440TV  |  Zicos
java
Search

Applets Are Officially Going, But Java In the Browser Is Better Than Ever

Sunday December 14, 2025. 12:19 AM , from Slashdot
Applets Are Officially Going, But Java In the Browser Is Better Than Ever
'The entire java.applet package has been removed from JDK 26, which will release in March 2026,' notes Inside Java.

But long-time Slashdot reader AirHog links to this blog post reminding us that
'Applets Are Officially Gone, But Java In The Browser Is Better Than Ever.'

This brings to an official end the era of applets, which began in 1996. However, for years it has been possible to build modern, interactive web pages in Java without needing applets or plugins. TeaVM provides fast, performant, and lightweight tooling to transpile Java to run natively in the browser...

TeaVM, at its heart, transpiles Java code into JavaScript (or, these days, WASM). However, in order for Java code to be useful for web apps, much more is required, and TeaVM delivers. It includes a minifier, to shrink the generated code and obfuscate the intent, to complicate reverse-engineering. It has a tree-shaker to eliminate unused methods and classes, keeping your app download compact. It packages your code into a single file for easy distribution and inclusion in your HTML page. It also includes wrappers for all popular browser APIs, so you can invoke them from your Java code easily, with full IDE assistance and auto-correct.

The blog post also touts Flavour, an open-source
framework 'for coding, packaging, and optimizing single-page apps implemented in Java... a full front-end toolkit with templates, routing, components, and more' to 'build your modern single-page app using 100% Java.'

Read more of this story at Slashdot.
https://developers.slashdot.org/story/25/12/13/2316245/applets-are-officially-going-but-java-in-the-...

Related News

News copyright owned by their original publishers | Copyright © 2004 - 2025 Zicos / 440Network
Current Date
Dec, Sun 14 - 04:20 CET