Skip to main content

Blog Archive for kohsuke during January 2007

Glassfish v3 is going to be based on Maven2, and I've been helping them to get it right. One of the work is to invoke JAXB's schema compiler to compile a DTD with XJC plugins. Once you know what to do, this is easy thanks to the excellent maven-jaxb2-plugin. As with everything else in Maven, the hard part is to know how to do it. I thought this example might be useful for other folks, so...
Sorry folks, the FastInfoset team found out that there's a silly bug in 2.1.1 that prevented our code from using the optimized execution path, and this slows down FI considerably when used with the JAXB RI. So I just released 2.1.2 today. This is the only change between 2.1.1 and 2.1.2. We have an automated performance test for this in Hudson, but the catch was that we forgot to set the...
People occasionally need to be able to use the same set of POJOs to match different XML representations. There's a large degree of difference in the complexity — some people just need to be able to produce more or less the same XML files except that they differ in namespaces (this is common when you use namespaces for versioning); some people need to "hide" certain properties in one XML...
My favorite feature in the JAXB RI is the simpler and better binding mode, which makes the generated code even easier to use, by ... Eliminating JAXBElement as much as possible Giving you a better, more typed binding in general Use plural property names where applicable My previous entry talks about how to use it from JAXB's xjc tool, but of course you can use it from JAX-WS's wsimport tool,...
I just posted the JAXB RI 2.1.1 and the JAXB RI 2.0.5. 2.1.1 is a bug fix release to 2.1 (see changes). This is the main development thread of the JAXB RI, and implements the latest and greatest JAXB 2.1 specification. JAXB RI 2.1.1 is going to be used in the upcoming JAX-WS RI 2.1. 2.0.5 is a bug fix release of the JAXB RI 2.0 line, which implements the JAXB 2.0 specification (see changes...
I'm increasingly relying more on Maven2 for managing my numerous smaller java.net projects. Among countless pains in using Maven2, one pain was that the look and feel of the website generated by maven site plugin (like this) doesn't match the look and feel or java.net at all. So either you need to use the nonav URL feature of java.net, in which case you still have to redirect users from your...
First, I set up a mirror of the java.net maven2 repository on http://maven2.glassfishwiki.org/. This would allow people behind the proxy to use this repository without hitting a bug in Maven. Second, I updated cvs-news. It's been broken for a while, but now it's fully functional. It has a few new features, and stay tuned for more.
Jerome wrote a plugin for XJC that generates bound properties instead of plain simple properties. It was originally a part of Glassfish, but since it is generally useful for other people as well, we split it out and moved it to jaxb2-commons. You can see the sample code that it generates here, and download the bits from here. This has been asked by more than a handful users in the past. So if...
I posted a new version of Hudson. This is 1.72, meaning it's the 73rd release of Hudson — Of all the projects that I work on, Hudson has by far the largest number of releases, and it's still counting. One of the key features of Hudson is its support of distributed builds (AKA "master/slave mode".) As the number of projects grow, being able to distribute the load to multiple computers...
Various people have been asking us to do a better job at Spring integration. So I've been working on it, and the first cut is ready. The idea behind this is relatively simple. Spring is widely used to configure server applications nowadays. It makes it easy to have your object reference your other objects. Thus when you are using Spring in your application, you usually want your web service...