I've written a number of classes using JAXB for serialization and I was wondering if there was a way to generate a XSD file for each of these objects based on the annotations. Is there a tool for this?
Something like generate-xsd com/my/package/model/Unit.java
would be awesome. Does anything exist to do this?