Java calling JavaScript (Definition)

Java has mechanisms for calling back to JavaScript directly.

For Java to call JavaScript functionality, it needs to have access to the netscape.javascript.JSObject class. This is a Java wrapper that encapsulates a JavaScript object and makes it accessible to the Java environment.


See also:JSObject object, LiveConnect, netscape.javascript.JSObject


O'Reilly JavaScript Definitive Guide - page - 568

Wrox Professional JavaScript - page - 544