Hi,
I have been doing
java development for a while but I am not good at the design side. Here is what I am looking for: I have a web application and the UI properties are saved in an XML file. The user can edit the properties from UI and the XML is updated. Then these properties are used application wide. As of now I am reading the XML file everytime a property has to read. I am not happy with this and there is a need for an efficient alternative.
How can I avoid reading the file everytime and just touch the file only when the properties are updated and read it once and use all the time?
Please help.