2

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.

1
  • No AFAIK. Only applets, and good thing they're (mostly) gone. Commented Nov 23, 2013 at 2:28

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.