Saving User Preferences

I am currently using Spring Framework MVC for a Web Application. We have a requirement for storing and loading user preferences.

Are there any common open-source / trusted frameworks for the same?

User Preference Example - Screen with Multiple data filtering drop downs. On loading the screen, if the preferences are previously saved, they would be used and data is automatically filtered and displayed. If the preferences are NOT saved previously, user is forced to select the filters before displaying the data.

Preferences should be saved per user, per screen and widget.

I guess one of the options is building something using Java Preference API.
Any ideas?
LVL 10
jagadeesh_motamarriAsked:
Who is Participating?
 
jagadeesh_motamarriConnect With a Mentor Author Commented:
I am implemented a custom solution which involves storing the preferences as key value pairs in database by serializing the objects into JSON structure. Had to do this way based on the requirements and complexity of the preferences.
0
 
zzynxSoftware engineerCommented:
>> I guess one of the options is building something using Java Preference API.
Using the Preferences API is indeed how we do it.
It's nothing more than storing and retrieving (and applying) key-value pairs in registry/ini-files
0
 
jagadeesh_motamarriAuthor Commented:
No other appropriate solutions were posted.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.