Join Shonna Smith for an in-depth discussion in this video Java-based web config, part of Spring: Spring MVC (2018).
- [Instructor] Up to now we've accepted…a lot of default configuration options,…but I want you to recall our architectural stack.…We're about to add…some final application configuration touches…so we can start to make this app…feel more like a real-world scenario.…So recall that by default,…our application Spring beans…are loaded into a single root application context…and right now we have a single default dispatcher servlet…handling all requests.…
But let's imagine this scenario that we brought up before.…We want to get closer to the picture…where we have a root application context…and then two separate dispatcher servlets to handle requests…for the two major parts of our application.…So imagine it as having a dispatcher servlet…for our main controllers…and then let's say we're adding a REST API…and we want to have a separate dispatcher servlet…to handle the request for all of the REST controllers.…
Here's an example of how a web application configuration…used to be done in a web.xml file.…This picture reflects a default scenario…
- Using Spring MVC for web projects
- Spring MVC controllers
- Creating controllers and views
- Spring MVC models
- Creating the model
- Request mapping
- Spring MVC views
- Custom app configuration
Skill Level Intermediate
1. Using Spring MVC for Web Projects
2. Spring MVC Controllers
3. Spring MVC Models
4. Spring MVC Views
5. Custom App Configuration
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.