The Source for Java Technology Collaboration

Home » java.net Forums » Java Desktop Technologies » JDIC

Thread: Existing ways to store java.util.Preferences in a JDBC backend?

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 2 - Last Post: Jun 29, 2008 3:44 AM by: hadev Threads: [ Previous | Next ]
mbs3

Posts: 7
Existing ways to store java.util.Preferences in a JDBC backend?
Posted: Jun 26, 2008 6:46 AM
  Click to reply to this thread Reply

Hello all,

I'm curious if anyone has seen any pre-existing libraries that provide a JDBC backend for storing preferences from java.util.Preferences?

I realize this isn't *really* a JDNC question, but it does actually affect user experience to have preferences stored locally or remotely, and what I'm really looking for is desktop application preferences in a semi-distributed environment.

Should I be approaching this differently?

magnum

Posts: 9
Re: Existing ways to store java.util.Preferences in a JDBC backend?
Posted: Jun 28, 2008 4:45 AM   in response to: mbs3
  Click to reply to this thread Reply

I don't know if it can be of any help to you, but I had this same kind of usage scenario. Preferences store by default on windows registry on Windows, and it is not always possible to change it in some controlled enterprise environments (not mentioning the fact that the preferences are stored on the host machine rather than on the network). I created a java.net project some time ago partly to address this for my needs: that is being able to control the way Preferences are stored. Look, here: mdiutilities.dev.java.net

hadev

Posts: 1
Re: Existing ways to store java.util.Preferences in a JDBC backend?
Posted: Jun 29, 2008 3:44 AM   in response to: mbs3
  Click to reply to this thread Reply

You can also use the Apache Configuration API (http://commons.apache.org/configuration), it is quite similar to java.util.preferences, but it can store data where you want.




 XML java.net RSS