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 Hill <[EMAIL PROTECTED]> wrote:
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
caching it). Not sure if JDOM suffers such a constraint though.

What is the XML object being used for? There may be better ways around your
problem that dont necessarily involve directly caching and comparing the
XML.

-----Original Message-----
From: Prashanth.S [mailto:[EMAIL PROTECTED]
Sent: Friday, 30 January 2004 10:45
To: [EMAIL PROTECTED]
Subject: [OT]caching XML object


Hi all,
How can i cache XML object in my web application?????I dont want to always
read the xml file for constructing XML object....i also need a way to check
weather there has been any changes between the existing object in cache and
xml file???Iam using jdom....

Thanks
Prashanth



---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!

Reply via email to