Reputation: 3912
Is/was there a browser that used Java instead of Javascript as it's client-side programming language?
I appreciate that it would have required sites to have multiple versions of their client-side scripting logic as Javascript always seems to have been the dominant language.
Not as an Applet language, but as the language for interacting with the DOM.
I am aware that IE used VBScript for a while.
I am doing a research project on the evolution of the browser and there is so much noise in search engines for these terms that it is difficult to answer this question.
Upvotes: 2
Views: 177
Reputation: 16476
There is a WebView (based on the WebKit) in JavaFX 2 in which you can pass a Java object to JavaScript an call methods on it.
So this can be considered as a browser running on a JVM. Here is an example of how Google Maps are rendered in this browser: Maps in JavaFX 2.0.
JS-to-Java call sample: WebViewSample.
Upvotes: 1