• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

(B&S)Question regarding suncertify.properties

 
Ranch Hand
Posts: 267
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 1847
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic