Skip to main content

Blog Archive for kohsuke during September 2005

Sometimes when you are binding your own classes to XML, you hit with a situation where your class representation doesn't quite match what you'd like to see in the XML. Some other times, some of your classes hit the limitation in JAXB that the class must have a default constructor. XmlJavaTypeAdapter is a solution for those problems. Consider the following question Phil asked in the JAXB&JAX...
Since I wrote the last blog entry about the maven java.net plugin, Ross Bamford joined the development, and we've been working on the Maven repository for all java.net projects. The idea is to have a single Maven repository where all java.net projects can publish their artifacts. This has two benefits; the first is that it becomes easier for other projects to depend on java.net projects,...
I have a lot of projects on java.net, so I needed a way to simplify the project management. That's why I came up with maven java.net plugin. The idea is simple. Maven provides an excellent framework for managing a large number of small projects. So I wrote a plugin to perform java.net specific tasks. One of them is the javanet:site task, which takes the result of maven site and bring them to...
I just found that there's a project on SourceForge that provides a Java API to invoke Google desktop search. The reason I'm writing about this is that because it's using JAXB. Yay!
FastInfoset implementats SAX and StAX interfaces. This allows any XML technologies to be used with FastInfoset provided that they support either SAX or StAX. So it's generally that easy. For example, the following code creates a StAX XMLStreamReader from a file encoded in the FastInfoset format: import com.sun.xml.fastinfoset.stax.*;InputStream in = new BufferedInputStream(new FileInputStream...