The Sun Java Streaming XML Parser (SJSXP) 1.0.1 is now available for download from Java.net. This is our first release since FCS back in April 2006. In his new blog, Joe Wang has already talked about this new release as well as some of the fixes and features in it.
The XPath API has been part of JAXP since version 1.3, which is part of Java SE 5.0. Yet, we've never received (or at least I haven't heard) much feedback about it or the implementation that we have in the RI. Well, that's not entirely true, I have heard a few times that the implementation is not very fast (which is true), yet not much about the API itself.
One of the complains about the JAXP API that we are hearing (rather loudly!) is number of lines of code that are needed to implement a simple task: you need to instantiate a factory, create an instance from the factory, wrap your parameters in Sources and Results and finally carry out the task. Ah, and don't forget to catch all those exceptions or your code won't even compile.
The First Customer Shipment (FCS) version of JAXP 1.4 Reference Implementation (RI) is now available from Java.net.
The Sun Tech Days in Buenos Aires, Argentina was a fantastic event: great venue (Hilton Puerto Madero), great city (well, my home town so I'm biased) and absolutely fantastic food. Oh, yes, and also really good technical sessions.
Kohsuke has recently blogged about Hudson plugins and also about the plugin that we have recently wrote for Japex. Here are some more details on how to get up to speed with performance tracking using Japex and Hudson.
Back in April, I blogged about using the Japex regression tracking tool to monitor performance over time. This tool computes a diff between the last two reports and sends alerts via e-mail if a regression (or a progression) higher than a threshold is detected.
It has been a while since my last blog about Japex. I'm currently working on a couple of improvements: the first involves cleaning up and simplifying the Japex trend reporting tool (but more on this on a later installment) and the second is about conditional processing in configuration files, the topic I would like to talk about today.
The JAXP API defines a pluggability layer which allows easy swapping of implementations via the use of system properties and meta-information stored in JAR files. I have recently found that the mechanism by which factory classes are located and loaded still causes a great deal of confusion.
Sun Java Streaming XML Parser (SJSXP) is now available from the Java.net Maven repository. This is the FCS version of Sun's StAX parser.