Basic HTML version of Foils prepared 22 February 97

Foil 5 Java - plug-ins communication

From Overview of TANGO Base Technology Rome Lab Quarterly Review for CIV -- October 1 96. by Marek Podgorny *

Netscape provides netscape.plugin.Plugin class which is the Java representation of the native plug-in.Specific for particular plug-in subclass of java.plugin.Plugin must be created and installed together with plug-in itself (NPX_PLUGIN_PATH).LiveConnect mechanism automatically instantiates Java class representing plug-in.Communication between this object and the plug-in is done the same way as in general case of Java-native code communication, except for:
  • 1.different javah program is provided by Netscape (it must be run with additional parameter -jri) 2.one need not to explicitly load the native library - all code is in the plug-in dynamic library which is loaded automatically when necessary (Java object creation follows plug-in load).



© 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 Aug 14 1997