My project is to use APPLET to create a real-time message queue monitoring program. because local resources are involved, the APPLET must be digitally signed and authenticated. My environment is windows, the application server is WEBLOGIC6.0, and the development environment is JBUILDER4.0. Previously, I reminded you to pay attention to the concepts of server and client. Those files should be digitally signed on the server applet
My project is to use APPLET to create a real-time message queue monitoring program. because local resources are involved, the APPLET must be digitally signed and authenticated. My environment is windows, the application server is WEBLOGIC6.0, and the development environment is JBUILDER4.0. Previously, I reminded you to pay attention to the concepts of server and client. The files should be on the server and those files should be on the client.
First, use JRE1.3.0 _ 01 (JAVA Runtime Environment 1.3.0.1) on the client to replace IE's JVM (JAVA virtual machine. JAVA. SUN. download on the COM website. after the download is completed, install it on the client first. the installation process is very simple.
In the HTML file of the APPLET called on the server side, you also need to include it so that the JRE client is not installed in advance to download the code. for details, go to the next step;
The procedure is as follows:
Server:
1. decompress all the package files required by the program (I will use the JMS package of WEBLOGIC here to use the command jar xf weblogicc. jar), and then use the JDK packaging command to compile the monitoring program. class and the decompressed package are packaged into a package. (If I have already put the monitoring program and the unwrapped package in the same directory), they are all commands in the dos state. for specific commands, see the bin directory of jdk1.3 (1.2,
The command is as follows:
Jar cvf monitor. jar *. class
This command generates a package named monitor. jar.
2. create the keystore and keys for the package file (monitor. jar) you just created. Here, the keystore will be used to store the authentication of the key (private keys) and the public key, and the alias here is monitor.
The command is as follows:
Keytool-genkey-keystore monitor. keystore