Live data from Hacker News

Java in the Browser

jpro.one

11–20 of 113 posts

Re: Java in the Browser

#11

Site appears to be down, there is an archive here from June 2020: https://archive.ph/mJDAT Newer archive on IA from March this year doesn't load anything: https://web.archive.org/web/20220316200857/https://jpro.one/ However has source code including: So assuming there was a newer site that had some sort of embedded Java thing... By the sounds of it, it was a demo where the website ran as java on the server, rendering…

They should have built it with jpro.

Re: Java in the Browser

#14

Site appears to be down, there is an archive here from June 2020: https://archive.ph/mJDAT Newer archive on IA from March this year doesn't load anything: https://web.archive.org/web/20220316200857/https://jpro.one/ However has source code including: So assuming there was a newer site that had some sort of embedded Java thing... By the sounds of it, it was a demo where the website ran as java on the server, rendering…

Before it went down I noticed it was sending data through a socket, rendering everything at the very end.

So basically a worse Blazor.

Re: Java in the Browser

#16
Anyone remember that Java applet in the nineties where there was some 2D wireframe "animal" moving in a rectangle and there was, IIRC, a tiny circle at each joint and you grab it and move it and it'd move the thing around / distort it. It was the first "serious" Java in the Browser I remember. It was all black & white. Maybe some HNer (not an HNer back then obviously) wrote it back in the days?

Re: Java in the Browser

#17
I don't know if the performance is terrible in general, or if the demo site is getting crushed by HN traffic at the moment.

If it's the former, then this is completely useless. If the latter, then I suppose it COULD have some use cases for internal tools and dashboards, in small to mid line-of-business shops that don't have many front-end developers on staff (i.e. basically a competitor to .NET's Blazor).

The REALLY interesting thing here is that this product isn't licensed per-server, or per-CPU, but rather "per 8GB block of RAM"! Look, I love Java. It's helped me build a great career, build a future for my family, and I really do believe that it's the best developer experience out there for the server-side. However, the idea of licensing a Java-based product by its memory usage makes me laugh out loud.

Re: Java in the Browser

#18
I do not know. .NET created with Blazor a modern Applet tech stack based on WebAssembly and HTML.

Would not Java be able to do the same and just port the applet API onto a Canvas? Would not that reactivate a whole existing ecosystem?

Re: Java in the Browser

#19
Site is down but it seems like server side rendering which is pretty terrible. There are better solutions for Java developers such as teavm one which Codename One built the web UI support. It supports both web assembly and plain JS. The latter has the advantage of smaller size.

Transpiles Java threads into async/await calls. Pretty cool stuff.

Post reply on HN