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
150
Work harder not smarter
meistermeier
0
130
Better Testing with Testcontainers
meistermeier
0
100
What the Graph?
meistermeier
1
1.3k
Beziehungsmanagement mit Spring Data Neo4j
meistermeier
1
85
Time to Graph Up with Spring Data Neo4j
meistermeier
1
1.5k
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
Rust 製のコードエディタ “Zed” を使ってみた
nearme_tech
PRO
0
150
SourceGeneratorのススメ
htkym
0
190
[KNOTS 2026登壇資料]AIで拡張‧交差する プロダクト開発のプロセス および携わるメンバーの役割
hisatake
0
250
インターン生でもAuth0で認証基盤刷新が出来るのか
taku271
0
190
生成AIを使ったコードレビューで定性的に品質カバー
chiilog
1
250
React 19でつくる「気持ちいいUI」- 楽観的UIのすすめ
himorishige
11
6k
Automatic Grammar Agreementと Markdown Extended Attributes について
kishikawakatsumi
0
180
高速開発のためのコード整理術
sutetotanuki
1
390
MDN Web Docs に日本語翻訳でコントリビュート
ohmori_yusuke
0
640
Data-Centric Kaggle
isax1015
2
770
AgentCoreとHuman in the Loop
har1101
5
230
Package Management Learnings from Homebrew
mikemcquaid
0
210
Featured
See All Featured
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
1.9k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
200
The Limits of Empathy - UXLibs8
cassininazir
1
210
Optimizing for Happiness
mojombo
379
71k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.6k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
160
HDC tutorial
michielstock
1
360
Abbi's Birthday
coloredviolet
1
4.7k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
150
Raft: Consensus for Rubyists
vanstee
141
7.3k
How Software Deployment tools have changed in the past 20 years
geshan
0
32k
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/