Important features

When working with the different flows, we looked at some of the important features of the Spring MVC Framework. These include the following:

  • Loosely coupled architecture with well-defined, independent roles for each of the objects.
  • Highly flexible Controller method definitions. Controller methods can have a varied range of parameters and return values. This gives flexibility to the programmer to choose the definition that meets their needs.
  • Allows the reuse of domain objects as form backing objects. Reduces the need to have separate form objects.
  • Built-in tag libraries (Spring, spring-form) with localization support.
  • Model uses a HashMap with key-value pairs. Allows integration with multiple view technologies.
  • Flexible binding. Type mismatches while binding can be handled as validation errors instead of runtime errors.
  • Mock MVC Framework to unit test controllers.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset