Skip to main content

Blog Archive for kohsuke during February 2005

In the last week, I wrote about how you can use JAXB 2.0 as an XML persistence engine, and I got a lot of comments about the support for immutable objects. So I'd like to elaborate on it today. First, disclaimer. As usual, everything I write here can be changed by the time the spec becomes final. That's the whole point of writing this --- so that I can get more feedbacks and send them to the...
One of the major enhancements in the JAXB 2.0 is an ability to bind your own hand-written classes --- often called as POJOs --- to XML. And it's very easy. For example, consider the following classes: public class TodoList {  private final List<Item> items = new ArrayList<Item>();    ... methods ...}public class Item {  private String title;  private...
click to enlarge When you are working on a software project, often you have other people who need to access the builds. For example, here at Sun when I work with the JAXB RI, our builds need to be handed to the quality assurance team, the TCK team, the JAX-RPC RI team, and other miscellaneous people who use the JAXB RI internally. For many of them, this hand-off of a build is...
As Eduardo mentioned, we just released a preview of what JAXB 2.0 and JAX-RPC 2.0 look like. This bundle includes the current snapshot of the JAXB RI and JAX-RPC RI. It is a "preview", so the documentation is very sketchy, and it's definitely not feature-complete, but it has enough things in it to give you more concrete idea about how JAXB and JAX-RPC will look like in 2.0. Since my day job is...