Pojo to xsd generation

Surya picture Surya · Aug 25, 2009 · Viewed 14.5k times · Source

Is there a library which could generate a xsd schema from a java class? Google yields lots of results the opposite ( java classes from xsd ).

Answer

Vineet Reynolds picture Vineet Reynolds · Aug 25, 2009

JAXB 2.0 allows you to create a XML schema from an annotated Java class.

You'll find some examples at the AMIS blog and at the JavaPassion site.