News for hackers. Stuff that matters.
Re:Oracle deprecating Java applets in Java 9 by protomyth on Wednesday January 27, 2016 @06:16PM (#10984380)
I do wonder if back in the day, the JVM had access to the DOM in the same way Javascript did, what would have happened?
Re:Oracle deprecating Java applets in Java 9 by saurik on Wednesday January 27, 2016 @07:10PM (#10984696)
JavaScript, near if not at its inception, had native access to Java, and apparently at least quite good access in the other direction (though I don't have personal memory of this part). You could import packages and bridge seamlessly between the VMs using LiveConnect. The history of this is that Netscape and Sun were working closely together. That's why it got to be called JavaScript.

https://developer.mozilla.org/en-US/docs/Archive/Web/LiveCon...

Re:Oracle deprecating Java applets in Java 9 by protomyth on Wednesday January 27, 2016 @10:39PM (#10986046)
Java / JVM never had access to the webpage like JavaScript. You could not write a program in Java to replace your JavaScript. It was applets or nothing.