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
46
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
120
Automatisieren mit Ansible
simono
1
470
Virtuelle Umgebungen mit Vagrant, Docker und Ansible (c4tt)
simono
0
280
Virtuelle Umgebungen mit Vagrant, Docker und Ansible (enterJS)
simono
2
610
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
92
Other Decks in Technology
See All in Technology
SRE with AI:実践から学ぶ、運用課題解決と未来への展望
yoshiiryo1
1
670
AWS Well-Architected から考えるオブザーバビリティの勘所 / Considering the Essentials of Observability from AWS Well-Architected
sms_tech
1
810
なぜAI時代に 「イベント」を中心に考えるのか? / Why focus on "events" in the age of AI?
ytake
0
110
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.2k
20250719_JAWS_kobe
takuyay0ne
1
160
Shadow DOM & Security - Exploring the boundary between light and shadow
masatokinugawa
0
640
20250718_ITSurf_“Bet AI”を支える文化とコストマネジメント
helosshi
1
180
ゼロから始めるSREの事業貢献 - 生成AI時代のSRE成長戦略と実践 / Starting SRE from Day One
shinyorke
PRO
0
210
PdM業務における使い分け
shinshiro
0
480
組織内、組織間の資産保護に必要なアイデンティティ基盤と関連技術の最新動向
fujie
0
490
LLM拡張解体新書/llm-extension-deep-dive
oracle4engineer
PRO
27
7.9k
Ktor + Google Cloud Tasks/PubSub におけるOTel Messaging計装の実践
sansantech
PRO
1
200
Featured
See All Featured
Automating Front-end Workflow
addyosmani
1370
200k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
Producing Creativity
orderedlist
PRO
346
40k
Side Projects
sachag
455
43k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
760
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
50
5.5k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
How to train your dragon (web standard)
notwaldorf
96
6.1k
BBQ
matthewcrist
89
9.7k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.4k
Speed Design
sergeychernyshev
32
1k
For a Future-Friendly Web
brad_frost
179
9.8k
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