What are the main differences between the following Spring Framework classes?
Model
ModelMap
ModelAndView
Model: is an interface it contains four addAttribute and one merAttribute method.
ModelMap: implements Map interface. It also contains Map method.
ModelAndView: As Bart explain it allows a controller return both as a single value.