I wanted to generate some XML Schemas for my project. I have some Java Classes, like this one:
package com.fortresswars.entity;
import com.fortresswars.entity.p
Yes, JAXB can go both ways (using annotations). Check out this question for more info and some links.
There's a tool called schemagen
inside the JDK bin
directory, that turns java source/class file into an XML schema. See the documentation.
JAXB can do both