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?
[ Parent
| on HN ]
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...