• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

suncertify.properties

 
Didier Varon
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The assignment says:
"All configuration must be done via the 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 directory."

What kind of configuration is the assignment taking about, the server location, the file name, or what else?
 
Steve Baranski
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What kind of configuration is the assignment taking about, the server location, the file name, or what else?


Hi Didier: This is your discretion, but file name/location and/or server name are a great start. People that use RMI tend to allow the port to be chosen as well, but this introduces another twist or two with the registry...just keep that in mind.

I've read that some people persist the preferred window size and other UI-related information, but I feel this is beyond the scope of the assignment.

IMHO, persisting this correctly also takes into account the mode (e.g., server, standalone, client) the program is running in. So for example, running in standalone mode probably shouldn't retrieve the file location used to run in server mode previously, nor should it overwrite the server mode. Moreover, not all of these attributes are required for each mode.

There are several good links if you search for configuration that describe what the common denominator is, etc., as well as how to handle the varying behavior.

Ultimately it's your choice. Good luck!
 
Didier Varon
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Steve, now is more clear.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic