Solved

Saving User Preferences

Posted on 2013-01-04
3
343 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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

687 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