users@jaxb.java.net

JAXB 2.0

From: Jon Richards <jon_at_richards-net.demon.co.uk>
Date: Sat, 14 May 2005 10:42:22 +0100

Hi all.
I was playing with JAXB2.0 yesterday and the team and me are really
pleased with the results. Everything is much tidier. No more impls and
runtime stuff, and not having to extend the impl classes which always
seemed 'wrong'.

Best of all for us is ObjectFactory not throwing JAXB exceptions on
object creation and the fact the you can statically import the inner
classes. No more createThisThatTheOtherInHereOutThere...

Some questions though if you don't mind:

I've always tried to use the ObjectFactory in case future versions sneak
some code into the createX methods, however i'd rather just new the
classes my self. Is this allowed? Discouraged? Don't care?

Secondly is JAXB2.0 any faster? Do you have any metrics? It would be
nice to report that JAXB2.0 is x times faster than previous versions. I
appreciate it may well not be faster. Just curious...

Best regards, and keep up the good work,

Jon Richards