users@jaxb.java.net

JAXBContext and multithreading

From: Martin Bosak <bosakm_java_at_FMCTC.COM>
Date: Thu, 09 Jan 2003 19:15:47 -0700

Hello,

Is it threadsafe to have multiple threads accessing the same JAXBContext
object to obtain Marshallers and Unmarshallers? I have a schema where it
literally takes over one minute to create a JAXBContext object (on a 1.6GH PC) and I so I need to create one instance at process startup and cache it for later use during document processing.

Thank You,
Martin Bosak