In Navigator 3.0, LiveConnect is the "glue" that connects
JavaScript with Java and with Navigator plug-ins. It has the
following new features:
- The JavaPackage object represents a Java package.
- The JavaClass object represents a Java class.
- The JavaObject object represents a Java object.
- The JavaArray object represents an array in Java.
- The JavaMethod object represents a Java method.
- The getClass() method returns the
JavaClass object for any given JavaObject object.
- The Java class
netscape.javascript.JSObject
represents a JavaScript object from within Java applets.
- The applets[] array of the Document object
is an array of JavaObject objects that represent the applets
embedded in the document.
- The embeds[] array of the Document object
is an array of JavaObject objects that represent the embedded
objects in the document, and allow JavaScript to control the
Navigator plug-ins that display those objects.
See Chapter 19, LiveConnect: JavaScript and Java for details on all of
these new objects, functions, and arrays.