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


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

in Table To:


© 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