aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes (B&S)Question regarding suncertify.properties Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "(B&S)Question regarding suncertify.properties" Watch "(B&S)Question regarding suncertify.properties" New topic
Author

(B&S)Question regarding suncertify.properties

Saheed Adepoju
Ranch Hand

Joined: Jun 23, 2004
Posts: 267
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 ]

Saheed Adepoju<br />SCJP 1.4<br />SCJD (B&S..In progress)
Jeroen T Wenting
Ranch Hand

Joined: Apr 21, 2006
Posts: 1847
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.


42
Saheed Adepoju
Ranch Hand

Joined: Jun 23, 2004
Posts: 267
Hey
I appreciate ur help so far. I was thinking in that same direction as well. I guess i will go that way! Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: (B&S)Question regarding suncertify.properties