Another curious question is do i need to implement the logging? Will I lose the points not to implement the logging by writing in the file? Will I lose some points if I make all logging by writing all information to console with System.out ?
Hm, what would you need logging for other than diagnostic information ? I had some in there for debugging purposes, using the Java Logging API, but I found out automatic testing is the better debugging technique compared to logging.
"The UrlyBird catches the certificate. And he's gonna FlyByNight"<br /> <br />SCJP 1.2/5.0, SCJD, SCBCD, SCWCD, SCEA
Hm, what would you need logging for other than diagnostic information ? Actually, logging is a very important part of any well designed application, and IMHO it should be used extensively in a real world situation to help with application maintanence.
However, this is not a real world application, and there is no requirement to use any type of logging. So if you choose not to use logging I don't think you would use points.
FYI, I used logging in my assignment. I logged all major IO operations (open file, close file) as well as all thrown exceptions. If you use the logging mechanism built into java, you will get an easy-to-read xml file with each log as well as output to the console. It only takes a few lines of code, and it makes for, in my opinion, a better application.
“Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.” - Rich Cook