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
Schnelleinstieg Javaserver Faces
Search
Simon Olofsson
April 29, 2013
Technology
1
62
Schnelleinstieg Javaserver Faces
Kurze Präsentation zu Javaserver Faces.
Simon Olofsson
April 29, 2013
Tweet
Share
More Decks by Simon Olofsson
See All by Simon Olofsson
Frischer Wind für die JVM – sechs Programmiersprachen im Vergleich (Developer World)
simono
0
140
Automatisieren mit Ansible
simono
1
490
Virtuelle Umgebungen mit Vagrant, Docker und Ansible (c4tt)
simono
0
300
Virtuelle Umgebungen mit Vagrant, Docker und Ansible (enterJS)
simono
2
630
Frischer Wind für die JVM – sechs Programmiersprachen im Vergleich (JavaLand)
simono
2
550
Git, Mercurial und Bazaar im Vergleich
simono
1
370
Object-Relational Programming
simono
2
110
Other Decks in Technology
See All in Technology
us-east-1 に障害が起きた時に、 ap-northeast-1 にどんな影響があるか 説明できるようになろう!
miu_crescent
PRO
13
4.3k
Go標準パッケージのI/O処理をながめる
matumoto
0
200
銀行の内製開発にて2つのプロダクトを1つのチームでスクラムしてみてる話
koba1210
1
120
楽しく学ぼう!ネットワーク入門
shotashiratori
1
270
身体を持ったパーソナルAIエージェントの 可能性を探る開発
yokomachi
1
120
vLLM Community Meetup Tokyo #3 オープニングトーク
jpishikawa
0
350
AI時代の「本当の」ハイブリッドクラウド — エージェントが実現した、あの頃の夢
ebibibi
0
120
VPCエンドポイント意外とお金かかるなぁ。せや、共有したろ!
tommy0124
0
510
タスク管理も1on1も、もう「管理」じゃない ― KiroとBedrock AgentCoreで変わった"判断の仕事"
yusukeshimizu
5
2.6k
Claude Codeが爆速進化してプラグイン追従がつらいので半自動化した話 ver.2
rfdnxbro
0
530
AIエージェント時代に備える AWS Organizations とアカウント設計
kossykinto
3
940
AWSの資格って役に立つの?
tk3fftk
2
330
Featured
See All Featured
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
110
The untapped power of vector embeddings
frankvandijk
2
1.6k
Prompt Engineering for Job Search
mfonobong
0
180
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
150
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.3k
Ethics towards AI in product and experience design
skipperchong
2
220
How GitHub (no longer) Works
holman
316
140k
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.8k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
270
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
310
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Code Review Best Practice
trishagee
74
20k
Transcript
Javaserver Faces April 2013, Peter Melms und Simon Olofsson
Model View Controller Javaserver Faces • MVC-Framework zur Entwicklung von
grafischen Webapplikationen • basiert auf der Servlet- API und Facelets
Geschichte 2004: Version 1.0 (JSR 127) 2006: Version 1.2 (JSR
252) 2009: Version 2.0 (JSR 314) 2013: Version 2.2 (JSR 344)
Search http://example.com Web Page Title Your Name Select a date
30 3 29 1 2 31 28 24 21 23 25 27 26 22 20 18 14 17 19 16 15 12 9 11 8 7 10 13 S 6 F 5 T 4 W 3 T 2 1 M 30 S Select Today December 2008 Birthday Register or Cancel Sign Up! Komponenten • Komponenten: die Elemente einer Benutzeroberfläche • hierarchisch organisiert (Baumstruktur)
Java- Beans JSF- Komponenten- baum FacesServlet EL Validierung & Aktualisierung
Auswahl Architektur • Controller: FacesServlet • View: Baum mit JSF- Komponenten • Model: vom Container verwaltete Java-Beans
Restore View Apply Request Parameters Process Validations Update Model Values
Invoke Application Render Response Request Response Lebenszyklus
Bean Scopes Request View Session Application None
The Bad Parts • Abstraktion verdeckt den Request-Response-Zyklus und erschwert
das Debugging • generierter Code macht Anpassungen aufwendiger