However, the default implementation of the JDK in windows goes under the windows registry, and I'd like to centralize all the config information in the server (in files or database, preferably). Is there any way to change it? Has the JDK another implementations avaiables? If not, can anybody tell me about any open-source projects to choose?
According to the API doc for java.util.prefs.Preferences:
Implementation note: In Sun's JRE, the PreferencesFactory implementation is specified using the system property java.util.prefs.PreferencesFactory, which must be set to the fully qualified name of a class implementing the PreferencesFactory.
So make your own implementation of PreferencesFactory and Preferences and set the system property java.util.prefs.PreferencesFactory on your command line or in your program.