This page describes a Three-tier example that Max set up using
Java's RMI technology. To see the JavaSoft's more detailed
explanation, go to the Following are the files you need:
Following is a file describing the database:
Following is the process I go through to get the applet running
(assuming that you have the three java files in some source-file
directory, and the html file in some accessible place in your
www-docs):
Necessary files
Deployment process
javac -d ~/public_html/codebase *.java
setenv KARL ~karl
setenv CLASSPATH $HOME/public_html/codebase:$KARL/public/mcs270/psql-movies/postgresql.jar:.
rmic to create skeletons/stubs:
rmic -d ~/public_html/codebase edu.gac.karl.gened.ServerImpl
java -Djava.rmi.server.codebase=http://kilpinen.mcs.gac.edu/~karl/codebase/ \
-Djava.security.policy=$HOME/public_html/policy \
edu.gac.karl.gened.ServerImpl
Notice
The data provided by this program may only be used for the
instructional purposes within the context of the course MCS-270.
Other uses, including distribution of the data, in part or in its
entirety, is strictly forbidden. In particular, please note that this
refers to old course data, and is not relevant for the upcoming
semester at Gustavus.