users@jaxb.java.net

JavaBeans2schema?

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

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?

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).
http://calendar.yahoo.com