[jdom-interest] Re: JDOM -- threads?

Tatu Saloranta cowtowncoder at yahoo.com
Thu May 11 13:29:43 PDT 2006

--- "Edelson, Justin" <Justin.Edelson at mtvn.com> wrote:

> > and what about DOM, SAX API?
> You can't build documents with SAX. DOM
> implementations generally have
> the same thread-safety caveats as JDOM.

Back to the original question: thread-safety only
means that you generally can not safely process SAME
object (in this case, document) from multiple threads,
without synchronizing access yourself. That is,
library does not add synchronization. It is generally
quite rare to need to do that, so this warning is
pretty much boiler plate for most Java code /

Warning does NOT mean that you couldn't use it from a
multi-threaded app or app/servlet container.

-+ Tatu +-

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

More information about the jdom-interest mailing list