users@jaxb.java.net

Re: Wanted: Serialize and Deserialize example

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Tue, 23 Jan 2007 12:13:06 -0800

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