3 ms·
Instead of the JVM-as-moral-equivalent-to-an-embedded-iframe architecture we ended up with, we certainly could have had <script type="text/java">. Or <script ty
by derefr 13y ago
Instead of the JVM-as-moral-equivalent-to-an-embedded-iframe architecture we ended up with, we certainly could have had <script type="text/java">. Or <script type="application/jvm" src="foo.jar">, for that matter, with a JVM "engine" sitting sibling to the position Javascript "engines" have in the browser, in terms of access to the DOM and sandboxing provided by the browser-as-platform. That would have made JVM bytecode a wonderful target.
- iso-8859-1 13y agoThere actually is a Java DOM API that could have been used in applets. It was never widely supported though, AFAIK. http://www.w3.org/TR/DOM-Level-3-Core/java-binding.html http://www.w3.org/TR/DOM-Level-3-Core/java-binding.html