users@jaxb.java.net

Re: JavaBeans2schema?

From: Sekhar Vajjhala <sekhar.vajjhala_at_sun.com>
Date: Mon, 16 Jun 2003 07:15:00 -0600

On Fri, 13 Jun 2003 13:30:09 -0700, Steven Cummings <stevenc79_at_yahoo.com> wrote:

>Hello,
>
>Is there currently or the future possibility of a tool that
>performs the inverse operation of the XJC tool? What I mean
>by this is, a tool that iterates over JavaBeans in a
>package and generates a schema (XSD) with the necessary
>binding-info such that running XJC on that schema would
>produce the same classes?

This will be addressed by JAXB 2.0 2.0 JSR ( Java Specification Request) -
JSR 222: http://jcp.org/en/jsr/detail?id=222

Sekhar Vajjhala
Sun Microsystems

>
>For developers who want to use JAXB with an already
>existing object model or set of JavaBeans, it would
>eliminate the step of creating a schema and retro-fitting
>it to the object-model via jxb binding elements in the
>schema.
>
>I already know that I could just use reflection to generate
>some of it easily, but I was wondering about something with
>tigher JAXB compatibility. Thanks.
>
>/S
>
>__________________________________
>Do you Yahoo!?
>Yahoo! Calendar - Free online calendar with sync to Outlook(TM).