5 ms·
There was a time when JVM ran in the browsers.
by pookeh 3y ago
There was a time when JVM ran in the browsers.
- syrusakbary 3y agoYup, via Java Applets. But they were a pain to use, that's why I intentionally wrote "seamlessly" :P
- ex3ndr 3y agoGWT allowed to run it without applets, also much more efficient than any current stack (since they dont support closure compiler)
- switchbak 3y agoI spent years working with GWT, it's not nearly as simple as you describe. It's not running "Java" in the browser, it's compiling down (a subset of) Java to Javascript. That said, GWT was ahead of its time in a lot of ways, but it had warts galore.
- freeone3000 3y agoThey were better than Flash (which needed a weirder runtime, and couldn’t interact easily with the DOM, and didn’t have variables until version 3). This is hugely improved over JavaScript at the time (pre-XHR) and had less lock-in than ActiveX.
- wwweston 3y agoAs far as I could tell, the big pain point was performance -- they were just too slow on median machines during the late 90s/early 00s window they had mindshare. I actually enjoyed using them to get around a few browser limitations around the mid-to-late 00s, and they seemed feature/performance competitive with Flash unless what you were doing fit the media authoring model closely. But by then people were skeptical about Java and if you had to do anything to get it installed they wouldn't, and the direction was native web.
- pjmlp 3y agoThe Java Kernel project sorted that out.
- chunk_waffle 3y agoI recall around 2010 or so, when a company I worked for was creating a new, rather ambitions, web application. I had to argue against using Java Applets in favor of standard web technology for several components. Thankfully I won that battle. That web application is still in use, in production, today.