In the non-interactive mode, the requirment of the network bandwidth is very
low. Although we have not tested yet, the PPP/SLIP serial connection should
also work in the non-interactive mode. Interactive mode needs more bandwidth
and CPU time, we suggest that this mode only be run in the LAN environment.
make a directory and enter it
Several things should be noticed before you run the program :
This is kind of inconvinent when you developing java client/server program.
JDK appletviewer provides a unrestricted mode which disables the function of
the security manager. In addition, if the netscape is executed in the same
machine as the server does, then the client also works. At the bottom line,
you can always find a free http server to build a testing environment.
This is quite different from our model in which we install a server and
transfer our java applets to other's machines. If there is harm, it should
be one that happens in other's machines.
Howerver, java is still a young language comparing to C, and since it
mainly appears in the internet environment, even a little flaw will cause
a lot of harm. We do not put much effort on the security issues in this
project. Security extensions such as Kerberos authentication should be
added before this program being used in any serious business.
How to install it?
The whole project will be compressed into a XXXX.tar.gz file, to install it,
do as follows:
type:
tar -xvf XXXX.tar.gz | gzip -d
This could install all files under the directory you made.
The rest is simply put the java applet tag
into any html file that you'd like the client to reference.
How to run the program?
Just go into the directory where all the .class file reside and type :
java testserver
and It's done!
The server need to be initiated along with a http server, in other words,
run in a directory which can be access through the http server. This is because
Java's security manager would not allow applet making any connections with hosts
except the one that it comes from which happens to be our case. In addition,
the URL connections must refer to a http server. Is this java program secure enough?
It is said that there are some java security flaws due to the language design
and implementation phase. So far, most of the concerns are to the applets. It
means that it is insecure to view an applet without knowing how it will do
to your local machine. Where can I get it?
It's currently unavailable.