This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
That depends on your application.what are you interested to do with those values?
As far i am concerned, its better to set these parameters in ServletRequest if you just need to respond.And if you need to store it in the database better to go with plain old java objects.Its good architecture DAO data access object