Mar 2nd, 2010, 05:28 AM
Spring portlet mvc best practies
I'm new at spring mvc and portlet and i want to know some best practies...
I have to make a portlet that stores some configuration in the preferences but i'm not sure that what i've done is correctly.
I have a simpleformcontroller where i insert the data and call a utils class (PreferencesUtils) that store this data in preferences and in instances variables.
In my application i have a service that when needs this preferences calls a method in PreferenceUtils that return the instances variables.
Is correct how i've done this or there is a better way to do it?
P.S. Excuse me for my english :P