Hi,
Question 1
==========
My assignment says that:
"When you submit your assignment, each part (client and server) must be executable using a command of this exact form:
java -jar <path_and_filename> [<mode>]"
I'm not sure whether this means that the above command should individually execute
either the client
or the server (depending on <path_and_filename>
, or whether it means that the above command should execute
both? My guess is that it means both, because it doesn't really make sense to provide a [<mode>] parameter when running the server.
Question 2
==========
The assignment also says that:
"The program must allow the user to specify the location of the database"
As only the command-line parameter referred to above is allowed, I suppose they'll have to specify the location of the database via the GUI. The nicest way to do this would be by opening up the familiar dialog box used to select a file to open. However the database file could reside on a different machine to the client GUI, so I can't simply open a dialog allowing the user to choose a file on the local machine.
Although I could instead just provide a field where the user types in the path to the file on the server machine, this is not terribly user friendly.
Thanks in Advance,
Dan