title: What's the difference between ModelAndView and ModelMap?
body: <p>Is <code>ModelMap</code> just the new name in Spring 3 for a <code>ModelAndView</code>?</p>
  
  <p>Does the functionality change in Spring 3?</p>
  
  <p>Consider this code in a Spring 3 app using a <code>ModelMap</code>:</p>
  
  <pre><code> @RequestMapping(value = "/order", method = RequestMethod.GET)
   public final String setup(final ModelMap model)
   {
    model.addAttribute(ORDER, new Order());
    return "setup";
   }
  </code></pre>
  
  <p>I would like to know what the equivalent use here of <code>ModelAndView</code> would be in an older Spring app? Would it just require a name change from <code>ModelMap</code> to <code>ModelAndView</code> to get this working in Spring 2.5?</p>