RE: [OT]caching XML object

2004-01-29 Thread Prashanth.S
Hi andrew, Iam using xml for displaying,deleting,updating and adding categories in a tree like hierarchy...so i need to cache it as it will be pain to read the same xml file again and again even though it has not changed[Will be in most cases]so how to go abt it??? Thanks Prashanth Andrew

RE: [OT]caching XML object

2004-01-29 Thread Andrew Hill
Im not familiar with JDOM, but Ive had to do some DOM caching for standard DOMs (with Xerces DOM impl) which proved to be a pain, as xerces DOM objects arent thread-safe - even for reading apparently - which meant I had to clone it from a synchronized block (thus eliminating most of the benefit of