users@jaxb.java.net

Re: Thread Safety in JAXBContext

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Fri, 07 Mar 2003 07:20:13 -0800

> Is this also the case for the Marshaller/Unmarshaller/Validator objects
> that JAXBContext create?

No. You can't unmarshal/marshal/validate two objects simultaneously.

In JAXB RI, they are light-weight objects, so feel free to instantiate them
as many as you need :-)

regards,
--
Kohsuke KAWAGUCHI                  408-276-7063 (x17063)
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com