Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Spring MVC
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Gerrit Meier
September 11, 2014
Programming
220
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Spring MVC
Spring MVC as a part of the Spring ecosystem.
Gerrit Meier
September 11, 2014
More Decks by Gerrit Meier
See All by Gerrit Meier
Neo4j for Java developers
meistermeier
1
180
Work harder not smarter
meistermeier
0
140
Better Testing with Testcontainers
meistermeier
0
140
What the Graph?
meistermeier
1
1.4k
Beziehungsmanagement mit Spring Data Neo4j
meistermeier
1
90
Time to Graph Up with Spring Data Neo4j
meistermeier
1
1.6k
Thymeleaf - Eine Template-Engine für Entwickler und Designer
meistermeier
0
710
Wie soll man das denn nutzen? - Spring REST Docs
meistermeier
0
200
MVC 1.0
meistermeier
0
150
Other Decks in Programming
See All in Programming
No More NoSuchMethodError
exoego
1
120
Event is what happens
moro
2
1.7k
조합이폭발하는디자인시스템이걸눈으로도테스트하라고요
giljongyu
0
620
AI主導のプログラミング学習アプリを作ってみた
econanringo
0
200
golang-bob.pdf
iwatsukayura
0
140
Seven New Principles of Software Engineering
yegor256
0
350
Kotlinの15年とServer-Side Kotlin
n_takehata
1
170
dotNET_vulnclicker_intro.pdf
deka_morita
0
150
PyConTW 2026 - AI Coding 不只是工具升級, 區域醫院醫療資訊系統協作開發與資訊團隊轉型實踐
cclai999
0
210
AI時代のシニアエンジニアとは
yosuke_furukawa
PRO
12
10k
AI時代のFlutter品質設計 — アプリ品質を守るQuality Layers
omatty198
0
220
Lambda durable functionsでHuman in the Loopを楽に…楽に……
har1101
2
210
Featured
See All Featured
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.8k
Done Done
chrislema
187
17k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
580
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.2k
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
270
Test your architecture with Archunit
thirion
2
2.5k
Designing for Performance
lara
612
70k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
540
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
Docker and Python
trallard
47
4.2k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
460
Transcript
Spring MVC
Gerrit Meier T-Systems on site services GmbH @meistermeier +GerritMeier
Spring
Context Data Social Integration … WebMVC
Context Data Social Integration … WebMVC
Spring Context
Context Tourist sleep fun transport take my money
Context Tourist sleep fun transport take my money Hotel ThemePark
ShoppingMall Shuttle
Context Tourist sleep fun transport take my money Camping WalkInThePark
GarageSale Bike
Context Demo
Spring Data
Data http://
Data Demo
Spring MVC
DispatcherServlet Controller View(Template) WebMVC request response delegate render response rendered
response attach data
DispatcherServlet Controller View(Template) WebMVC request response delegate attach data render
response rendered response
DispatcherServlet Controller View(Template) WebMVC request response delegate render response rendered
response attach data
DispatcherServlet Controller View(Template) WebMVC request response delegate render response rendered
response attach data model
WebMVC @Controller public class UserController { ! @RequestMapping("/users") public String
listUsers() { […] return "viewName"; } } http://server/myApp/users
WebMVC @Controller @RequestMapping("/users") public class UserController { ! @RequestMapping public
String listUsers() { […] return "viewName"; } } http://server/myApp/users
WebMVC @Controller public class UserController { ! @RequestMapping("/users") public String
listUsers( @RequestParam("filter") String filter) { […] return "viewName"; } } http://server/myApp/users?filter=hans
WebMVC @RequestMapping( value = "/users/{id}") public String showUser( @PathVariable("id") Long
id){ […] return "viewName"; } http://server/myApp/users/1
WebMVC @RequestMapping( value = "/users/{id}", method = RequestMethod.GET) public String
showUser( @PathVariable("id") Long id){ […] return "viewName"; } http://server/myApp/users/1
WebMVC @RequestMapping(method = RequestMethod.POST) public String save(…) { […] return
"viewName"; } POST http://server/myApp/users
WebMVC @RequestMapping(method = RequestMethod.POST) public String save( @Valid User user,
BindingResult bindingResult) { […] return "viewName"; } POST http://server/myApp/users
WebMVC Accept: text/html ! ! ! ! ! Accept: application/json
/users { users: [ {name: “Hans“} ] } User List ! - Hans http://…
https://www.flickr.com/photos/roshanyadama/11915951346 https://creativecommons.org/licenses/by/2.0/
WebMVC https://www.flickr.com/photos/mistermoss/3134331944 https://creativecommons.org/licenses/by/2.0/
WebMVC
WebMVC https://www.flickr.com/photos/bilal-kamoon/6835060992 https://creativecommons.org/licenses/by/2.0/