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?
- [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,…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
(Locked)
Why use Spring MVC?3m 42s
-
(Locked)
Features of Spring MVC3m 40s
-
(Locked)
Spring MVC architecture2m 7s
-
(Locked)
Create Maven Spring MVC project3m 25s
-
(Locked)
Add folders and static files2m 27s
-
(Locked)
Java configuration for Spring MVC10m 9s
-
(Locked)
Add controllers and test the application4m 59s
-
(Locked)
Generate Spring MVC project with Spring Boot5m 13s
-
(Locked)
Add static files and view resolver5m 3s
-
(Locked)
Add controllers and test the application7m 14s
-
(Locked)
-
-
-
-
-
-
-
-