Wednesday, September 26, 2007

11 webspider part 2

I tried to work on the webspider project again but found that the only significant change I made was to the logging part. Instead of using System.out.println to output any logging, I used the java logger class to implement my logging. This was mildly difficult because I had no experience with this class or anything like it. At least when I had to use map I had a basic idea of what I wanted in a nut shell. With logging, I didn't even know where to begin. So like any other good program, I looked up example on the internet.
Even on the internet there weren't many useful links. I tried to look at the API but as complex as it is, I found myself unmotivated and bored. There were a few pages that described how to use the logging class but what I really wanted was an example of just how the code worked. There nothing like seeing the code in action to really grasp what it can do.
I tried to work on other parts of the code but I was just not motivated enough to think up a better, more robust code. It may be because I feel that I am "done" with this assignment or just the lack of sleep over the past week catching up with me, but it seems like I'm satisfied with this code and can't bring myself to really dive into it and make it more efficient.

here's the link to the new version...

http://www2.hawaii.edu/%7Eeykim/webspider-eykim-1.0.925.zip

No comments: