Uploaded image for project: 'Commons Configuration'
  1. Commons Configuration
  2. CONFIGURATION-276

java.util.prefs Configuration

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.4
    • 2.0
    • Format
    • None

    Description

      Hi,

      I have read that Commons Configuration is intended to be compatible with Java 1.3 but would it be possible to create a configuration backend for the Preferences API provided since Java 1.4?

      In my project I would like to use a very low-overhead configuration mechanism as is the Preferences API while still having the flexibility and power offered by Commons Configuration. In fact, being able to swap in a config file for testing purposes without changing the code would be wonderful. However, I do not like the idea of providing the end user with such a file or even a database, changing application settings should be done through the UI.

      If it is not possible to add a preferences backend to the code base due to the backward compatibility policy, could such a backend then possibly be provided in another branch or in a subproject?

      Best regards,
      Michael

      Attachments

        Activity

          People

            oheger Oliver Heger
            javaprog Michael Rudolf
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: