Programmer's Guide > Using the AOM > Using JavaScript to Access the AOM
  
Using JavaScript to Access the AOM
JavaScript Interface Overview
Arbortext Editor and the Arbortext Publishing Engine include a JavaScript binding to the AOM. Using this binding, software developers can use the JavaScript programming language to write applications for Arbortext Editor and the Arbortext Publishing Engine.
Arbortext uses the Rhino open-source Java implementation from The Mozilla Organization as its JavaScript interpreter. This version of Rhino supports the JavaScript language version 1.5 and is compliant with the European Computer Manufacturers Association (ECMA) standard described in ECMA-262 Edition 3 (www.mozilla.org/js/language/E262-3.pdf).
Arbortext Editor uses the Rhino interpreter unmodified, distributed as Arbortext-path\lib\classes\js.jar. For more information about Rhino, see the Rhino: JavaScript for Java web page at www.mozilla.org/rhino. The source code for the interpreter is available at the Mozilla site at www.mozilla.org/rhino/download.html.
The Arbortext Object Model (AOM) interface for JavaScript is implemented on top of the Java AOM interface classes using a feature called LiveConnect. Refer to Calling Java from JavaScript for details.
* 
The Arbortext Editor JavaScript implementation supports the DOM and Arbortext Editor AOM interfaces only. It does not support client-side JavaScript found in web browsers. In particular, there is no browser Window object or window global execution context. The AOM provides its own Window interface. By default, all JavaScript code is executed in a single global context. Arbortext Editor does not currently support other browser-specific JavaScript objects such as Form, HTMLElement, or Location.