Building on the GUI you developed in the previous assignment, write a client/server application, in which a GUI running on a client machine (such as a PC) manipulates entries in a text file stored on a server machine, somewhere else on the Internet. Communication between client and server should go through RMI.
You should design an RMI remote interface through which the client can read and write to a data file on the server machine. For simplicity, limit the interface to operations that read the whole file and write the whole file. If you wish, you may base your interface on the FileSource example discussed in the lectures (you may only need to add one method for writing).
It is recommended you run the server implementing this interface on sirah, merlot or cabernet in CSIT.
The client program may be either:
Or:
You are encouraged to deploy HTML (if using an applet), and downloadable class files, in the directory /home/httpd/html/it1spring01/homework3/uid on sirah, where uid is your login id (user name) on this machine. You should then be able to view the applet at a URL of the form:
http://sirah.csit.fsu.edu/it1spring01/homework3/uid/...
Note: this assignment is supposed to be a relatively short exercise in getting an RMI based program running. It should not involve extensive new coding.
On sirah you will find a directory called /home/project/it1spring01/homeworkr3/uid where uid is your login ID. To submit Assignment 3, please copy your files into this directory. Note this is not the same directory as the Web server directory mentioned above!
For this assignment, there will be a total of 15 points. Grading criteria are similar to Assignment 1. Some points will be assigned on the basis of apparent effort and uniqueness. To get full marks you should be using dynamic class loading, either by using an applet front end, or otherwise ensuring RMI stubs are loaded to the client dynamically.