users@jaxb.java.net

Re: jaxb 1.0 and jaxb2.0 differences and simple binding (migration)

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Mon, 05 Feb 2007 10:50:28 -0800

Aron Vaughan wrote:
> so that's good - however, we can't use simple binding (since 1) it's subject
> to change at any time

Well, that's why we have a spec, I guess.

> 2) the pluralization makes migrating jaxb1.0 code more
> difficult) -- what we'd like is that each toplevel element gets a class
> generated (vs. an object factory method - which simple binding does (plus
> optimization of the complex types)) - this makes migration a snap. Anyone
> aware of an existing extension/plugin that does this?

Not that I know of.

> we might write one, or stick with normal bindings (it just makes the
> migration harder)

If you decide to do it, please consider hosting it on
jaxb2-commons.dev.java.net.


-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com