280 likes | 532 Views
Developing Mobile iOS and Android Applications with Java. Shay Shmeltzer Sr. Group Manager, Oracle Development Tools. Global Installed Base: PCs vs Mobile Devices. Which Platform?. iOS and Android - Two leaders - no clear winner. Three Types of Mobile Apps Architecture. Native.
E N D
Developing MobileiOS and Android Applications with Java Shay ShmeltzerSr. Group Manager, Oracle Development Tools
Which Platform? iOS and Android - Two leaders - no clear winner
Three Types of Mobile Apps Architecture Native • What type of application are you building? • Which device are you targeting? • What network are you using? • Which device feature do you leverage? • What is your end-users profile? • One size does not fit all Hybrid User Experience Web Portability
The Java Developer Challenges • How to use my skills in this new world? • Do I need to learn new language? • Do I need to learn a new IDE? • What about my existing code? • Am I becoming extinct?
Oracle ADF Mobile New Hybrid Mobile Solution Oracle ADF Mobile Java HTML5 Built On Standards Built On Standards Use Existing Skills Set Use Existing Skills Set
ADF Mobile Overview • Thin Native container on each platform • Allows for native application install • Allows for device interaction • Push notification support • HTML5/JavaScript based Frontend • Java Backend • Encrypted SQLite
Business Services Development • Code logic with Java • Lightweight JVM • Native library on device • Easy access to remote services • SOAP • REST (JSON/XML)
UI Development • Device native user experience • Spring board and tab bar for feature navigation • Advanced HTML5-based UI • Full animation, gesture, and touch interaction support • Interactive Data Visualization Components
UI Content options • Local AMX File • JSF-like file built visually in JDeveloper • Generated into HTML/JS on device at RT • Remote URL • Any server-side HTML • Local HTML File • Coded with any third-party HTML5 frameworks
ADF Mobile XML Components (AMX) • XML format built visually in JDeveloper • 50+ Components • Similar to JSF/Swing • Declarative data binding • Rendered into HTML5on device at RT
ADF Controller • Define the flow of your application • Navigate between pages and methods • Similar to JSF Controller • Extended with methods, routers • Java code for UI events and managed beans
ADF Binding – Simplify UI Creation • Drag and drop service components to create UI components • Drag data or methods • Drop as various UI components • Data Controls: • Java Class • SOAP Services • REST XML Services
Device Features Interaction • Leverages Apache Cordova • Drag and drop to use • Email • SMS • Contacts • GPS • Camera • Or access programmatically
Native Push Notification Support • Push notifications to mobile users from a single code base • Leverage native push notification • iOS: Apple Push Notification • Android: Google Cloud Messaging Service • Tightly integrated • With the application lifecycle and business logic
Access and Security • Authentication: • Out of the box integration with Oracle IDM • Offline authentication • Single login across Features • Access Control: • Role based access • Encryption: • Credential store • Local data • Communication channels
Focus On Reusability • Feature • Self contained module • Separate ClassLoader & WebView • Integrated with JDev Resource Catalogue • Accessed from Springboard or Nav-bar • Application’s building blocks • Application • Base for other applications • Configurable distribution
Integrated Development Environment • Oracle JDeveloper Extension • Declarative and visual development • Integration with Apple Xcode and Android SDK • Consistent tooling • Component based UI construction • Task Flows • Data Controls • Packaging • Deployment • Debugging • Focused on Productivity
ADF Mobile Architecture Device Native Container Configuration Server Web View Credential Management,SSO & Access Control App Config HTML5 & JavaScript Presentation Server HTML ADF Mobile AMX View Local HTML Server-Generated HTML ADF Controller PushHandler APN/GCM Push Services Java VM Business Logic JDBC SOAP & REST Services Cordova SQLite ADF Model Mobile Device Device Services Server Encrypted SQLite DB
Summary • Oracle ADF Mobile – On-Device iOS and Android Applications • Abstract Complexity and Simplify Development • Reuse your Java & development skills • Learn More: http://oracle.com/mobile
Join the JDeveloper/ADF Community Twittertwitter.com/JDeveloper Facebookfacebook.com/JDeveloper ADF Mobile blogblogs.oracle.com/ mobile oracle.com/mobile
The preceding is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract.It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.