CSE 4510: Final Assignment

Due: Friday, May 7, 1999

The Task

Write a database server for the genealogy GUI that you have written. When the server starts, it reads in the data from a file given as the one command line argument. (The code accessing the database using SQL should be removed entirely.)

So you must write two main programs that communicate. The server is started like as follows:

java FamilyServer data.db 4321
(You may want to start the server in the background.) The first argument is the database file (format as in assignment #7). The second argument is the port number. The client is started like as follows.
java FamilyTree maelstrom.cs.fit.edu 4321
The first argument is the hostname of the server and the second argument is the port number of which the server is listening.

Updates to dates must persist after the client terminates (but need not persist if the server terminates). So if the user updates a date, closes the client, starts the client again, then the updated date should the one displayed.

Be sure to stop your server from running when you are not using it for testing your program.

Helpful stuff

Turning it in

Submit all the source files (no jar files this time.)

~ryan/bin/mfiles ryan@cs.fit.edu "cse4510/labff" FamilyServer.java FamilyTree.java ...

Ryan Stansifer <ryan@cs.fit.edu>
Last modified: Tue May 11 10:00:41 EDT 1999