News for hackers. Stuff that matters.
Re:Why Google Sheets ported its calculation worker from Java... by xnx on Thursday June 27, 2024 @08:36AM (#40809793)
I'm familiar with applets, but hadn't heard of Java Web Start. Could Java Web Start interact with the DOM?
Re:Why Google Sheets ported its calculation worker from Java... by p_l on Thursday June 27, 2024 @08:53AM (#40809957)
Not really, Java Web Start essentially provided a way to download a fully-capable Java application running on normal JVM, from a click on website.

It's been used in place of applets a lot, but mostly because you could provide a complex application that opened in a new window with a click (assuming you dealt with the CA shenanigans).

It couldn't interact with DOM unless it accessed a browser over something like COM.

Re:Why Google Sheets ported its calculation worker from Java... by jtotheh on Thursday June 27, 2024 @08:58AM (#40809991)
I worked on an app that was using Java Web Start still, as of January 2023. It was a problem, because JWS was not included in the parts of Java that were open-sourced, and was not available as part of recent OpenJDK versions of Java. Some open source JWS implementations exist, when I left that job though, the situation had still not been resolved in terms of finding a JWS replacement. It was imperative that we get off Oracle Java because of their expensive upcoming licensing changes. I wonder what ever happened..........
Re:Why Google Sheets ported its calculation worker from Java... by yuri91 on Thursday June 27, 2024 @10:52AM (#40811158)
It's now possible to run Java Web Start applications fully in the browser without any plugins: https://cheerpj.com/cheerpj-jnlp-runner/

It's based on CheerpJ, a JVM that runs in the browser (using JS and Wasm).