Diana antohi me against myself or how to fail and move forward
Dan Vulpe - JavaFX 2 - Developing RIA with Java
1. 2
Developing RIA with Java
Dan Vulpe
Software Engineer
Centric
@dvulpe
dvulpe@gmail.com
2. History
Apr 2012 Aug 2012
JavaFX JavaFX
Oct 2011 2.1 2.2
JavaFX LCD text Canvas
2.0 UI elements UI elements
Dec 2008 Apr 2010
Java API Video h264 Touch events
JavaFX 1.0 JavaFX 1.3 Windows Mac Linux
3. Scene graph design
Scene
Parent
Parent Parent Parent
Leaf Leaf Leaf Leaf Leaf
4. Scene graph design
Scene
Parent
Parent Parent Parent
Leaf Leaf Leaf Leaf Leaf
5. Nodes have Properties
• parent
• scene
• translate (X,Y, Z)
• scale (X,Y, Z)
• opacity
• ... see JavaDoc for javafx.scene.Node
17. GUI components
External Sends Actions To
Business
Services Presenter View
Logic
Client
Updates Binds To
Application
State Model
Core UI
18. JavaFX approach
External Business Sends Actions To
Services Logic Presenter View
Client
Updates Binds To
Application
State
Model
Core UI
19. JavaFX approach
External Business Sends Actions To
Services Logic Presenter View
Client
Updates Binds To
Application
State
Model
Core UI
Async
Services
20. JavaFX approach
External Business Sends Actions To
Services Logic Presenter View
Client
Updates Binds To
Application
State
Model
Core UI
Async
Services
21. JavaFX approach
Use
Case 1
External Business Sends Actions To
Services Logic Presenter View
Client
Updates Binds To
Application
State
Model
Core UI
Async
Services
22. JavaFX approach
Use
Case 1
External Business Use Sends Actions To
Services Logic Case 2 Presenter View
Client
Updates Binds To
Application
State
Model
Core UI
Async
Services
23. JavaFX approach
Use
Case 1
External Business Use Sends Actions To
Services Logic Case 2 Presenter View
Client
Use
Case 3 Updates Binds To
Application
State
Model
Core UI
Async
Services
24. JavaFX approach
Use
Case 1
External Business Use Sends Actions To
Services Logic Case 2 Presenter View
Client
Use
Case 3 Updates Binds To
Application
State
Model
Use
Case N
Core UI
Async
Services