prefs.xml(java.utils.prefs.Preference) automatically refrsh by Glassfish
In my current application we are using Glassfish to deploy my ear file and We read the user specific values from different places and store it into java.util.prefs.Preference to user it latter. We also have options to change the java.util.prefs.Preference externally. Now the questions are:
a) Recently I found, whenever I am starting my application in Glassfish, Glassfish creating a prefs.xml file containing all the preference I set under /.java/.userPrefs/. But no where I have written code to store the same in this location. So, is that Glassfish's default behavior to store the preferences in this location? or is there any settings?