?
Solved

Saving User Preferences

Posted on 2013-01-04
3
Medium Priority
?
345 Views
Last Modified: 2013-02-27
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?
0
Comment
Question by:jagadeesh_motamarri
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 37

Expert Comment

by:zzynx
ID: 38750595
>> 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
 
LVL 10

Accepted Solution

by:
jagadeesh_motamarri earned 0 total points
ID: 38918728
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
 
LVL 10

Author Closing Comment

by:jagadeesh_motamarri
ID: 38933243
No other appropriate solutions were posted.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question