Handling configuration data in Java isn't as convenient as it could be. The old and popular Properties mechanism has an awkward syntax and you have to take care of type safety yourself. The new Preferences mechanism supports XML but still isn't everything I'd like it to be.
Recently, I discovered …
read more