How to Build and Design Mobile Enterprise Applications Chris Jobson, PM

MOB111
How to Build and Design Mobile Enterprise
Applications
Chris Jobson, PM
September 2013
Disclaimer
This presentation outlines our general product direction and should not be relied on in making a
purchase decision. This presentation is not subject to your license agreement or any other agreement
with SAP. SAP has no obligation to pursue any course of business outlined in this presentation or to
develop or release any functionality mentioned in this presentation. This presentation and SAP's
strategy and possible future developments are subject to change and may be changed by SAP at any
time for any reason without notice. This document is provided without a warranty of any kind, either
express or implied, including but not limited to, the implied warranties of merchantability, fitness for a
particular purpose, or non-infringement. SAP assumes no responsibility for errors or omissions in this
document, except if such damages were caused by SAP intentionally or grossly negligent.
© 2013 SAP AG or an SAP affiliate company. All rights reserved.
2
Agenda
Introduction: Mobile Applications
Design: Different Approaches
Build: Tools, SDKs etc.
Enterprise Requirements: Security and more
Demos
Questions & Answers
© 2013 SAP AG or an SAP affiliate company. All rights reserved.
3
Introduction
Mobile App Design and Development is a complex business
Development
tools and TCD
Device
and backend
diversity
Mobile App
Lifecycle
Management
Development
Databases
Device
choice
Ease of
use
Software
Applications
Web
Services
Apps and
more apps
IT
Security
© 2013 SAP AG or an SAP affiliate company. All rights reserved.
TCO
Device
Management
and
Configuration
5
Design…
Design – Key Considerations
What technology do I use to build the client application?
 HTML, Native, …
 Online, offline, persistence, …
 Synchronization, request/response, push …
What does this mean …
 For my backend processes and systems?
 For security and enterprise integration?
How do I manage the overall solution?
 Monitoring, reporting …
 Life cycle management
 Supportability, debugging, tracing, …
© 2013 SAP AG or an SAP affiliate company. All rights reserved.
7
Client Side
Approaches To Building Mobile Applications
On-premise
SMS
Mobile Web
Player/MDD
Native
© 2013 SAP AG or an SAP affiliate company. All rights reserved.
9
SMS
SMS or USSD based apps have largest reach of all
Capable of quite sophisticated interactions
Require backend integration into things like payment systems, loyalty frameworks, etc.
© 2013 SAP AG or an SAP affiliate company. All rights reserved.
10
SAP and SMS: SMS Builder
© 2013 SAP AG or an SAP affiliate company. All rights reserved.
11
Mobile Web
Wide eco
system
Large device
support
Primarily
online
© 2013 SAP AG or an SAP affiliate company. All rights reserved.
Browser
based
HTML5/JavaS
cript based
12
SAP and Mobile Web: SAP UI5 and Fiori
SAP UI5 based on jQuery
MVC approach
Good support for oData
© 2013 SAP AG or an SAP affiliate company. All rights reserved.
13
Demo
SAP Fiori
Player / Meta Data Driven
Rapid UI
Platform independence
Good customization capabilities
Life Cycle Management
Device reach limited to container/player availability
© 2013 SAP AG or an SAP affiliate company. All rights reserved.
15
SAP and Player/MDD: Agentry
Designer tool
Good range of solutuions
Extensible
© 2013 SAP AG or an SAP affiliate company. All rights reserved.
16
Hybrid Web
Platform independent development paradigm
Runs in a native application (container) on the device
Native device access – through plugins
Cordova
Device reach again based on container availability
© 2013 SAP AG or an SAP affiliate company. All rights reserved.
17
“Kapsel” – Cordova based HTML5 container
 Based on Cordova with SAP Plugins & Cordova
Extensions
 Web Assets lifecycle managed on the server
 Kapsel container uses plain HTTP/s REST calls to
download new versions of HTML5 app packages over the
air
 Multiple Apps can be deployed in the container
 Kapsel Apps can be fully customized by
HTML5/JavaScript
 WYSIWYG designer for UI5 applications
 Platforms Supported: iOS 5.x+, Android 2.3.3+
 Handles user registration, logon settings exchange with
Afaria (if present)
SAP Mobile Platform
Web applications are hosted on SMP3 and deployed into native web container
© 2013 SAP AG or an SAP affiliate company. All rights reserved.
18
Web apps versus hybrid web container apps
Web Application
Usability
Hybrid Web Container
Always Available
• Push Enabled
• Native Services
• Ease provisioning
Performance
Security
© 2013 SAP AG or an SAP affiliate company. All rights reserved.
19
Web apps versus hybrid web container apps
Web Application
Hybrid Web Container
Usability
Performance
Reliable Communication
• Guaranteed Delivery
• Data stored natively
• Transactional integrity
Security
© 2013 SAP AG or an SAP affiliate company. All rights reserved.
20
Web apps versus hybrid web container apps
Web Application
Hybrid Web Container
Usability
Performance
Security
Secure Sandbox
• Personal & Company use device
• Authentication
• Application password
© 2013 SAP AG or an SAP affiliate company. All rights reserved.
21
Demo
AppBuilder
Native Development
Ultimate UI and performance
Great development frameworks
Good eco system and community
Limited to target build device
Life cycle management challenges
© 2013 SAP AG or an SAP affiliate company. All rights reserved.
23
SMP – client
Native
SMP Client Core components
LCM
(Resource
provisioning)
Logging/Tracing
(with SOLMAN
support)
Kapsel
Player
Data Access Layer
Security
(Vault / AES 256bit Encryption)
Persistence
(OData Doc Cache
handling with delta
support)
Synch Support
Offline DB and
Outbound Queue
Notifications
Authentication
(SSO2 ,
Certificates)
Connectivity
© 2013 SAP AG or an SAP affiliate company. All rights reserved.
24
Demo
Native
Choice in Mobile Application Development
HTML5




Leverage web development resources
Leverage industry standard development tools & tool-chains
Easily build, support, and deploy cross platform
Great for rapid development of simple apps
Hybrid
with SAP
Mobile





Access to native device capabilities
Encrypted/secure data store
Robust data messaging layer w/guaranteed push notification
Application Lifecycle Management
Data Integration with complex SAP & non-SAP data sources
Native
 Reuse investments/assets from HTML5/Hybrid development
 Access to robust device and middleware services such as database/data object store
& replication services
 App lifecycle, deployment, and management provided by Afaria
 Great for apps requiring robust graphics, complex offline transactions
© 2013 SAP AG or an SAP affiliate company. All rights reserved.
26
Overview of Basic Approaches
Approach
Reach
Features
TCD/TCO
SMS/USSD
Mobile Web
Metadata Driven / Player
Hybrid
Native
© 2013 SAP AG or an SAP affiliate company. All rights reserved.
27
Mobility Decision Matrix (Customer Specific)
20% Web
50% Hybrid Web
30% Native
Capability Needed
Native
Hybrid Web
Web Content
Use Cases
Most Robust Apps – CRM Sales,
DSD, EAM
Medium / Lightweight Employee Productivity, etc.
Lightweight / Content-based or
Server-centric Uses – Portal, etc.
Development Effort
More Complexity
Light to Moderate Complexity
Basic Content
Development Framework
Native Tools and SDK for UI
SUP Forms Designer + Web 2.0 SDK
Web Technologies
Cost of Development
Higher due to resources and
complexity
Much less due to web development
resources and UI Generation
Varies depending on how much
mobile-optimization is required
Cross Platform Support
None – device and OS Specific
Yes – based on the supported
containers
Yes – assuming correct browser
versions
Robust Offline
Capabilities
Yes – full capabilities to store data in
customized way
Moderate- there are practical
limitations to discuss
Very limited – need to code with
HTML5 APIs for offline support
Robust Device Capabilities
Yes – full capabilities of the device
and OS
Some – dependent on the container
and the limitation of HTML5
Minimal – some techniques to control
device
Usability / User Experience
Optimal – can take advantage of full
capabilities of OS
Significant – leverages web
technologies for look and feel
Variable – dependent on connection,
network speed, web optimization
© 2013 SAP AG or an SAP affiliate company. All rights reserved.
28
End 2 End Considerations
SMP server services to build apps
Core Services
App Services
 E2E trace







 Onboarding
 Authentication / SSO
 Lifecycle management
 Usage reporting
 Performance metrics
Coupons
Payments
Geo-location
SMS services
Push
Sync/offline
Customer and partner developed
Value Add to
Administrator
Value Add to
Developer
Lean Java Server (LJS)*
*SAP’s Tomcat
© 2013 SAP AG or an SAP affiliate company. All rights reserved.
30
Integrating different backends
OData
SMP
Avatar
Non-OData JDBC
REST services
SOAP
*Avatar (Process Integration - PI) is deployed on
SMP as an OSGi bundle
OData
*Avatar and GWaaS are deployed on SMP as an OSGi bundle
© 2013 SAP AG or an SAP affiliate company. All rights reserved.
31
Enterprise Requirements
Mobile Application Management
• Business and Consumer Apps
• Devices Platforms (iOS, Android, Windows and
Windows Phone, BlackBerry, others …)
• Native/HTML5/UI Frameworks
20%
80%
© 2013 SAP AG or an SAP affiliate company. All rights reserved.
SAP Mobile Platform value-add










Authentication
Business application integration
Security – devices, data, content
Offline access and synchronization
Administration
Application versioning and lifecycle management
Push notifications
Proxy
Reporting and analytics
Multi-platform support
33
Installation and Resources
Cloud and On Premise – the same but different
Try it out!
Admin UI
Odata
Installation
Feature comparison
Runtime management and costs
Enterprise integration
© 2013 SAP AG or an SAP affiliate company. All rights reserved.
35
Demo
SMP Platform, Cloud Edition
Security
Security - everywhere
Network security (Data in the air)
Networ
k
Data security (Data at rest)
Device
© 2013 SAP AG or an SAP affiliate company. All rights reserved.
38
Management and
Administration
App Analytics
Usage reporting by:
 User
 Device type
 Application
 Vendor
 Version
 Timeframe
© 2013 SAP AG or an SAP affiliate company. All rights reserved.
40
Trace and Runtime Analysis
 Graphical display of runtimes - per app or across all
apps
 Detailed Logging and Tracing
Runtime
Analysis
Error Logs
© 2013 SAP AG or an SAP affiliate company. All rights reserved.
Detailed Trace
41
Questions & Answers
Further Information on SAP Mobile
SAP Public Web
http://wiki.sdn.sap.com/wiki/display/mobile/
http://scn.sap.com/community/mobile
http://scn.sap.com/community/developer-center/mobility-platform
SAP Education and Certification Opportunities
www.sap.com/education
Watch SAP TechEd Online
www.sapteched.com/online
© 2013 SAP AG or an SAP affiliate company. All rights reserved.
43
SAP TechEd Virtual Hands-on Workshops and SAP TechEd Online
Continue your SAP TechEd education after the event!
SAP TechEd Virtual Hands-on Workshops
SAP TechEd Online
 Access hands-on workshops post-event
 Available January – March 2014
 Complementary with your SAP TechEd registration
 Access replays of keynotes, Demo Jam, SAP TechEd
LIVE interviews, select lecture sessions, and more!
 View content only available online
http://saptechedhandson.sap.com/
© 2013 SAP AG or an SAP affiliate company. All rights reserved.
http://sapteched.com/online
44
Feedback
Please complete your session evaluation for MOB111.
Chris Jobson – [email protected]
Thanks for attending this SAP TechEd session.
© 2013 SAP AG or an SAP affiliate company. All rights reserved.
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG.
The information contained herein may be changed without prior notice.
Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.
National product specifications may vary.
These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and
SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth
in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.
SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and
other countries.
Please see http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.
© 2013 SAP AG or an SAP affiliate company. All rights reserved.
46