12. Client-server UI components
“UI Component”
• Button, Table, Tree, ...
• Server-side data+logic
• Full Java API
HTTP(S)
“Widget”
• Client-side peer of the
component
• Runs on JavaScript
Java
Java
• Compiled with JDK
• Google Web Toolkit
14. 1. Initial HTML
2. CSS (theme)
3. Images
4. JavaScript
830k total
compress
250k
reduced
widget set
120k
33. We are still in browser,
so what about
Camera and
accelerometer?
34. Apache Cordova (PhoneGap)
•Interface between native and WebView components
•Access most of the device features
•Distribution in various app store portals
• Accelerometer
• Camera
• Compass
• Connection mode
• Contacts
• Device information
• Device events
• Notifications