This content has been marked as final. Show 1 reply
I don't see any PurchaseOrder class generated using xjc utility for given XSDThen you did something wrong.
At this point stop following the tutorial and start reading up about that tool. Understand the trick, don't only learn the trick. WHY don't you get generated classes? You'll have to answer that before you can continue. To start with: are you getting an error message?
The JEE 5 tutorial has a nice section on JAXB:
The JAXB user guide might also help (also check the other documentation on that site)
And as a final note: nobody is forcing you to generate code. JAXB is an API after all, it might even benefit you to create the classes by hand until you know what you are doing.