Hi Leo,
Originally posted by leo marinangeli:
I need this, in order to satisfy this statement:
"All configuration information must be stored in a file called suncertify.properties" and "must be persistent between runs of the program".
I see the need for persisting the port number between runs of the program. I just don't see the need for persisting the history of port number changes. It seems to me that the only port number change of any significance is the latest one.
For example,
suncertify.properties file: clientPortNumber=1099
User changes the port number to 1098
suncertify.properties file: clientPortNumber=1098
User changes the port number to 1097
suncertify.properties file: clientPortNumber=1097
It seems to me that this would be sufficient to persist the port number between runs of the program.
I'm not sure what extra benefit you get by doing the following:
suncertify.properties file: clientPortNumber=1099
User changes the port number to 1098
suncertify.properties file: clientPortNumber=1098,1099
User changes the port number to 1097
suncertify.properties file: clientPortNumber=1097,1098,1099
Maybe I'm missing something.
Hope this helps,
George
Regards, George
SCJP, SCJD, SCWCD, SCBCD