[jdom-interest] is SAXBuilder.build() thread-safe?
jhunter at acm.org
Wed Oct 30 18:22:23 PST 2002
The FAQ answers this. And the overhead of creating one holder object is
nothing compared to the overhead of parsing a file.
Glen Lewis wrote:
> Yeah, a pretty simple question ... can I keep one SAXBuilder instance lying around, and have multiple threads call build() on it at the same time? I've been creating a new instance every time I parse ... it just feels so wasteful ;)
> And I guess the same goes for XMLOutputter.output() ... ?
> Glen Lewis
> To control your jdom-interest membership:
More information about the jdom-interest