Spring MVC Tutorials

Spring MVC Tutorials

In this detailed Resource page, we feature an abundance of Spring MVC Tutorials!

The Spring Framework features its own model–view–controller (MVC) web application framework, which wasn’t originally planned.

Like Struts, Spring MVC is a request-based framework. The framework defines strategy interfaces for all of the responsibilities that must be handled by a modern request-based framework. The goal of each interface is to be simple and clear so that it’s easy for Spring MVC users to write their own implementations, if they so choose. MVC paves the way for cleaner front end code. All interfaces are tightly coupled to the Servlet API. This tight coupling to the Servlet API is seen by some as a failure on the part of the Spring developers to offer a high-level abstraction for Web-based applications. However, this coupling makes sure that the features of the Servlet API remain available to developers while offering a high abstraction framework to ease working with said API.

The DispatcherServlet class is the front controller of the framework and is responsible for delegating control to the various interfaces during the execution phases of an HTTP request.

The most important interfaces defined by Spring MVC, and their responsibilities, are Controller, HandlerAdapter, HandlerInterceptor, HandlerMapping, LocaleResolver, MultipartResolver and ViewResolver.

Each strategy interface above has an important responsibility in the overall framework. The abstractions offered by these interfaces are powerful, so to allow for a set of variations in their implementations, Spring MVC ships with implementations of all these interfaces and together offers a feature set on top of the Servlet API. However, developers and vendors are free to write other implementations.

Note
If you wish to build up your Spring MVC Framework knowledge first, check out our Spring MVC Tutorial.
Want to master Spring Framework ?
Subscribe to our newsletter and download the Spring Framework Cookbook right now!
In order to help you master the leading and innovative Java framework, we have compiled a kick-ass guide with all its major features and use cases! Besides studying them online you may download the eBook in PDF format!
I agree to the Terms and Privacy Policy

Thank you!

We will contact you soon.

Spring MVC Tutorials – Getting Started

Simple examples on how to use Spring MVC to write your first enterprise Java application

Spring MVC Tutorials – Functions

Dive into Spring MVC’s extensive collection of modules, functions, annotations and controllers

Spring MVC Tutorials – Integrations

Learn how to integrate your Spring MVC application with 3rd party frameworks, tools and services

[undereg]

Exit mobile version