Sunday, April 25, 2010

Better name for ModelAndView in Spring MVC?

I am always skeptical about names containing the word "And" as they aren't expressing a single concept. What about the ModelAndView class in Spring MVC? It is something the controller returns to indicate what view to render and optionally provide models (data) to be displayed in that view.
What is the single concept here? I think it may be called PresentationIngredients as the view and the models will be used to create the presentation.
What's your take? Or do you think ModelAndView is already good enough? Why not many people raised the problem before?