News for hackers. Stuff that matters.
Re:Java Virtual Machine in pure Node.js by AUmrysh on Thursday October 31, 2013 @10:40AM (#6647041)
Why can't this be used to replace all of the java applets or allow java back into the browser? I know there were security issues before with native Java, perhaps JS sandboxed Java could solve the security issues.
Re:Java Virtual Machine in pure Node.js by gsnedders on Thursday October 31, 2013 @12:13PM (#6647658)
Java applets are more powerful than any web browser API (you can't get at USB devices from the web browser except through a plugin, for example). BankID (used for banking and electronic payment in the Nordic countries by almost every bank) makes use of this to do validation with a USB device to authenticate based on bank card.
Re:Java Virtual Machine in pure Node.js by M2Ys4U on Thursday October 31, 2013 @06:01PM (#6650306)
>you can't get at USB devices from the web browser except through a plugin, for example

Not yet, we can't. Mozilla is working on the WebUSB[0] API that'll allow access to USB devices via javascript as part of their ongoing WebAPI effort. They need this for FirefoxOS at some point, and these APIs are being implemented in desktop Firefox as well.

[0] https://wiki.mozilla.org/WebAPI/WebUSB