Javascript: The Definitive Guide

Previous Appendix D Next
 

D.7 Communication with Java

In Navigator 3.0, JavaScript can communicate with Java in a very full-featured way through LiveConnect. Internet Explorer 3.0 does not support LiveConnect, and future versions of this browser probably won't either. Instead, IE 3.0 allows JavaScript programs to treat applets as ActiveX objects, and read and write fields and invoke methods of those applets. Note however that IE 3.0 does not suport the applets[] array of the Document object--applets must be referred to by name. Also, note that IE 3.0 mechanism for communication with Java is not nearly so full-featured as LiveConnect. See Chapter 19, LiveConnect: JavaScript and Java for details.


Previous Home Next
Security Book Index Supported but Nonfunctional Properties