I'm using Dom4J 1.4.2.
Right now my code creates a new SaxReader every time I want to parse a new XML document:
SAXReader reader = new SAXReader( );
Is there any value in creating a pool of SaxReader objects and just reusing them? How much overhead is involved in creating a new SaxReader on every call?
My code could get one from the pool, parse the document then return it to the pool for another thread to use.