[jdom-interest] Parser Pooling

Jason Hunter jhunter at xquery.com
Thu Dec 16 15:09:32 PST 2004

SAXBuilder by default reuses the underlying parser.  But SAXBuilder 
shouldn't be used by multiple threads concurrently.


Mahesh Trikannad wrote:

> Hi ,
> I have heard that pooling the parser or using the same parser by making 
> it a static object, can improve the performance. Is that true.
> Iam using JDOM. When I get a XML string as input, Iam going to use 
> SAXBuilder to create a Document. Does it make sense to reuse the 
> SAXBuilder by creating one instance
> ------------------------------------------------------------------------
> _______________________________________________
> To control your jdom-interest membership:
> http://www.jdom.org/mailman/options/jdom-interest/youraddr@yourhost.com

More information about the jdom-interest mailing list