Spring MVC

Spring MVC is a framework for building web application in java. It is based on Model-View-Controller design pattern.

Image result for spring mvc
This is how Spring MVC will process a web request

Front Controller delegates the requests to the controller
Controller contains the business logic
1. Handle the request
2. Store/retrieve data
3. Place data in model
And finally, send it to the appropriate view template

Benefits of Spring MVC

  1. Reusable UI Components
  2. Flexible configuration
  3. processes form data
  4. Helps manage application state for web requests

Leave a comment

Design a site like this with WordPress.com
Get started