« Progress.... | Main | UML is good! »
May 05, 2005
Day full of learning
Well, I managed to learn a lot about Tomcat configuration and XML parsing today. I spent the morning trying to figure out how to do XML parsing. Made some progress towards having a parser that read an XML file and populated an object with its information. Well...
Then I went to lunch... On the way back Eric informed/reminded me that the functionality that I was attempting to create already existed in Tomcat/Servlets natively. The Servlet web.xml files and the Server wide web.xml files have the capibility of adding parameters to them that can be seen within the scope of the servlet. Well, silly as I felt, I spent the rest of the afternoon learning about where and how they were placed in the web.xml files, and by the end of the day I was pulling setup information from those files, allowing me to change what database I pointed to with just the re-load of the servlet (stop and start that is). So I'm working on re-writing the current application to use this functionality. This rendition will be slightly slower going since I don't yet know all of the details for the finished utility.
Posted by nbingha at May 5, 2005 05:07 PM