I use Spring IoC and do all of my app configuration with Spring still. I just use Wicket for the webapp portion. There's no reason Wicket should know about these SMTP / LDAP config values - all of that should be service layer or below.
-- Jeremy Thomerson http://www.wickettraining.com On Sun, Mar 7, 2010 at 2:15 PM, David Chang <[email protected]> wrote: > Hi, I am new in Wicket. > > I did Spring web applications before and I usually put an app's > configuration parameters in the application context file. > > I would like to know the best practice in Wichet for setting parameters > such as SMTP server, LDAP server, etc. Where should I put them? I dont feel > WebApplication is a good place. Put them in an old java properties file? I > want these parameters can be changed without touching source code. > > Thanks! > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
