Hi all,
I would like to have your opinion on the following.
In my instructions (B&S 2.1.1) I read :
All configuration must be done via a GUI, and must be persistent between runs of the program. Such configuration information must be stored in a file called suncertify.properties which must be located in the current working directory.
In my interpretation this is only meant for the client program since according to the rest of the instructions we do not have to provide a GUI for the server program.
I have always thought a server 'd rather not depend on a GUI and that it even should run on machines without any windowing system. So I assumed there was no GUI needed for the server, and I provided the defaults for the RMI registry port and the database file location in a separate suncertify.server.properties file. As long as the server administrator runs the server from the defaults, he will not need to edit this file (which I think matches the 'must' requirement of no need to edit any properties files). If he wants something non-default, he will have to edit the properties file.
He stops the server is with a CTRL_C. JVM Shutdown hooks are provided to clean up all connections nicely and give some feedback messages in the console.
Maybe I have understood this wrong ? Have you ever heard of anymone automatically failed because of using another properties file for the server program and not using a GUI for server configuration ?
I have almost finished my assignment, and I would like to clear this out before I submit.
Thanks and regards,
Hans