aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Can we use additional properties files? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Can we use additional properties files?" Watch "Can we use additional properties files?" New topic
Author

Can we use additional properties files?

Zafer Abu saeed
Ranch Hand

Joined: Mar 28, 2004
Posts: 40
I have the suncertify.properties file to persist the configurations
between runs of the program. (required)

I'm thinking about adding another properties files for the logging configurations, and for the GUI captions,
with their locations being hard-coded in the source.

I have two questions here:
1. Is it allowed to do these configurations without a GUI interface?
2. If yes, then is it allowed to use properties files other than the suncertify.properties? or we have to use it for all configurations?

Note this from the instructions:
All configuration must be done via a 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 working directory.


Thanks in advance.


Thanks,<br /> Zafer<br /> SCJP, SCWCD
Zafer Abu saeed
Ranch Hand

Joined: Mar 28, 2004
Posts: 40
Can't any body help ?
Is there any body passed the assignment with properties files
other than the suncertify.properties?
Barend Garvelink
Ranch Hand

Joined: Dec 07, 2004
Posts: 64
I'm thinking about adding another properties files for the logging configurations, and for the GUI captions,
with their locations being hard-coded in the source.


Keep in mind that you can not get bonus points for any extra work you do, you can only lose points for anything you do wrong. I would not translate GUI captions and things like that.


SCJP 1.4, SCJD 1.4, SCWCD 1.3, ICSD:Websphere 5.1
Ken Krebs
Ranch Hand

Joined: Nov 27, 2002
Posts: 451
Zafer,

My approach to logging configuration was to set default values in code. I also supplied a logging.properties file with the assignment and told the tester about it's existence and purpose (administration and testing) in choices.txt. The tester was instructed to copy it to the working directory if he/she wanted to use it. My code then looks for its existence and uses it if it's there, otherwise logging only WARNING and SEVERE messages. I felt that using logging made it easy for the tester and helped me get a good score (389/400).


kktec<br />SCJP, SCWCD, SCJD<br />"What we observe is not nature itself, but nature exposed to our method of questioning." - Werner Heisenberg
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can we use additional properties files?