I’ve been using XPath and XQuery to parse my XML documents as of late and, wow, does it ever make parsing easier. For instance, suppose I wanted to collect elements which had a bar attribute of “baz”. Using The Mind Electric‘s Electric … Read more
We were encountering a problem in the server code at my company whereby read() requests on a stream were blocking and never returning. This was causing periodic data retrieval within threads to hang, which would eventually eat up all available threads and lead to stale data. I tried creating a watchdog thread which would periodically … Read more
David Watson has just made the switch from Glue to Apache Axis. I understand his pain, as everything broke on my server when I “upgraded” Glue from 2.x to 3.2. However, I managed to get it working although I was not deploying my application in … Read more
A few months ago, Vic was talking about JUnit and how I should have been making use of it. He even went so far as to sketch out a small test case. I knew I should have been writing test cases for my code, but my work schedule was so hectic, with me … Read more