Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

(B&S)Question regarding suncertify.properties

 
Saheed Adepoju
Ranch Hand
Posts: 267
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
I read a thread a while ago that says that it is adviced not to embedd a suncertify.properties file when submitting the final jar file. So that when the assessor start your application, a default one is created if not found in the present working directory and then that is saved as the suncertify.properties file? Is this a good assumption?
My second question about the suncertify.properties file is that, when the application is run the in the mode java -jar runme.jar, the server should start up and the Server Name(the client should connect to) should be entered, the port number(the client shoud connect to) and the datafile (the datafile the client should make use of). After wards the client is started and then the client configuration window should start up as well. Does one really need to configure the client, as the server already has configuration saved to the suncertify.properties file and only has to pick up the Server name and the port number to connect to?Is this a correct assumption or does one has to still explicitly configure the client for connection. Thanks.
[ April 30, 2006: Message edited by: Saheed Adepoju ]
 
Jeroen T Wenting
Ranch Hand
Posts: 1847
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The requirements document clearly states you MUST save state for both client AND server.
So you MUST save the settings for both client and server separately in the same file.

Using a naming convention for the properties helps here, something like server.<whatever> for serverside properties, client.<whatever> for clientside properties would be a logical choice.
 
Saheed Adepoju
Ranch Hand
Posts: 267
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey
I appreciate ur help so far. I was thinking in that same direction as well. I guess i will go that way! Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic