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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
130
What the Graph?
meistermeier
1
1.4k
Beziehungsmanagement mit Spring Data Neo4j
meistermeier
1
89
Time to Graph Up with Spring Data Neo4j
meistermeier
1
1.6k
Thymeleaf - Eine Template-Engine für Entwickler und Designer
meistermeier
0
690
Wie soll man das denn nutzen? - Spring REST Docs
meistermeier
0
190
MVC 1.0
meistermeier
0
150
Other Decks in Programming
See All in Programming
AWS DevOps AgentのAzure接続機能を検証して見えた活用法/Use Cases Verified for the AWS DevOps Agent's Azure Connectivity Feature
masakiokuda
1
210
PHPだって関数型したい 〜できること、できないこと〜 / fp-in-php
jsoizo
1
270
Detecting Compromised CI with eBPF and Cilium Tetragon
lizrice
0
130
Prismを使った型安全な暗号化_関数型まつり2026
_fhhmm
0
170
AI時代、エンジニアはどう育つのか -未経験エンジニアの成長を間近で見て考えたこと-
thasu0123
0
210
【SRE NEXT 2026 Lunch Session】一人目専任SREの立ち上げを加速する ― AIと進めたオンボーディングで2分を0.04秒にした話
pkshadeck
PRO
0
3.5k
その節約、円になってますか?
isamumumu
1
680
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
510
php-fpmのプロセスが枯渇した日-調査・対処・そして本当にやるべきだったこと-
shibuchaaaan
0
210
yield再入門 #phpcon
o0h
PRO
0
930
ドリフトを絶対に許さない(?)CDK運用 / CDK Ops with Zero Tolerance for Drifts (?)
akihisaikeda
1
170
AIエージェントで 変わるAndroid開発環境
takahirom
2
770
Featured
See All Featured
The Mindset for Success: Future Career Progression
greggifford
PRO
0
440
Leo the Paperboy
mayatellez
8
2.1k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
45k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.4k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.2k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
320
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
330
Between Models and Reality
mayunak
4
380
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
250
WCS-LA-2024
lcolladotor
0
790
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.2k
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/