Monday, October 27, 2008

GGBLOG - Thinking in Schema

Have you ever wanted to generate an xml schema (XSD) from a java class?

Took me a little while to track this down and hopefully google will rank it a little bit higher by me blogging about it for others out there.

JAXB has a nice little utility which will take a java class and generate a xml schema and can be run in ant/maven, run through the CLI or programatically.

I personally find it easier being a java guy to think in java over xsd. :)


No comments: