Basic HTML version of Foils prepared 11 March 99

Foil 23 LiveConnect (cont'd)

From Overview of JavaScript II -- From Cookies to Dynamical HTML CPS616 Technologies of the Information Age -- Spring Semester 99. by Geoffrey C. Fox (Tom Scavo)

LiveConnect for Foil 23
With LiveConnect:
  • JavaScript can access the classes of the browser's Java virtual machine
  • e.g. java.lang.System.out.println("A string"); // writes to Java Console
  • JavaScript can read/write the public variables of an applet and invoke public methods; same for Java-enabled plug-ins
  • Applets and Java-enabled plug-ins can read/write JavaScript object properties and invoke JavaScript functions



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Thu Mar 11 1999