Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Spring MVC
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Gerrit Meier
September 11, 2014
Programming
1
210
Spring MVC
Spring MVC as a part of the Spring ecosystem.
Gerrit Meier
September 11, 2014
Tweet
Share
More Decks by Gerrit Meier
See All by Gerrit Meier
Neo4j for Java developers
meistermeier
1
160
Work harder not smarter
meistermeier
0
130
Better Testing with Testcontainers
meistermeier
0
110
What the Graph?
meistermeier
1
1.4k
Beziehungsmanagement mit Spring Data Neo4j
meistermeier
1
85
Time to Graph Up with Spring Data Neo4j
meistermeier
1
1.6k
Thymeleaf - Eine Template-Engine für Entwickler und Designer
meistermeier
0
670
Wie soll man das denn nutzen? - Spring REST Docs
meistermeier
0
180
MVC 1.0
meistermeier
0
150
Other Decks in Programming
See All in Programming
ふつうのRubyist、ちいさなデバイス、大きな一年 / Ordinary Rubyists, Tiny Devices, Big Year
chobishiba
1
480
仕様漏れ実装漏れをなくすトレーサビリティAI基盤のご紹介
orgachem
PRO
7
2.8k
GC言語のWasm化とComponent Modelサポートの実践と課題 - Scalaの場合
tanishiking
0
120
ロボットのための工場に灯りは要らない
watany
11
3k
nuget-server - あなたが必要だったNuGetサーバー
kekyo
PRO
0
360
CSC307 Lecture 14
javiergs
PRO
0
480
RAGでハマりがちな"Excelの罠"を、データの構造化で突破する
harumiweb
9
3k
Claude Code Skill入門
mayahoney
0
410
PHPのバージョンアップ時にも役立ったAST(2026年版)
matsuo_atsushi
0
210
Codex CLIのSubagentsによる並列API実装 / Parallel API Implementation with Codex CLI Subagents
takatty
1
120
new(1.26) ← これすき / kamakura.go #8
utgwkk
0
2.6k
Fundamentals of Software Engineering In the Age of AI
therealdanvega
2
280
Featured
See All Featured
Code Reviewing Like a Champion
maltzj
528
40k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
The Spectacular Lies of Maps
axbom
PRO
1
630
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
160
The Cost Of JavaScript in 2023
addyosmani
55
9.8k
Building the Perfect Custom Keyboard
takai
2
720
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
140
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.6k
New Earth Scene 8
popppiees
1
1.8k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
210
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
84
Agile that works and the tools we love
rasmusluckow
331
21k
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/