r/java • • Aug 12 '16

JavaFX in the browser

http://www.jpro.io/
0 Upvotes

10 comments sorted by

8

u/vprise Aug 12 '16

The title is misleading. It's JavaFX in the server streamed into the browser. Similar to tools such as Swinglets, Echo2 etc. All of those died when GWT came out, it was no panacea but it actually worked by running code on the client.

This tool effectively runs a session for every user on a fat server and the client becomes a "dumb terminal".

The performance problems you can see when running these demos even on a powerful laptop illustrate some of the problems in this approach. If you have a very small deployment in your company this might make sense but in that case you might as well use JavaFX on the desktop. For an internet deployment this would be "difficult". E.g. open table demo and click to select a row, this takes 2-3 seconds. I'll ignore the flickering as fixable bugs but even a simple demo performs at a speed that's discouraging.

2

u/kodifies Aug 12 '16

...yeah each one of the games had glitches, so maybe not as good as they seem to think it is...

2

u/aFoolsDuty Aug 12 '16

Can't even select any of the text on the page... super unnatural.

2

u/aFoolsDuty Aug 12 '16

good god the lag.

no one ever deploy this on anything i'd use, please.

2

u/zrnkv Aug 12 '16

Please don't.

1

u/[deleted] Aug 12 '16

You can build desktop apps with JavaFX. Leave the poor browser alone.

1

u/Fornax96 Aug 12 '16

How is this supposed to work? The page just keeps loading and eventually the connection resets. I've tried to reload it 4 times now.

1

u/[deleted] Aug 12 '16

Does this work with screenreaders?

1

u/julian_CT2K2 Aug 14 '16

Wow. Buggy as hell. Totally unusable. Check out Vaadin if you want to do that

1

u/Kukuluops Aug 16 '16

Wow, even clocks are bugged. :D

http://i.imgur.com/YZ3Kzjy.png