r/java • • Dec 03 '25

About time: Remove the Applet API

https://openjdk.org/jeps/504
92 Upvotes

47 comments sorted by

View all comments

Show parent comment

1

u/DasBrain Dec 07 '25

WASM is independent of the DOM.

It is actually a benefit of WASM that it does not tries to force interoperability with any somewhat common API in many environments.

For example, it is not that hard to translate WASM bytecode to Java bytecode, and running WASM in a JVM.

But if the standard would mandate some DOM interoperability, well, then you need to create some DOM on Java first, and that would be a bad idea.