I am working java and Xml project and in this project we are mainly taking
XML from other party and parsing with SAX parser.
Our existing system is that we are using properties file and and there is
one class file,which take use of properties file and uses the property.
Now we are taking one intiative to increase the performance that,we will
going to replace all the properties file with XML file and there will be one
class file which parse the XML file.
Now the problem is which parser should we use.What my suggestion is we will
going to use DOM parser and parse the xml file and keep the DOM object in
the Hash table.Whenever we need any property,we read the object and get the
My idea is not use SAX parser is, if we are using SAX parser then everytime
we have to parse to get the property from property file.
Can u pls tell me the u'r suggestion regarding this and also how to
retrieve the information from DOM object after keeping in the hash table
and its lifetime.