Today, users want apps in the browser, on their desktop, phone, tablet, and TV. Reusing code across all of these devices is now crucial for developers. By combining Flex for the UI with Spring and Hibernate for the back-end, developers can build apps that work on a variety of devices including PCs, Android phones / tablets, the BlackBerry PlayBook tablet, iPhones, and iPads. This session will walk developers through the steps for creating these cross-device apps with Flex and Java.
2. Native Apps and Web Apps - GALORE! Native App Native App Native App Native App Web App Web App Desktop OSs Desktop Browsers Android Blackberry iOS Mobile Browsers
3. One Tool, One Language, One Codebase Any Platform Flex Application AIR Flash Player Goal of the Flash Platform Desktop OSs Desktop Browsers Android Blackberry iOS Mobile Browsers
8. Shared codebase and porting with Flash PlayerGeo-Location SQLite Application Update Framework Application Lifecycle .AIR File format for multi-screen applications Enhanced Application Security model Marketplace Distribution Mobile Hardware Softkey Support File-System Access (if allowed) MediaLibrary API Native Extensibility ActionScript3 Support Memory, battery & CPU optimizations Audio/Video hardware decoding Optimized SWF management Multi-touch and Gestures Hardware Acceleration Mobile Text input
10. Deploying AIR Mobile Applications App.apk Android Market Android Device App.air App.ipk iTunes App Store iOS Device App.bar BlackBerry App World RIM Device
11. How Flex Works Adobe AIR RTMP/S AMF/S HTTP/S SOAP .swf .swf Flex Builder IDE Browser MXML and ActionScript Flash Player Flex SDK MXML ActionScript Flex Class Library Web Server Compile XML/HTTP REST SOAP Web Services J2EE Application Server BlazeDS or LC Data Services Existing Applications and Infrastructure
19. Flex with Java via Messaging 16 Messaging System X Adapter X JMS Provider JMS Adapter Messaging System Y Adapter Y App Server BlazeDS Message Service Endpoint AMF Publisher Subscriber
21. Putting it All Together - SnapIt Live! 18 Tomcat 7 with Spring and BlazeDS AIR App DB Take picture PhotoService.addPhoto(picture) Hibernate (AMF Remoting) Web App PictureUpdates Message Service New pictures (AMF Messaging) Desktop App New pictures (AMF Messaging) Spring Integration System Notification www.snapitlive.com