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
51
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
130
Automatisieren mit Ansible
simono
1
480
Virtuelle Umgebungen mit Vagrant, Docker und Ansible (c4tt)
simono
0
290
Virtuelle Umgebungen mit Vagrant, Docker und Ansible (enterJS)
simono
2
620
Frischer Wind für die JVM – sechs Programmiersprachen im Vergleich (JavaLand)
simono
2
550
Git, Mercurial und Bazaar im Vergleich
simono
1
360
Object-Relational Programming
simono
2
98
Other Decks in Technology
See All in Technology
データエンジニアがこの先生きのこるには...?
10xinc
0
430
AIAgentの限界を超え、 現場を動かすWorkflowAgentの設計と実践
miyatakoji
0
110
ユニットテストに対する考え方の変遷 / Everyone should watch his live coding
mdstoy
0
110
実装で解き明かす並行処理の歴史
zozotech
PRO
1
260
コンテキストエンジニアリングとは? 考え方と応用方法
findy_eventslides
4
870
生成AIを活用したZennの取り組み事例
ryosukeigarashi
0
190
「AI駆動PO」を考えてみる - 作る速さから価値のスループットへ:検査・適応で未来を開発 / AI-driven product owner. scrummat2025
yosuke_nagai
1
480
Goを使ってTDDを体験しよう!
chiroruxx
1
250
【新卒研修資料】LLM・生成AI研修 / Large Language Model・Generative AI
brainpadpr
23
16k
関係性が駆動するアジャイル──GPTに人格を与えたら、対話を通してふりかえりを習慣化できた話
mhlyc
0
130
SoccerNet GSRの紹介と技術応用:選手視点映像を提供するサッカー作戦盤ツール
mixi_engineers
PRO
1
160
多野優介
tanoyusuke
1
170
Featured
See All Featured
Producing Creativity
orderedlist
PRO
347
40k
Visualization
eitanlees
148
16k
Embracing the Ebb and Flow
colly
88
4.8k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.2k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.7k
For a Future-Friendly Web
brad_frost
180
9.9k
The Cost Of JavaScript in 2023
addyosmani
53
9k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
It's Worth the Effort
3n
187
28k
Unsuck your backbone
ammeep
671
58k
Balancing Empowerment & Direction
lara
4
670
Site-Speed That Sticks
csswizardry
11
870
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