head 1.2;
access;
symbols
IT1FALL00:1.1;
locks; strict;
comment @# @;
1.2
date 2001.03.23.12.48.48; author dbc; state Exp;
branches;
next 1.1;
1.1
date 2000.11.10.20.51.21; author dbc; state Exp;
branches;
next ;
desc
@@
1.2
log
@Modified Files:
FileDisplay.java.txt rmiegs.html
@
text
@
Lectures CIS 6930-01 Fall 2000
RMI examples
FileDisplay applet front end to FileSource
remote object
Deployment
See the lectures for details. This is a summary.
On sirah.csit.fsu.edu:
-
Choose the Web document directory in which you will install
the applet and other classes. Modify the codebase property
in FileServer.java accordingly.
-
Choose a port number on which your RMI registry will listen (between
1024 and 64K). Modify
the port parameter in filedisplay.html accordingly.
-
Choose the name of your data file. Modify
the file parameter in filedisplay.html accordingly.
-
Compile all code:
javac FileSourceImpl.java
rmic FileSourceImpl
javac FileServer.java
javac FileDisplay.java
-
Make the class files world readable:
chmod o+r *.class
-
Convert the HTML if you will be viewing the applet using the Java Plug-in:
htmlconv filedisplay.html -backup BAK
-
Make sure this directory and the HTML are readable:
chmod o+r .
chmod o+r filedisplay.html
-
Make sure your data file exists in this directory.
-
Run the file server program
java FileServer XXXX
where XXXX is the port number you chose earlier.
You should be able to view the applet from any computer, so long as the
file server program is running on sirah.
@
1.1
log
@Added Files:
rmiegs.html
@
text
@d37 1
a37 1
in FileServer.html accordingly.
@