Accessing Native methods from a Java Applet
by Sanket Bakshi, s.bakshi@ebsolutech.com |
|
Previous
section: Applet to Web Page Communication
The process of
invoking JNI calls from an Applet can be summarized as follows –
o Create an applet
that invokes JNI calls
o Write a HTML file
that incorporates the applet and convert it using the HTMLConverter that comes
with Java Plug-in
o Use the keytool
in the JDK to generate a new key and create CSR for the same
o Use the CSR to
get a certificate from a valid certification authority
o Create a jar file
using the jar tool in the JDK, containing the class file
o Use the
certificate to sign the jar file using the jarsigner tool provided by the JDK
Next section: The
Solution – Managing Communication between Applets and Web-Pages
Table of Contents
©
2001 – EBSolute Technologies