From the course: Spring: Spring MVC

Unlock the full course today

Join today to access over 22,700 courses taught by industry experts or purchase this course individually.

Why use Spring MVC?

Why use Spring MVC?

From the course: Spring: Spring MVC

Start my 1-month free trial

Why use Spring MVC?

- [Instructor] So, let's understand what is Spring MVC? It is a web-based framework for doing web application development. It is one of the projects of the Spring Framework. As the name suggests, it is based on MVC design pattern, which is Model, View, and Controller. So, how does that work? So, let's say you have a view where the request comes from. That request is going to be intercepted by a component called controller. The controller is going to do the necessary application logic, and then there's model, which will hold the data of all your application flows. This data from the model can then be displayed back as response to the browser, which is the view, again. So, when you talk about Spring MVC, these definitions are pretty much the same. Views are JavaServer pages, JSBs, where you're going to have the content displayed in the browser. Then you have models, which are nothing but domain objects, or JavaBeans,…

Contents