I am using JAXB on a project. the attraction of JAXB is that it is bundled with the JDK, I have been to use xjc.exe on the command line to generate the .java files from a sc
You cant find several sample Ant/JAXB projects in JAXB2 Basics:
http://confluence.highsource.org/display/J2B/Latest+Release