title: Alternative to Preferences in Java
body: <p>I'm using the Java <a href="http://download.oracle.com/javase/1.4.2/docs/api/java/util/prefs/Preferences.html" rel="noreferrer">Preferences API</a> to store and retrieve small pieces of information in a swing/java application.</p>
  
  <p>Now i have setup Java Web start to launch the application from my web page, and I get a security exception. In order to get rid of this exception, I'd have to prompt the user for permissions. And I refuse to do that because my application does nothing else that would require the user's permission.</p>
  
  <p>That's why I need an alternative solution for storing a few key values from one execution to another. Some sort of cookie or whatever. Do you know any please ?</p>