Basic HTML version of Foils prepared 2 October 98

Foil 18 Wv plugin & applet run time

From Netscape's LiveConnect Technology CPS640 Internet and Multimedia Technologies -- April 98. by Marek Podgorny,Nancy McCracken


browser finds <embed> tag in HTML page
  • - libWvDecoder.so (plugin) is started
libWvDecoder.so calls use_WvDecoder(NPN_GetJavaEnv())
  • - WvDecoder.class is instantiated in decoder object
browser finds <applet> tag
  • - WvViewer.class is imported, and instantiated in viewer object
viewer calls Java Script: JSObject.getWindow(this).
  • .getMember("document").getMember("WvDecoder")
  • - decoder is returned to viewer
Communication is established:
  • - viewer can calls native methods from libWvDecoder.so via decoder,
  • - and vice versa - plug-in can calls any applet method.



© 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 Sun Nov 29 1998