This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Do you have any design ideas yourself? If so, please share them.
Before you can efficiently design something, you need to have requirements and/or specifications. Do you have any of these?
Joined: Jul 02, 2004
Simplest solution can be xml based per user.
Define schema for different types of preferences
If I am designing preference manager for Internet option,
Default browser, size, default site to open, pop up blocker etc can be required preferences,
Subsciption based preferences may be allowed sites, user can be asked to subscribe for allowed sites..
Irrespesctive of the requirements, I would like to understand best way of storing the preferences and retrival using Java.
If you have to design preference Manager for Internet Options - what are different types to design?
One part of it is storing preferences per user, that is going to be simple
Difficult part would be Providing new preferences on Fly. Let's say x Company has y applications and each applications is allowing 1-n number of preferences to set. Preference Manager sould allow to save these preferences. Also new application comes up and Preference manager should allow to provide preferences for this new application with no code changes.