LiveConnect
Encyclopedia
LiveConnect is a feature of Web browsers that allows Java
Java (programming language)
Java is a programming language originally developed by James Gosling at Sun Microsystems and released in 1995 as a core component of Sun Microsystems' Java platform. The language derives much of its syntax from C and C++ but has a simpler object model and fewer low-level facilities...

 and JavaScript
JavaScript
JavaScript is a prototype-based scripting language that is dynamic, weakly typed and has first-class functions. It is a multi-paradigm language, supporting object-oriented, imperative, and functional programming styles....

 software to intercommunicate within a Web page. From the Java side it allows an applet to invoke the embedded scripts of a page or to access the built-in JavaScript environment, much as scripts can. Conversely, from the JavaScript side, it allows a script to invoke applet methods, or to access the Java runtime libraries, much as applets can.

LiveConnect was used in Netscape 4 to implement scriptability of NPAPI plugins.

It is currently used in Rhinohide to implement a DOM
Document Object Model
The Document Object Model is a cross-platform and language-independent convention for representing and interacting with objects in HTML, XHTML and XML documents. Aspects of the DOM may be addressed and manipulated within the syntax of the programming language in use...

 interface for applets, that allows each applet to manipulate its containing Web page, using a standard Java binding of the DOM.

The Open Java Interface
Open Java Interface
Open JVM Integration, sometimes also referred to as Open Java Interface, is a standard that describes the interaction between a web browser and a Java Virtual Machine running embedded into that browser. OJI is currently being phased out and replaced with more modern technologies....

-dependent implementation of LiveConnect was removed from the Mozilla source code tree in late June 2009 as part of the Mozilla 2 cleanup effort. It is no longer needed with the release of a redesigned Java Runtime Environment from Sun Microsystems. However the old implementation was restored for Gecko 1.9.2, as Apple had yet to port the newer JRE over to Mac OS X.

The Java–JavaScript functionality supported by the redesigned Java Runtime Environment is still called "LiveConnect", despite the Open Java Interface
Open Java Interface
Open JVM Integration, sometimes also referred to as Open Java Interface, is a standard that describes the interaction between a web browser and a Java Virtual Machine running embedded into that browser. OJI is currently being phased out and replaced with more modern technologies....

-specific approach having been abandoned.
The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK