siegfried wrote:
> Can someone point me to a simple example that defines some java classes
> with annotations, instantiates these classes, and serializes them to a
> file to demonstrate such annotations as @XmlAttribute.
>
>
>
> I guess a second example would be nice that shows how to instantiate the
> java classes by deserializing them from the flat file created by the
> first example.
Look no further than the JAXB RI bundle. It contains a whole bunch of
examples, including java-to-schema samples.
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com