View
847
Download
1
Tags:
Embed Size (px)
copy 2014 IBM Corporation 1
Develop Mobile amp Internet-Connected Apps With DB2 and Informix
June 04 2014
Presented by
Jef Treece and Shawn Moe
copy 2014 IBM Corporation 2
1 The presentation for this Tech Talk
bitlyttfile2014jun
2 Next steps and troubleshooting guide
click ldquoAttachmentsldquo in this webcast window
A few details hellip
Jef Treece Informix Product Manager
Todayrsquos Technical Presenters
DB2 Tech Talk series host and todayrsquos presenters
Rick Swagerman Host
DB2 Language Architect
Shawn Moe Software Architect
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 3
Disclaimer
The information contained in this presentation is provided for informational purposes only
While efforts were made to verify the completeness and accuracy of the information contained in this presentation it is provided ldquoas isrdquo without warranty of any kind express or implied
In addition this information is based on IBMrsquos current product plans and strategy which are subject to change by IBM without notice
IBM shall not be responsible for any damages arising out of the use of or otherwise related to this presentation or any other documentation
Nothing contained in this presentation is intended to or shall have the effect of
bull Creating any warranty or representation from IBM (or its affiliates or its or their suppliers andor licensors) or
bull Altering the terms and conditions of the applicable license agreement governing the use of IBM software
Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment The actual throughput or performance that any user will experience will vary depending upon many factors including considerations such as the amount of multiprogramming in the users job stream the IO configuration the storage configuration and the workload processed Therefore no assurance can be given that an individual user will achieve results similar to those stated here
Need webcast troubleshooting help Click attachments
BLU ndash Cognos Demo bitlydemoblu-cognos
copy 2014 IBM Corporation
Agenda
Internet of Things and Mobile Intro - Jef Treece
Some Implementation Details ndash Shawn Moe
ndash Where we are coming fromhellip
ndash Dojo Mobile Toolkit
ndash Cloudant
ndash Bluemix
ndash WorkLight
ndash Genero Mobile
4 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Data Cloud Engagement
New business models are placing demands on mobile and data apps
A systematic approach to
engagement is now
required
Cloud demands ndash and
enables ndash new business
models
Data is the new
basis of competitive
advantage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 5
copy 2014 IBM Corporation
Social Media
Cloud Computing
Mobile
How long will
users wait
Internet of Things
Define real-time please
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 6
copy 2014 IBM Corporation
Key trends motivating mobile application developers
Supporting the business trends ndash more interactions
In 2013 smartphones overtook non-smart phones globally (gt50) ndash mind-share of non-mobile is dwindling ndash ability to ldquoeat your own dog foodrdquo
Android + iOS now make up well over 90 of smartphone sales ndash consolidation ndash capture broader base with fewer ports
The app market was worth $70 billion in 2013 expected to double by 2016 ndash developer interest in a growing market for making $$
Android now mandatory ndash itrsquos only a matter of priority which one to do first ndash 70 of developers that target mobile create apps for Android ndash the market is now flooded with Android platforms ndash easy to obtain
Tablet users grew by 3x from 2011 to 2014 (US ndash 90 million 2014) ndash widespread use is replacing desktop and laptop as primary platform
Internet-of-things goes hand-in-hand with mobile ndash access devices and data from everywhere ndash end users now expect a mobile app to access the ldquothingsrdquo
NoSQL Market
$14 billion 2013-2018
Digital Ads
Fraud Detection
Mobile
Market Analysis
Pricing
Billing
Customer Loyalty
Documents
Data requirements also changing
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 7
copy 2014 IBM Corporation Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 8
copy 2014 IBM Corporation
Some general approaches to mobile app development
Mobile web sites (HTML CSS PHP and other standards with mobile device detection) ndash lowest on the UX scale with network-dependent performance ndash lowest on the NX scale no access to device features
Mobile web applications (typically HTML5 JavaScript and other standards) ndash more modern version of web apps which leverage devices better decent UX ndash typically moderate dependency on network ndash connected-mode ndash can be designed to work without mods on wide range of devices
Cross-platform frameworks (write once run everywhere) ndash cross-compilation produce complete native apps from common code base
Hybrid ndash special case of cross-platform ndash HTML wrapped in a native container install app on the device in a standard way ndash typically supports some level of disconnected-mode
Native applications ndash developer kit for the device ndash tools IDEs ndash separate code lines per devices but best UX and NX
UX = User Experience
NX = Native Experience
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 9
copy 2014 IBM Corporation
What are some key developer tools and languages for mobile
bull Demand for Python Java and Javascript remains strong bull ASPNET and C decreasing bull Objective C demand almost double that of Android bull RESTful APIs in demand bull Limitations of unstructured databases are driving requirements for hybrid SQLNoSQL solution
for speed simplicity and flexibility
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 10
copy 2014 IBM Corporation
Our world is getting smarter
Digital technologies (sensors and other monitoring instruments) are being
embedded into every object system and process
All the data generated by digital technology is providing intelligence
to help us do things better improving our responsiveness and our ability to predict and
optimize for future events
INTELLIGENT
INSTRUMENTED
INTERCONNECTED
In the globalized networked world people systems
objects and processes are connected and they
are communicating with one another in entirely new ways
Internet of Things solutions implement the three basic principles Instrumented Interconnected and Intelligent systems of Smarter Planet
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 11
copy 2014 IBM Corporation
ldquoConnected Liferdquo forecast $45T in 2020
Connected Life is everything that is connected and how they interact cars mobile devices buildings sensors and people
Top Ten in 2020 1 Connected Car $600 billion 2 Clinical Remote Monitoring $350 billion 3 Assisted Living $270 billion 4 Home and Building Security $250 billion 5 Pay-As-You-Drive Car Insurance $245 billion 6 New Business Models for Car Usage $225 billion 7 Smart Meters $105 billion 8 Traffic Management $100 billion 9 Electric Vehicle Charging $75 billion 10 Building Automation $40 billion
NY Times A Messenger for the Internet of Things
Wall Street Journal IBM Tackles Machine to Machine Big Data Deluge
Sourcehttpwwwglobaltelecomsbusinesscomarticle2985699Connected-devices-will-be-worth-45thtml
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 12
copy 2014 IBM Corporation
Nexus mobile devices and IoT
Explosion of mobile has created new opportunities for IoT
Explosion of IoT has created new demand for mobile
Past Present Future
Proprietary and special-purpose
devices for accessing IoT
Mobile devices which most
people have already and apps
Cloud and mobile provides
ldquoeverywhererdquo access to IoT
Expensive gadgetry Affordable IoT devices Commodity pre-integrated
Wide range of protocols mostly
proprietary
Consolidation of protocols and
standards
Internet-ready widgets
Difficult to connect Low-level
programming
Software libraries and gateways
take care of the dirty work
Automated discovery and ldquoplug-in
readyrdquo value
Ad-hoc data models JSON universal internet language Timeseries JSON cloud
Barriers to adoption are
dropping rapidly
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 13
copy 2014 IBM Corporation
Technology shift consumers lead the Internet of Things
Today Tomorrow Integration
A few connected
devices per
personhellip
Almost every device that consumers own will be
connected and many new ones will be created to leverage
the value created by consumer connections
Cross-platform
integrators will
connected devices
and automate
personal activity Door Lock
Dishwasher
Clothes Washer
Clothes Dryer
Window Lock
Garage Door
Toothbrush
Garden Moisture
Coffee Maker
Home Lights
Examples
Iftttcom
Zapiercom
Just as consumers have led enterprises in embracing new mobile services we
believe they will lead the adoption of connected devices amp integrated services
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 14
copy 2014 IBM Corporation
All Internet of Things use cases have a common set of requirements
Requirements
Quickly and easily provision new sensors
Create a real-time communication channel with the sensor
Capture data from the sensor and store it in a time series database
Provide access to the collected data
Pay for the service based on usage
Extended Requirements
Provide analytics on the data in both real-time and historical data
Trigger events based on specific data conditions
Interact with the sensor from business applications andor from mobile devices
1 must provide perceived value ndash quality of
life bottom line societal safety etc
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 15
copy 2014 IBM Corporation
IoT data ldquoWe believe it is better to have application
programmers deal with performance problems
due to overuse of transactions as bottlenecks
arise rather than always coding around the
lack of transactionsrdquo
Paper ndash Spanner Googlersquos Globally-Distributed Database
NoSQL
TimeSeries
Relational
Primary IoT Data Requirements
Geospatial
More than one data access model
is useful
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 16
copy 2014 IBM Corporation
Devices create and require time series
Virtually every IoT device doing real stuff in the real world creates a time series ndash Deploy and configure device (location owner capabilities) metadata NoSQL ndash Take readings (temperature power humidity) time series ndash Trigger events (lights ON place call sound alarm) time series
Time series stored in relational or JSON is unnatural ndash frequent updates ndash new reading = new row in table ndash access is not sequential
TimeSeries data model support helps IoT ndash storage space ndash performance
ID Time Value
1 1000 66
2 1000 20
1 1005 75
5 1010 12
Relational table
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 17
copy 2014 IBM Corporation
Informix Time Series Approach
Device_ID Series
1 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
2 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
3 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
4 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
hellip hellip
Time series storage
bull Each row contains all the data for a single device data append to end of the row
bull Data is not indexed only the device ID column is indexed
bull Data on disk is clustered by device id and kept ordered by time
bull Device IDs stored once rather than with every record
bull Timestamps are not stored on disk instead are calculated by position in series
bull Missing intervals are marked with a placeholder
eg Hildebrand 3 million customers a
reading every six seconds 50k insertss
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 18
copy 2014 IBM Corporation
IBM Products used in IoT Solutions
Collection of data for all sensors
Data from other kinds of
sensors
Consumer Business
Sensors in the home
TimeSeries Service
NoSQL Relational Timeseries amp Spatial storage amp analytics
Acceleration Technology
BLU IWA
SPSSCognos
MessageSight MQTT
SoftLayer BlueMix
BigInsights
Gateways for local analytics
Infosphere Streams
(no gateway)
In-memory analytics
Predictive analytics and dashboard
Cloud infrastructure
Hadoop
Publish Subscribe
Real-time analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 19
copy 2014 IBM Corporation
Developed by business partners Shaspa Tatung and ST-Micro ndash Runs on ARM v7 and Intel Quark chip sets ndash 512MB to 1GB of memory ndash 1GB to 4GB of storage ndash WirelessBluetooth receiver
ndash 3 inch by 2 inch form factor
Software components in SmartGate
ndash Informix enterprise edition
ndash Webserver
ndash Debian Linux
ndash Connectivity to the TimeSeries cloud service
ndash Support for common device communication protocols including
bull Enocean KNX Modbus CANOpen Zigbee ZWave DALI MBus SNMP MPBus
Priced around $100
20
Shasparsquos SmartGate Gateway example of edge device for IoT
Informix Database
Inside
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 20
copy 2014 IBM Corporation
Why use a gateway for local analytics
1 Gateways can reduce the cost of the backend cloud
bull Reduces cloud storage by filteringaggregatinganalyzing data locally
bull Reduces cloud CPU requirements by pre-computing values
2 Reduces latency since actions can be taken immediately
bull Intelligent gateways can detect and respond to local events as they happen rather than waiting for transfer to the cloud
3 Many users are not comfortable putting their data in the cloud
bull Gateways allow customers to capture and get value from their sensors without sending data to the cloud
Over time more and more of the processing will move from the cloud to edge (gateway) devices
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 21
copy 2014 IBM Corporation
IBM Internet of Things analytics in the cloud
Analyze
Gateway Local Analytics
Analytics
Analyze other than the time
dimension
Aggregate and join across
data types and attributes
Millions of devices
System of record existing
mountains of data
Database in the cloud
Gateway Local Analytics
Gateways Local Analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 22
copy 2014 IBM Corporation 23
Where we are coming fromhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
A DB2 Customerrsquos Mobile Environment
Web
Server
Current Scenario
bull Simple ldquohome grownrdquo app outgrew its initial purpose and requirements
bull Connected Web application serving hundreds of sales associates
bull Access mostly via smart phone browser but also via laptop browser
bull PHP application
bull DB2 UDB data repository
New Requirements
bull Disconnected Mode
bull Access to local device address book calendar etc
bull Better authentication
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
24
copy 2014 IBM Corporation
DB2
Everyplace
Web
Sphere
JDBC
Replication Tables
Users XML
Sync
3500PDAs Windows mobile 61 and 65 running on PSIONPITION MOTOROLAHTCSANSUMGHHP
Windows Server
Quad Core
04Gb RAM
32Bits Current Scenario
bull DB2E is handling 3500 PDAs
bull DB2 Everyplace to connect field technicians to Informix database with service request data dispatching service orders to mobile users who are equipped with handheld devices improving responsiveness to service outages
bull Currently using Windows mobile 61 and 65 running on PSIONPITION MOTOROLA HTC SAMSUNG and HHP devices
bull Developed home-grown applications using NET
bull Some devices sync online and others offline
Another Customerrsquos Mobile Environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 25
copy 2014 IBM Corporation 26
Cloud and Mobile Applications
Experimental in nature
- Require rapid iteration
- Faster time to market
- May be decommissioned quickly ndash need
environments in minutes versus days or weeks
Are written in multiple languages
- Web JavaScript Ruby Java PHP
- Mobile iOS Android Hybrid
Composed of Services
- Build using a composition model of stitching
capabilities together
- Capabilities often require time to test in app
beyond the scope of a free trial
Integrate with existing systems
- Data is often located in multiple places (public
private traditional data center)
- Existing systems may not scale at the same the
level of cloud applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
WriteUpdate
System Of Record
bull Cloudant JSONDB
bull Mobile Data Services (Bluemix)
bull Integration Services
- Cast IronDataStage
Mobile Data Synchronization Landscape
System Of Record
Enterprise
Data Store (Informix DB2)
bull On Device data persistence (SQLite)
bull Data Sync between devices and to Cloudant
data store
bull UpdateWrite to System Of Record through
the front door (Using Enterprise app APIs)
bull Using Cloudant SDK on device
System Of Engagement
Enterprise App
APIs
Cast Iron
DataStage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 27
copy 2014 IBM Corporation 28
Dojo Mobile Toolkit
The Dojo Mobile toolkit is a powerful JavaScript framework
that provides all of the building blocks required to develop
lightweight high-performance mobile web applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Dojo Mobile Toolkit
One of the choices in the busy HTML5 amp CSS3 category
Mobile toolkit extends the existing Dojo toolkit to deal with
ndash Input device differences
ndash Smaller screen sizes
ndash Reduced processing power and footprint requirements of mobile devices
Excellent option for mobile apps where connectivity is consistent
Database connectivity is standard PHP database driver
Easy to enforce consistency across screens and applications with style sheets
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 29
copy 2014 IBM Corporation
Photo Share demo built using IBM Dojo Mobile Toolkit
Hosted via Softlayer nosqldemocom
Built for IOD 2013 to demonstrate Informix
hybrid (JSON relational and time series)
application support
PHP app using the MongoDB PHP driver for
connectivity to the Informix database
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 30
copy 2014 IBM Corporation 31
Cloudant
A distributed database as a service (DBaaS) allowing
developers of fast-growing web and mobile apps to focus on
building and improving their products instead of worrying
about scaling and managing databases on their own
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Cloudant Overview
ndash Operational JSON data store
ndash RESTful CouchDB API
ndash Advanced APIs
bull Replication amp Sync
bull Lucene Full-text Search
bull Geo-spatial
bull Incremental MapReduce
ndash Scalable Highly Available Performance
bull Cross-data center data distribution amp fail over
bull Geo load balancing
ndash Multi-tenant and dedicated-tenant clusters
ndash Monitoring administration amp development dashboards
ndash Managed 24x7 by big data experts
ndash Available in Rackspace IBMSoftLayer and AWS datacenters
32 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 3
bull Store data on the server
andor the local device
bull Native libraries support
synchronization process
and local storage
management
bull Synchronize data
between devices by
replicating data from
Cloudant
Store and Access Data Everywhere
Local
Storage
Local
Storage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 33
copy 2014 IBM Corporation 4
Putting Data at the Edge
bull Geographically disperse your data across multiple data centers
to allow for easy access depending on location
bull Ability to store data across 35 geographic locations
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 34
copy 2014 IBM Corporation 5
Local
Storage
bull Restored connection will
sync the data with the
server and other devices
connected to same source
bull Data redundancy across
data centers
Always Onhellip
bull Readwrite from local
storage when connection is
unavailable
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 35
copy 2014 IBM Corporation 7
Based on Open Industry Standardshellip
JSON Cloudant
HTTP HTTP
HTTP
bull Any device using HTTP and JSON can interact with Cloudant
HTTP
HTTP
HTTP
JSON
JSON
JSON
JSON
JSON
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 36
copy 2014 IBM Corporation
Cloudant Sync
Available for Android and IOS
Solution leverages devicersquos on-board
SQLite database for persistence
ndash Cloudant defines indexing scheme for
optimizing use of relational SQLite DB
with applicationrsquos JSON storage
requirements
Multi version concurrency control
Replication to the Cloudant server in the
cloud via HTTP
Mobile application does include and
interact with Cloudant SDK software which
resides on the device
ndash Cloudant Code is native (Java for
Android Objective C for IOS)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 37
copy 2014 IBM Corporation
Sync Cloudant with Informix or DB2
Leverage entire Cloudant implementation ndash
Cloudant Sync on the mobile device and
Cloudant in the cloud
Cloudant is the ldquosync serverrdquo with the
mobile application
Solution to sync data between the
Cloudant server and the IBM data server
would be a ldquohome grownrdquo solution
ndash One option would be to use REST API
to ldquopullrdquo data from Cloudant to DB2 via
stored procedures
ndash Standalone REST API based program
to extract from Cloudant and insert into
Informix
ndash Data exchanged as JSON documents
ndash IBM Data Stage supports JSON and
could be leveraged here
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 38
copy 2014 IBM Corporation 39
Bluemix
Bluemix is an open-standards cloud-based platform offering a
single solution environment with the instant resources and
infrastructure you need to develop and deploy apps across
multiple domains mdash fast
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Run Your Apps
The developer can chose any language
runtime or bring their own Just upload
your code and go
DevOps Development monitoring deployment
and logging tools allow the developer to
run the entire application
APIs and Services A catalog of open source IBM and third
party APIs services allow a developer
to stitch together an application in
minutes
Cloud Integration Build hybrid environments Connect to
on-premises systems of record plus other
public and private clouds Expose your
own APIs to your developers
Big Data Manage your Big Data requirements with
BLU Acceleration Hadoop based
analytics and your sensor and device
Internet of Things data
Introducing Bluemix
A rich set of mobile ready APIs that you can mix and match to power your App
NEW
copy 2014 IBM Corporation
Nodejs includes SDK for data
sync ndash Primary development language
for mobile and server side
scripting Includes templates and
SDK for syncing with the
database in the cloud
Mobile Application Security ndash basic app security framework -
enabling the developer to block
access to apps on specific
devices
Push ndash Create and schedule push
notifications for iOS and Android
devices to engage users when
they arent using the app
Mobile Data ndash SDKs to sync mobile shared data
with the scalable managed
Cloudant database as a service
Mobile Cloud BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 41
copy 2014 IBM Corporation
Node-RED ndash A visual tool for wiring your IoT
app
TimeSeries Database ndash Provides a managed data store
for Internet of Things device data
and enables you to do time series
analysis on that data
InternetOfThings ndash APIs allowing Bluemix
applications to access device
data simply and swiftly
Internet of Things (IoT) BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 42
copy 2014 IBM Corporation
43
Bluemix Mobile Services
Simplify app deployment infrastructure maintenance and improve app quality with cloud services for
mobile Accelerates app development with SDKs for iOS and Android
Push
Create and schedule push notifications for
iOS and Android devices to engage users
when they arenrsquot using the app User
tagging enables the user to select desired
push topics
Twilio Build apps that communicate Integrate
voice messaging and VoIP into your web
and mobile apps
Mobile Application Management Centrally manage app access through a
web based console Control and secure
apps through containerization and control
over the operational lifecycle
Mobile Data Enhance your mobile app with a shared
managed database in the Cloud that can
be accessed using native SDKs for iOS
and Android
Mobile Quality Assurance Instrument apps to capture tester and live-
user experiences including context-aware
crash log and in-app bug reports in-app
user feedback and insightful and
streamlined quality metrics
Cloud Services for Mobile in Minutes
Internet of Things Internet of Things APIs allowing Bluemix
applications to access device data simply
and swiftly Build apps for a smarter planet
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 44
Why Bluemix Mobile Services
bull Simplicity and speed for mobile developers to develop
and deploy a mobile backend to share data and
business logic
bull Native SDKs for Android and iOS make coding intuitive
for mobile app developers
bull Reduced cost of maintenance with fully managed
services
bull Integrated App Quality and App Management capability
bull Integrated platform to extend mobile applications with
enterprise data or to new scenarios such as Web APIs
or Internet of Things
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Mobile Data Service
With the Mobile Data service you can store delete update and query objects that are
stored in the cloud
You can use a REST URL to interrogate the data classes and content that is stored in the
cloud
With the Mobile Cloud Services SDK you can embed a special managed directory in your
application Any files that are stored in this managed directory can be monitored and
synchronized The application can share the contents of this managed directory by
connecting to Mobile Data service with the same application ID and user ID By sharing the
directory contents different instances of an application can have synchronized copies of the
files
You can import JSON or tabular data into Mobile Data service
File Sync is a separate plugin and that can be added to your mobile app
ndash Currenty a last write wins policy when multiple applications are updating the same files
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 45
copy 2014 IBM Corporation
Mobile Device
Mobile Data
Service
Mobile
Data API
Cache (SQLite)
Mobile
App
Bluemix
Mobile
Data Service
JSON
Object
Store
Data
Viewer
Bluemix Architecture for shared system of engagement data
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 46
copy 2014 IBM Corporation
Accessing Data in your Bluemix Database
Accessing data in the SQLDB (DB2) service ndash DB2 APIs ndash MongoDB APIs
Accessing data in the BLUAcceleration (DB2 with BLU Acceleration) service
ndash DB2 JDBC Ruby Nodejs Python and PHP APIs
Accessing data in the TimeSeries Database (Informix) service ndash Informix REST APIs ndash Informix SQLI APIs (JDBC ODBC ESQLC etc) ndash MongoDB APIs
Accessing data in the Cloudant JSONDB service ndash Cloudant REST services
copy 2014 IBM Corporation
Accessing your Enterprise Data from Bluemix
Accessing your on-premises enterprise database from your Bluemix app
would be a custom ldquohome grownrdquo application
All of your Bluemix data is resident in the Bluemix Cloud
Enterprise access would be possible if you want to move your enterprise
data to the SQLDB service (DB2) or TimeSeries Database (Informix)
Or access your on-premises enterprise data using REST or web services
from your Bluemix application
Or perhaps use Bluemix as a development sandbox and then shift to
SoftLayer where your Enterprise environment could be hosted
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 48
copy 2014 IBM Corporation 49
WorkLight
IBM Worklight provides an open comprehensive and advanced mobile
application platform for smartphones and tablets It helps organizations
of all sizes to efficiently develop test connect run and manage mobile
applications (apps)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
IBM Worklight A mobile application platform
Speeding the development integration and management of mobile applications and
infrastructure
Accelerate Development bull Web hybrid and native development open flexible
standard-based multi-screenomni-channel bull Functional testing bull Development lifecycle tools and integration
Facilitate App Security and Trust bull Server-enforced authentication bull App authenticity and user-app-device binding bull Secure and syncable on-device storage bull App version enforcement
Enable User Engagement bull Unified push and SMS notifications bull Geolocation and context collections and intelligence bull Mobile-friendly integration
Support Mobile Analytics bull Efficient acquisition of analytics data bull Development operational and business analytics bull Offline and online event management integration
Best Mobile Development Solution
voted by SIIA members 2013 CODiE Awards
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 50
copy 2014 IBM Corporation
Components of the IBM Worklight Mobile Platform
bullplus Worklight Mobile Test Workbench for automated functional testing
bulland Worklight Analytics Platform for an aggregated view of server and
clientmobile information
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 51
copy 2014 IBM Corporation
Worklight Server Procedures amp Adapters
bull Worklight Server resident procedures perform the interaction between the application and the back end applications bull Procedures are written in Javascript and interact with mobile applications over
HTTP using JSON-formatted data bull Procedures perform the conversions between JSON format and the format
required by the back end application
SQL Adapters are procedures which can be configured to execute parameterized SQL queries and stored procedures in order to retrieve or update data in the database
ndash Worklight SQL adapters for DB2 MySQL and Oracle using JDBC connectivity ndash Additional SQL adapters can be created
Other custom adapters can be developed to interact with other data sources ndash New adapter for Cloudant for example
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 52
copy 2014 IBM Corporation
Worklight Adapters
Connect to enterprise applications and
cloud services
Deliver data to and from mobile
applications
Perform any necessary server-side
logic on this data
Query
Update data
DataResult
as JSON
Invoke adapter
procedure
SQL Cast Iron
Worklight
Response
1
2 3
4
SAP JMS HTTP Cloudant
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 53
copy 2014 IBM Corporation
Worklight Server
SQL Adapters would be required to link your enterprise data store with
your mobile application
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 54
copy 2014 IBM Corporation
Bluemix complements Worklight - enabling enterprise application agility
IBM Codename Bluemix IBM Worklight
+ IBM amp Third Party APIs forhellip
Mobile Web
Devops Big Data amp
Analytics
Inte-
gration
and More
Extend your enterprise mobile app platform investment through
Cloud APIs
In Worklight 62 (June 2014)
bull Worklight ready SDK that can be plugged into your project
bull Lifecycle management controls API access for Bluemix services
bull Worklight security framework integrates with Bluemix SSO
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 55
copy 2014 IBM Corporation
Enterprise Data
and Services
Worklight
Server
Cloud Data and
Services
Adapters
bull Server-side logic in
JavaScript
bull Read-only or Txn
bull Secure and Uniform
access to business
data
Worklight Adapters
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 56
copy 2014 IBM Corporation
Genero Mobile
A integrated platform for the rapid development of rich business applications
taking your application ideas to the desktop web and now to mobile devices
while fulfilling the promise of ldquoWrite Once Run Anywhererdquo
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 57
copy 2014 IBM Corporation
Genero Key features - Write once deploy everywhere
bull Rapid Development of rich business applications
bull Modernize legacy 4th generation language (green screen) apps
bull Desktop web and now mobile applications
bull Developed by IBM Business Partner 4Js
bull Native Dynamic Virtual Machine for mobile platforms (iOSamp Android)
bull Native GUI native performance
bull Connecteddisconnected mode
bull SQLite access on mobile device
bull Server database synchronization with Informix DB2 and other RDBMS
bull UTF-8
bull JSON Web Services RESTful services
bull App store or Over the Air installation
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 58
copy 2014 IBM Corporation
Genero Mobile Options Genero Web Client (GWC)
ndash Application is hosted on back end server
ndash Hosted via Genero Application Server through your web browser
ndash ldquoConnectedrdquo application
Genero Hybrid Client (GHC)
ndash Application runs within HTML5 native container
ndash Some access to local device applications amp data
ndash Hosted via Genero Application Server via web browser
ndash Downloaded via App Stores
Genero Mobile Client (GMC)
ndash 4Js announced GMC at 2013 IIUG conference and in ldquoStatement of Directionrdquo on web site
ndash Native DVM for Android and IOS supporting native user interfaces
ndash True ldquodisconnectedrdquo applications
ndash Apps will be native and can thus be hosted via App Stores (iTunes etc)
ndash Local SQLite database utilized ndash syncing with RDBMS planned
ndash Early Access Program (beta) is currently in progress
ndash General availability in June 2014
59 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Genero Mobile applications Application types
Native Advanced UI actions
Best performance
App store distribution
Hybrid Web developer skills
Native access
App store distribution
HTML5 Web developer skills
Cross platform
Instant updates
Unrestricted distribution
No offline mode
Genero Hybrid Client
Genero Web Client
Genero Mobile Client
4Js announced direction
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 60
copy 2014 IBM Corporation
Native application Mobile browser Native container
Native HTML5 Hybrid
Genero Mobile applications Application types
Hybrid
Mobile browser
HTML5
Native container
Hybrid
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 61
copy 2014 IBM Corporation
Flexible deployment Genero Mobile ndash one source code base 90 market coverage
FUNCTION edit_customer(num)
DEFINE num LIKE customercustomer_num
LET int_flag = FALSE
SELECT INTO customer
FROM customer
WHERE customer_num == num
INPUT BY NAME customer WITHOUT DEFAULTS
ON ACTION zoom INFIELD state
LET customerstate =
statesgetState(customerstate)
DISPLAY BY NAME customerstate
END INPUT
IF NOT int_flag THEN
UPDATE customer SET customer = customer
WHERE customer_num = num
ELSE
SELECT INTO customer
FROM customer
WHERE customer_num == num
DISPLAY BY NAME customer
END IF
END FUNCTION
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 62
copy 2014 IBM Corporation
bull Easy and consistent access to local
applications on IOS and Android
ndash Camera
ndash Contacts
ndash Email
ndash Calendar
ndash GPS
ndash Storage
Flexible deployment Genero Mobile ndash no need to choose Objective bdquoC‟ or Java
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 63
copy 2014 IBM Corporation
bull Native widgets
Genero Mobile Native UI combined with power of Genero
bull Native interactions ndash ex swipe left to
delete
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 64
copy 2014 IBM Corporation
Mobile device
iOSAndroid process
GUI
thread
VM
thread
Disconnected mode Device runs application and stores data offline (on the device)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 65
copy 2014 IBM Corporation
Web server
http
Mobile device
iOSAndroid process
GUI
thread
VM
GAS +
PROXY
Connected mode Device connects to a remote corporate server as an online terminal
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 66
copy 2014 IBM Corporation
Web server
JSON
http
Mobile device
iOSAndroid process
GUI
thread
VM
thread
Data synchronization ndash JSON JSON Web Services ndash offline data capture and sync with a remote database when online
VM
DBMS
SQLite
Web
Service
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 67
copy 2014 IBM Corporation
Summary
Back to our customerrsquos mobile applicationhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 68
copy 2014 IBM Corporation
Our DB2 Customerrsquos Mobile Environment ndash One New Scenario
Possible New Scenario
bull IBM Worklight based solution
bull Native iOS and Android mobile applications
bull Native apps can run in disconnected mode using local device data storage
bull Sync between device data storage and DB2 UDB data repository server using SQL Adapter
bull Native apps access local device resources
bull Enterprise authentication and mobile device management
Worklight
Server
Authentication
SQL Adapter
WebSphere
App Server
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 69
copy 2014 IBM Corporation
On Premises
data center
SoftLayer
Cloudant
REST over HTTP
Tables
Users
CloudSync
bull10000+ Android tablets
bullMobile app using Cloudant SDK
Possible New Scenario
bull New Android tablets
bull Cloudant SDK on the mobile device and CloudSync to sync the devices with the Cloudant server(s)
bull Custom REST based sync program to sync the Cloud-based Cloudant server with the on-premises Informix servers
Informix Customerrsquos Mobile Environment ndash One New Scenario
Sync
program
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 70
copy 2014 IBM Corporation 71
DB2 Tech Talk Informix and DB2 for Internet of Things amp Mobile Apps Next Steps Roadmap
Read about mobile app development and Internet of Things
bull Mobile Development on IBM developerWorks links to BlueMix Worklight Check products and tools tab bitlymobiledevdw
bull Mobile development on ibmcom bitly1h4IWo8
bull Bluemix introduction the next cloud platform bitly1pCXZrM
bull IBM Internet of Things page including Redbooks publication bitly1mOlt8G
bull Genero Mobile www4jscom
bull Dojo Mobile bitly1mOmyxf
Test drive the tools
bull Informix software download bitly1oSBm2y
bull BLU Acceleration for Cloud Open Beta googlAkMm8e
bull DB2 105 trial software Ibmcodb2download
bull Bluemix beta software acengbluemixnet
bull Worklight Developer Edition bitly1x1FSy2
Participate in the conversation
developerWorks answers Internet of Things technical forum
bitlyU9nPqT
Reference
Call IBM to schedule a demo or learn more
bull 1 800 966-9875 (US)
bull 1-888-746-7426 (Canada)
bull 1800-425-3333 (India)
bull Or visit httpwwwibmcomplanetwide for contact information worldwide
IBM DB2 105 product page
Ibmcomdb2
IBM DB2 105 Product features
ibmco12c1PJz
IBM Data Studio product page
Ibmcoibmdsinfo
Tech forum on developerWorks
bitlydb2forumluw
SQL Tips Blog
wwwsqltips4db2com
Step Three
Step Two
Step One
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 72
Upcoming Tech Talks Don‟t miss these in-depth DB2 feature talks
Dates and topics subject to change and modification
How to register
DB2 Tech Talks web site
Next DB2 Tech Talk DB2 with BLU Acceleration for SAP
bull July 17 2014 at 1230 PM
bull Guersad kuecuek Technical Specialist
DB2 and SAP in Europe
bull Registration bitlytt2014jul
bullIDUG DB2 Tech Conference Austrailasia
bull Sydney
bull September 10 ndash 12 2014
bull wwwidugorg
bullIBM Insight 2014
former Information on Demand Conference
bull Las Vegas NV
bull October 26 ndash 30 2014
bull bitlyibminsight2014
bullIDUG DB2 Tech Conference EMEA
bull Prague Czech Republic
bull November 9 ndash 14 2014
bull wwwidugorg
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Learn engage and get social new DB2 with BLU Acceleration microsite
wwwibmBLUhubcom
DB2 with BLU Acceleration is for
reporting ndash Fast and simple way to respond to
continual reporting requests
ndash No tuning no tweaking
ndash Gets you back to high-value
projects
BLU Acceleration hub contains ndash Technical information and
ldquoinformation for your bossrdquo
ndash Access to the social conversation
ndash Links to software trial and BLU
Acceleration for Cloud
And more Check it out
73 Need webcast troubleshooting help Click attachments
Need webcast troubleshooting help Click attachments
BLU ndash Cognos Demo bitlydemoblu-cognos
copy 2014 IBM Corporation 74
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 75
Questions
Listening in replay
Questions wwwsqltips4db2com
Click submit a question
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 76
Thanks for attending
Please rate the session
Presentation download bitlyttfilemay14
click Attachments in this webcast environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 2
1 The presentation for this Tech Talk
bitlyttfile2014jun
2 Next steps and troubleshooting guide
click ldquoAttachmentsldquo in this webcast window
A few details hellip
Jef Treece Informix Product Manager
Todayrsquos Technical Presenters
DB2 Tech Talk series host and todayrsquos presenters
Rick Swagerman Host
DB2 Language Architect
Shawn Moe Software Architect
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 3
Disclaimer
The information contained in this presentation is provided for informational purposes only
While efforts were made to verify the completeness and accuracy of the information contained in this presentation it is provided ldquoas isrdquo without warranty of any kind express or implied
In addition this information is based on IBMrsquos current product plans and strategy which are subject to change by IBM without notice
IBM shall not be responsible for any damages arising out of the use of or otherwise related to this presentation or any other documentation
Nothing contained in this presentation is intended to or shall have the effect of
bull Creating any warranty or representation from IBM (or its affiliates or its or their suppliers andor licensors) or
bull Altering the terms and conditions of the applicable license agreement governing the use of IBM software
Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment The actual throughput or performance that any user will experience will vary depending upon many factors including considerations such as the amount of multiprogramming in the users job stream the IO configuration the storage configuration and the workload processed Therefore no assurance can be given that an individual user will achieve results similar to those stated here
Need webcast troubleshooting help Click attachments
BLU ndash Cognos Demo bitlydemoblu-cognos
copy 2014 IBM Corporation
Agenda
Internet of Things and Mobile Intro - Jef Treece
Some Implementation Details ndash Shawn Moe
ndash Where we are coming fromhellip
ndash Dojo Mobile Toolkit
ndash Cloudant
ndash Bluemix
ndash WorkLight
ndash Genero Mobile
4 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Data Cloud Engagement
New business models are placing demands on mobile and data apps
A systematic approach to
engagement is now
required
Cloud demands ndash and
enables ndash new business
models
Data is the new
basis of competitive
advantage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 5
copy 2014 IBM Corporation
Social Media
Cloud Computing
Mobile
How long will
users wait
Internet of Things
Define real-time please
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 6
copy 2014 IBM Corporation
Key trends motivating mobile application developers
Supporting the business trends ndash more interactions
In 2013 smartphones overtook non-smart phones globally (gt50) ndash mind-share of non-mobile is dwindling ndash ability to ldquoeat your own dog foodrdquo
Android + iOS now make up well over 90 of smartphone sales ndash consolidation ndash capture broader base with fewer ports
The app market was worth $70 billion in 2013 expected to double by 2016 ndash developer interest in a growing market for making $$
Android now mandatory ndash itrsquos only a matter of priority which one to do first ndash 70 of developers that target mobile create apps for Android ndash the market is now flooded with Android platforms ndash easy to obtain
Tablet users grew by 3x from 2011 to 2014 (US ndash 90 million 2014) ndash widespread use is replacing desktop and laptop as primary platform
Internet-of-things goes hand-in-hand with mobile ndash access devices and data from everywhere ndash end users now expect a mobile app to access the ldquothingsrdquo
NoSQL Market
$14 billion 2013-2018
Digital Ads
Fraud Detection
Mobile
Market Analysis
Pricing
Billing
Customer Loyalty
Documents
Data requirements also changing
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 7
copy 2014 IBM Corporation Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 8
copy 2014 IBM Corporation
Some general approaches to mobile app development
Mobile web sites (HTML CSS PHP and other standards with mobile device detection) ndash lowest on the UX scale with network-dependent performance ndash lowest on the NX scale no access to device features
Mobile web applications (typically HTML5 JavaScript and other standards) ndash more modern version of web apps which leverage devices better decent UX ndash typically moderate dependency on network ndash connected-mode ndash can be designed to work without mods on wide range of devices
Cross-platform frameworks (write once run everywhere) ndash cross-compilation produce complete native apps from common code base
Hybrid ndash special case of cross-platform ndash HTML wrapped in a native container install app on the device in a standard way ndash typically supports some level of disconnected-mode
Native applications ndash developer kit for the device ndash tools IDEs ndash separate code lines per devices but best UX and NX
UX = User Experience
NX = Native Experience
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 9
copy 2014 IBM Corporation
What are some key developer tools and languages for mobile
bull Demand for Python Java and Javascript remains strong bull ASPNET and C decreasing bull Objective C demand almost double that of Android bull RESTful APIs in demand bull Limitations of unstructured databases are driving requirements for hybrid SQLNoSQL solution
for speed simplicity and flexibility
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 10
copy 2014 IBM Corporation
Our world is getting smarter
Digital technologies (sensors and other monitoring instruments) are being
embedded into every object system and process
All the data generated by digital technology is providing intelligence
to help us do things better improving our responsiveness and our ability to predict and
optimize for future events
INTELLIGENT
INSTRUMENTED
INTERCONNECTED
In the globalized networked world people systems
objects and processes are connected and they
are communicating with one another in entirely new ways
Internet of Things solutions implement the three basic principles Instrumented Interconnected and Intelligent systems of Smarter Planet
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 11
copy 2014 IBM Corporation
ldquoConnected Liferdquo forecast $45T in 2020
Connected Life is everything that is connected and how they interact cars mobile devices buildings sensors and people
Top Ten in 2020 1 Connected Car $600 billion 2 Clinical Remote Monitoring $350 billion 3 Assisted Living $270 billion 4 Home and Building Security $250 billion 5 Pay-As-You-Drive Car Insurance $245 billion 6 New Business Models for Car Usage $225 billion 7 Smart Meters $105 billion 8 Traffic Management $100 billion 9 Electric Vehicle Charging $75 billion 10 Building Automation $40 billion
NY Times A Messenger for the Internet of Things
Wall Street Journal IBM Tackles Machine to Machine Big Data Deluge
Sourcehttpwwwglobaltelecomsbusinesscomarticle2985699Connected-devices-will-be-worth-45thtml
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 12
copy 2014 IBM Corporation
Nexus mobile devices and IoT
Explosion of mobile has created new opportunities for IoT
Explosion of IoT has created new demand for mobile
Past Present Future
Proprietary and special-purpose
devices for accessing IoT
Mobile devices which most
people have already and apps
Cloud and mobile provides
ldquoeverywhererdquo access to IoT
Expensive gadgetry Affordable IoT devices Commodity pre-integrated
Wide range of protocols mostly
proprietary
Consolidation of protocols and
standards
Internet-ready widgets
Difficult to connect Low-level
programming
Software libraries and gateways
take care of the dirty work
Automated discovery and ldquoplug-in
readyrdquo value
Ad-hoc data models JSON universal internet language Timeseries JSON cloud
Barriers to adoption are
dropping rapidly
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 13
copy 2014 IBM Corporation
Technology shift consumers lead the Internet of Things
Today Tomorrow Integration
A few connected
devices per
personhellip
Almost every device that consumers own will be
connected and many new ones will be created to leverage
the value created by consumer connections
Cross-platform
integrators will
connected devices
and automate
personal activity Door Lock
Dishwasher
Clothes Washer
Clothes Dryer
Window Lock
Garage Door
Toothbrush
Garden Moisture
Coffee Maker
Home Lights
Examples
Iftttcom
Zapiercom
Just as consumers have led enterprises in embracing new mobile services we
believe they will lead the adoption of connected devices amp integrated services
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 14
copy 2014 IBM Corporation
All Internet of Things use cases have a common set of requirements
Requirements
Quickly and easily provision new sensors
Create a real-time communication channel with the sensor
Capture data from the sensor and store it in a time series database
Provide access to the collected data
Pay for the service based on usage
Extended Requirements
Provide analytics on the data in both real-time and historical data
Trigger events based on specific data conditions
Interact with the sensor from business applications andor from mobile devices
1 must provide perceived value ndash quality of
life bottom line societal safety etc
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 15
copy 2014 IBM Corporation
IoT data ldquoWe believe it is better to have application
programmers deal with performance problems
due to overuse of transactions as bottlenecks
arise rather than always coding around the
lack of transactionsrdquo
Paper ndash Spanner Googlersquos Globally-Distributed Database
NoSQL
TimeSeries
Relational
Primary IoT Data Requirements
Geospatial
More than one data access model
is useful
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 16
copy 2014 IBM Corporation
Devices create and require time series
Virtually every IoT device doing real stuff in the real world creates a time series ndash Deploy and configure device (location owner capabilities) metadata NoSQL ndash Take readings (temperature power humidity) time series ndash Trigger events (lights ON place call sound alarm) time series
Time series stored in relational or JSON is unnatural ndash frequent updates ndash new reading = new row in table ndash access is not sequential
TimeSeries data model support helps IoT ndash storage space ndash performance
ID Time Value
1 1000 66
2 1000 20
1 1005 75
5 1010 12
Relational table
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 17
copy 2014 IBM Corporation
Informix Time Series Approach
Device_ID Series
1 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
2 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
3 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
4 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
hellip hellip
Time series storage
bull Each row contains all the data for a single device data append to end of the row
bull Data is not indexed only the device ID column is indexed
bull Data on disk is clustered by device id and kept ordered by time
bull Device IDs stored once rather than with every record
bull Timestamps are not stored on disk instead are calculated by position in series
bull Missing intervals are marked with a placeholder
eg Hildebrand 3 million customers a
reading every six seconds 50k insertss
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 18
copy 2014 IBM Corporation
IBM Products used in IoT Solutions
Collection of data for all sensors
Data from other kinds of
sensors
Consumer Business
Sensors in the home
TimeSeries Service
NoSQL Relational Timeseries amp Spatial storage amp analytics
Acceleration Technology
BLU IWA
SPSSCognos
MessageSight MQTT
SoftLayer BlueMix
BigInsights
Gateways for local analytics
Infosphere Streams
(no gateway)
In-memory analytics
Predictive analytics and dashboard
Cloud infrastructure
Hadoop
Publish Subscribe
Real-time analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 19
copy 2014 IBM Corporation
Developed by business partners Shaspa Tatung and ST-Micro ndash Runs on ARM v7 and Intel Quark chip sets ndash 512MB to 1GB of memory ndash 1GB to 4GB of storage ndash WirelessBluetooth receiver
ndash 3 inch by 2 inch form factor
Software components in SmartGate
ndash Informix enterprise edition
ndash Webserver
ndash Debian Linux
ndash Connectivity to the TimeSeries cloud service
ndash Support for common device communication protocols including
bull Enocean KNX Modbus CANOpen Zigbee ZWave DALI MBus SNMP MPBus
Priced around $100
20
Shasparsquos SmartGate Gateway example of edge device for IoT
Informix Database
Inside
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 20
copy 2014 IBM Corporation
Why use a gateway for local analytics
1 Gateways can reduce the cost of the backend cloud
bull Reduces cloud storage by filteringaggregatinganalyzing data locally
bull Reduces cloud CPU requirements by pre-computing values
2 Reduces latency since actions can be taken immediately
bull Intelligent gateways can detect and respond to local events as they happen rather than waiting for transfer to the cloud
3 Many users are not comfortable putting their data in the cloud
bull Gateways allow customers to capture and get value from their sensors without sending data to the cloud
Over time more and more of the processing will move from the cloud to edge (gateway) devices
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 21
copy 2014 IBM Corporation
IBM Internet of Things analytics in the cloud
Analyze
Gateway Local Analytics
Analytics
Analyze other than the time
dimension
Aggregate and join across
data types and attributes
Millions of devices
System of record existing
mountains of data
Database in the cloud
Gateway Local Analytics
Gateways Local Analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 22
copy 2014 IBM Corporation 23
Where we are coming fromhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
A DB2 Customerrsquos Mobile Environment
Web
Server
Current Scenario
bull Simple ldquohome grownrdquo app outgrew its initial purpose and requirements
bull Connected Web application serving hundreds of sales associates
bull Access mostly via smart phone browser but also via laptop browser
bull PHP application
bull DB2 UDB data repository
New Requirements
bull Disconnected Mode
bull Access to local device address book calendar etc
bull Better authentication
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
24
copy 2014 IBM Corporation
DB2
Everyplace
Web
Sphere
JDBC
Replication Tables
Users XML
Sync
3500PDAs Windows mobile 61 and 65 running on PSIONPITION MOTOROLAHTCSANSUMGHHP
Windows Server
Quad Core
04Gb RAM
32Bits Current Scenario
bull DB2E is handling 3500 PDAs
bull DB2 Everyplace to connect field technicians to Informix database with service request data dispatching service orders to mobile users who are equipped with handheld devices improving responsiveness to service outages
bull Currently using Windows mobile 61 and 65 running on PSIONPITION MOTOROLA HTC SAMSUNG and HHP devices
bull Developed home-grown applications using NET
bull Some devices sync online and others offline
Another Customerrsquos Mobile Environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 25
copy 2014 IBM Corporation 26
Cloud and Mobile Applications
Experimental in nature
- Require rapid iteration
- Faster time to market
- May be decommissioned quickly ndash need
environments in minutes versus days or weeks
Are written in multiple languages
- Web JavaScript Ruby Java PHP
- Mobile iOS Android Hybrid
Composed of Services
- Build using a composition model of stitching
capabilities together
- Capabilities often require time to test in app
beyond the scope of a free trial
Integrate with existing systems
- Data is often located in multiple places (public
private traditional data center)
- Existing systems may not scale at the same the
level of cloud applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
WriteUpdate
System Of Record
bull Cloudant JSONDB
bull Mobile Data Services (Bluemix)
bull Integration Services
- Cast IronDataStage
Mobile Data Synchronization Landscape
System Of Record
Enterprise
Data Store (Informix DB2)
bull On Device data persistence (SQLite)
bull Data Sync between devices and to Cloudant
data store
bull UpdateWrite to System Of Record through
the front door (Using Enterprise app APIs)
bull Using Cloudant SDK on device
System Of Engagement
Enterprise App
APIs
Cast Iron
DataStage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 27
copy 2014 IBM Corporation 28
Dojo Mobile Toolkit
The Dojo Mobile toolkit is a powerful JavaScript framework
that provides all of the building blocks required to develop
lightweight high-performance mobile web applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Dojo Mobile Toolkit
One of the choices in the busy HTML5 amp CSS3 category
Mobile toolkit extends the existing Dojo toolkit to deal with
ndash Input device differences
ndash Smaller screen sizes
ndash Reduced processing power and footprint requirements of mobile devices
Excellent option for mobile apps where connectivity is consistent
Database connectivity is standard PHP database driver
Easy to enforce consistency across screens and applications with style sheets
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 29
copy 2014 IBM Corporation
Photo Share demo built using IBM Dojo Mobile Toolkit
Hosted via Softlayer nosqldemocom
Built for IOD 2013 to demonstrate Informix
hybrid (JSON relational and time series)
application support
PHP app using the MongoDB PHP driver for
connectivity to the Informix database
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 30
copy 2014 IBM Corporation 31
Cloudant
A distributed database as a service (DBaaS) allowing
developers of fast-growing web and mobile apps to focus on
building and improving their products instead of worrying
about scaling and managing databases on their own
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Cloudant Overview
ndash Operational JSON data store
ndash RESTful CouchDB API
ndash Advanced APIs
bull Replication amp Sync
bull Lucene Full-text Search
bull Geo-spatial
bull Incremental MapReduce
ndash Scalable Highly Available Performance
bull Cross-data center data distribution amp fail over
bull Geo load balancing
ndash Multi-tenant and dedicated-tenant clusters
ndash Monitoring administration amp development dashboards
ndash Managed 24x7 by big data experts
ndash Available in Rackspace IBMSoftLayer and AWS datacenters
32 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 3
bull Store data on the server
andor the local device
bull Native libraries support
synchronization process
and local storage
management
bull Synchronize data
between devices by
replicating data from
Cloudant
Store and Access Data Everywhere
Local
Storage
Local
Storage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 33
copy 2014 IBM Corporation 4
Putting Data at the Edge
bull Geographically disperse your data across multiple data centers
to allow for easy access depending on location
bull Ability to store data across 35 geographic locations
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 34
copy 2014 IBM Corporation 5
Local
Storage
bull Restored connection will
sync the data with the
server and other devices
connected to same source
bull Data redundancy across
data centers
Always Onhellip
bull Readwrite from local
storage when connection is
unavailable
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 35
copy 2014 IBM Corporation 7
Based on Open Industry Standardshellip
JSON Cloudant
HTTP HTTP
HTTP
bull Any device using HTTP and JSON can interact with Cloudant
HTTP
HTTP
HTTP
JSON
JSON
JSON
JSON
JSON
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 36
copy 2014 IBM Corporation
Cloudant Sync
Available for Android and IOS
Solution leverages devicersquos on-board
SQLite database for persistence
ndash Cloudant defines indexing scheme for
optimizing use of relational SQLite DB
with applicationrsquos JSON storage
requirements
Multi version concurrency control
Replication to the Cloudant server in the
cloud via HTTP
Mobile application does include and
interact with Cloudant SDK software which
resides on the device
ndash Cloudant Code is native (Java for
Android Objective C for IOS)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 37
copy 2014 IBM Corporation
Sync Cloudant with Informix or DB2
Leverage entire Cloudant implementation ndash
Cloudant Sync on the mobile device and
Cloudant in the cloud
Cloudant is the ldquosync serverrdquo with the
mobile application
Solution to sync data between the
Cloudant server and the IBM data server
would be a ldquohome grownrdquo solution
ndash One option would be to use REST API
to ldquopullrdquo data from Cloudant to DB2 via
stored procedures
ndash Standalone REST API based program
to extract from Cloudant and insert into
Informix
ndash Data exchanged as JSON documents
ndash IBM Data Stage supports JSON and
could be leveraged here
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 38
copy 2014 IBM Corporation 39
Bluemix
Bluemix is an open-standards cloud-based platform offering a
single solution environment with the instant resources and
infrastructure you need to develop and deploy apps across
multiple domains mdash fast
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Run Your Apps
The developer can chose any language
runtime or bring their own Just upload
your code and go
DevOps Development monitoring deployment
and logging tools allow the developer to
run the entire application
APIs and Services A catalog of open source IBM and third
party APIs services allow a developer
to stitch together an application in
minutes
Cloud Integration Build hybrid environments Connect to
on-premises systems of record plus other
public and private clouds Expose your
own APIs to your developers
Big Data Manage your Big Data requirements with
BLU Acceleration Hadoop based
analytics and your sensor and device
Internet of Things data
Introducing Bluemix
A rich set of mobile ready APIs that you can mix and match to power your App
NEW
copy 2014 IBM Corporation
Nodejs includes SDK for data
sync ndash Primary development language
for mobile and server side
scripting Includes templates and
SDK for syncing with the
database in the cloud
Mobile Application Security ndash basic app security framework -
enabling the developer to block
access to apps on specific
devices
Push ndash Create and schedule push
notifications for iOS and Android
devices to engage users when
they arent using the app
Mobile Data ndash SDKs to sync mobile shared data
with the scalable managed
Cloudant database as a service
Mobile Cloud BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 41
copy 2014 IBM Corporation
Node-RED ndash A visual tool for wiring your IoT
app
TimeSeries Database ndash Provides a managed data store
for Internet of Things device data
and enables you to do time series
analysis on that data
InternetOfThings ndash APIs allowing Bluemix
applications to access device
data simply and swiftly
Internet of Things (IoT) BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 42
copy 2014 IBM Corporation
43
Bluemix Mobile Services
Simplify app deployment infrastructure maintenance and improve app quality with cloud services for
mobile Accelerates app development with SDKs for iOS and Android
Push
Create and schedule push notifications for
iOS and Android devices to engage users
when they arenrsquot using the app User
tagging enables the user to select desired
push topics
Twilio Build apps that communicate Integrate
voice messaging and VoIP into your web
and mobile apps
Mobile Application Management Centrally manage app access through a
web based console Control and secure
apps through containerization and control
over the operational lifecycle
Mobile Data Enhance your mobile app with a shared
managed database in the Cloud that can
be accessed using native SDKs for iOS
and Android
Mobile Quality Assurance Instrument apps to capture tester and live-
user experiences including context-aware
crash log and in-app bug reports in-app
user feedback and insightful and
streamlined quality metrics
Cloud Services for Mobile in Minutes
Internet of Things Internet of Things APIs allowing Bluemix
applications to access device data simply
and swiftly Build apps for a smarter planet
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 44
Why Bluemix Mobile Services
bull Simplicity and speed for mobile developers to develop
and deploy a mobile backend to share data and
business logic
bull Native SDKs for Android and iOS make coding intuitive
for mobile app developers
bull Reduced cost of maintenance with fully managed
services
bull Integrated App Quality and App Management capability
bull Integrated platform to extend mobile applications with
enterprise data or to new scenarios such as Web APIs
or Internet of Things
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Mobile Data Service
With the Mobile Data service you can store delete update and query objects that are
stored in the cloud
You can use a REST URL to interrogate the data classes and content that is stored in the
cloud
With the Mobile Cloud Services SDK you can embed a special managed directory in your
application Any files that are stored in this managed directory can be monitored and
synchronized The application can share the contents of this managed directory by
connecting to Mobile Data service with the same application ID and user ID By sharing the
directory contents different instances of an application can have synchronized copies of the
files
You can import JSON or tabular data into Mobile Data service
File Sync is a separate plugin and that can be added to your mobile app
ndash Currenty a last write wins policy when multiple applications are updating the same files
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 45
copy 2014 IBM Corporation
Mobile Device
Mobile Data
Service
Mobile
Data API
Cache (SQLite)
Mobile
App
Bluemix
Mobile
Data Service
JSON
Object
Store
Data
Viewer
Bluemix Architecture for shared system of engagement data
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 46
copy 2014 IBM Corporation
Accessing Data in your Bluemix Database
Accessing data in the SQLDB (DB2) service ndash DB2 APIs ndash MongoDB APIs
Accessing data in the BLUAcceleration (DB2 with BLU Acceleration) service
ndash DB2 JDBC Ruby Nodejs Python and PHP APIs
Accessing data in the TimeSeries Database (Informix) service ndash Informix REST APIs ndash Informix SQLI APIs (JDBC ODBC ESQLC etc) ndash MongoDB APIs
Accessing data in the Cloudant JSONDB service ndash Cloudant REST services
copy 2014 IBM Corporation
Accessing your Enterprise Data from Bluemix
Accessing your on-premises enterprise database from your Bluemix app
would be a custom ldquohome grownrdquo application
All of your Bluemix data is resident in the Bluemix Cloud
Enterprise access would be possible if you want to move your enterprise
data to the SQLDB service (DB2) or TimeSeries Database (Informix)
Or access your on-premises enterprise data using REST or web services
from your Bluemix application
Or perhaps use Bluemix as a development sandbox and then shift to
SoftLayer where your Enterprise environment could be hosted
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 48
copy 2014 IBM Corporation 49
WorkLight
IBM Worklight provides an open comprehensive and advanced mobile
application platform for smartphones and tablets It helps organizations
of all sizes to efficiently develop test connect run and manage mobile
applications (apps)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
IBM Worklight A mobile application platform
Speeding the development integration and management of mobile applications and
infrastructure
Accelerate Development bull Web hybrid and native development open flexible
standard-based multi-screenomni-channel bull Functional testing bull Development lifecycle tools and integration
Facilitate App Security and Trust bull Server-enforced authentication bull App authenticity and user-app-device binding bull Secure and syncable on-device storage bull App version enforcement
Enable User Engagement bull Unified push and SMS notifications bull Geolocation and context collections and intelligence bull Mobile-friendly integration
Support Mobile Analytics bull Efficient acquisition of analytics data bull Development operational and business analytics bull Offline and online event management integration
Best Mobile Development Solution
voted by SIIA members 2013 CODiE Awards
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 50
copy 2014 IBM Corporation
Components of the IBM Worklight Mobile Platform
bullplus Worklight Mobile Test Workbench for automated functional testing
bulland Worklight Analytics Platform for an aggregated view of server and
clientmobile information
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 51
copy 2014 IBM Corporation
Worklight Server Procedures amp Adapters
bull Worklight Server resident procedures perform the interaction between the application and the back end applications bull Procedures are written in Javascript and interact with mobile applications over
HTTP using JSON-formatted data bull Procedures perform the conversions between JSON format and the format
required by the back end application
SQL Adapters are procedures which can be configured to execute parameterized SQL queries and stored procedures in order to retrieve or update data in the database
ndash Worklight SQL adapters for DB2 MySQL and Oracle using JDBC connectivity ndash Additional SQL adapters can be created
Other custom adapters can be developed to interact with other data sources ndash New adapter for Cloudant for example
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 52
copy 2014 IBM Corporation
Worklight Adapters
Connect to enterprise applications and
cloud services
Deliver data to and from mobile
applications
Perform any necessary server-side
logic on this data
Query
Update data
DataResult
as JSON
Invoke adapter
procedure
SQL Cast Iron
Worklight
Response
1
2 3
4
SAP JMS HTTP Cloudant
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 53
copy 2014 IBM Corporation
Worklight Server
SQL Adapters would be required to link your enterprise data store with
your mobile application
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 54
copy 2014 IBM Corporation
Bluemix complements Worklight - enabling enterprise application agility
IBM Codename Bluemix IBM Worklight
+ IBM amp Third Party APIs forhellip
Mobile Web
Devops Big Data amp
Analytics
Inte-
gration
and More
Extend your enterprise mobile app platform investment through
Cloud APIs
In Worklight 62 (June 2014)
bull Worklight ready SDK that can be plugged into your project
bull Lifecycle management controls API access for Bluemix services
bull Worklight security framework integrates with Bluemix SSO
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 55
copy 2014 IBM Corporation
Enterprise Data
and Services
Worklight
Server
Cloud Data and
Services
Adapters
bull Server-side logic in
JavaScript
bull Read-only or Txn
bull Secure and Uniform
access to business
data
Worklight Adapters
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 56
copy 2014 IBM Corporation
Genero Mobile
A integrated platform for the rapid development of rich business applications
taking your application ideas to the desktop web and now to mobile devices
while fulfilling the promise of ldquoWrite Once Run Anywhererdquo
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 57
copy 2014 IBM Corporation
Genero Key features - Write once deploy everywhere
bull Rapid Development of rich business applications
bull Modernize legacy 4th generation language (green screen) apps
bull Desktop web and now mobile applications
bull Developed by IBM Business Partner 4Js
bull Native Dynamic Virtual Machine for mobile platforms (iOSamp Android)
bull Native GUI native performance
bull Connecteddisconnected mode
bull SQLite access on mobile device
bull Server database synchronization with Informix DB2 and other RDBMS
bull UTF-8
bull JSON Web Services RESTful services
bull App store or Over the Air installation
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 58
copy 2014 IBM Corporation
Genero Mobile Options Genero Web Client (GWC)
ndash Application is hosted on back end server
ndash Hosted via Genero Application Server through your web browser
ndash ldquoConnectedrdquo application
Genero Hybrid Client (GHC)
ndash Application runs within HTML5 native container
ndash Some access to local device applications amp data
ndash Hosted via Genero Application Server via web browser
ndash Downloaded via App Stores
Genero Mobile Client (GMC)
ndash 4Js announced GMC at 2013 IIUG conference and in ldquoStatement of Directionrdquo on web site
ndash Native DVM for Android and IOS supporting native user interfaces
ndash True ldquodisconnectedrdquo applications
ndash Apps will be native and can thus be hosted via App Stores (iTunes etc)
ndash Local SQLite database utilized ndash syncing with RDBMS planned
ndash Early Access Program (beta) is currently in progress
ndash General availability in June 2014
59 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Genero Mobile applications Application types
Native Advanced UI actions
Best performance
App store distribution
Hybrid Web developer skills
Native access
App store distribution
HTML5 Web developer skills
Cross platform
Instant updates
Unrestricted distribution
No offline mode
Genero Hybrid Client
Genero Web Client
Genero Mobile Client
4Js announced direction
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 60
copy 2014 IBM Corporation
Native application Mobile browser Native container
Native HTML5 Hybrid
Genero Mobile applications Application types
Hybrid
Mobile browser
HTML5
Native container
Hybrid
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 61
copy 2014 IBM Corporation
Flexible deployment Genero Mobile ndash one source code base 90 market coverage
FUNCTION edit_customer(num)
DEFINE num LIKE customercustomer_num
LET int_flag = FALSE
SELECT INTO customer
FROM customer
WHERE customer_num == num
INPUT BY NAME customer WITHOUT DEFAULTS
ON ACTION zoom INFIELD state
LET customerstate =
statesgetState(customerstate)
DISPLAY BY NAME customerstate
END INPUT
IF NOT int_flag THEN
UPDATE customer SET customer = customer
WHERE customer_num = num
ELSE
SELECT INTO customer
FROM customer
WHERE customer_num == num
DISPLAY BY NAME customer
END IF
END FUNCTION
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 62
copy 2014 IBM Corporation
bull Easy and consistent access to local
applications on IOS and Android
ndash Camera
ndash Contacts
ndash Email
ndash Calendar
ndash GPS
ndash Storage
Flexible deployment Genero Mobile ndash no need to choose Objective bdquoC‟ or Java
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 63
copy 2014 IBM Corporation
bull Native widgets
Genero Mobile Native UI combined with power of Genero
bull Native interactions ndash ex swipe left to
delete
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 64
copy 2014 IBM Corporation
Mobile device
iOSAndroid process
GUI
thread
VM
thread
Disconnected mode Device runs application and stores data offline (on the device)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 65
copy 2014 IBM Corporation
Web server
http
Mobile device
iOSAndroid process
GUI
thread
VM
GAS +
PROXY
Connected mode Device connects to a remote corporate server as an online terminal
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 66
copy 2014 IBM Corporation
Web server
JSON
http
Mobile device
iOSAndroid process
GUI
thread
VM
thread
Data synchronization ndash JSON JSON Web Services ndash offline data capture and sync with a remote database when online
VM
DBMS
SQLite
Web
Service
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 67
copy 2014 IBM Corporation
Summary
Back to our customerrsquos mobile applicationhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 68
copy 2014 IBM Corporation
Our DB2 Customerrsquos Mobile Environment ndash One New Scenario
Possible New Scenario
bull IBM Worklight based solution
bull Native iOS and Android mobile applications
bull Native apps can run in disconnected mode using local device data storage
bull Sync between device data storage and DB2 UDB data repository server using SQL Adapter
bull Native apps access local device resources
bull Enterprise authentication and mobile device management
Worklight
Server
Authentication
SQL Adapter
WebSphere
App Server
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 69
copy 2014 IBM Corporation
On Premises
data center
SoftLayer
Cloudant
REST over HTTP
Tables
Users
CloudSync
bull10000+ Android tablets
bullMobile app using Cloudant SDK
Possible New Scenario
bull New Android tablets
bull Cloudant SDK on the mobile device and CloudSync to sync the devices with the Cloudant server(s)
bull Custom REST based sync program to sync the Cloud-based Cloudant server with the on-premises Informix servers
Informix Customerrsquos Mobile Environment ndash One New Scenario
Sync
program
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 70
copy 2014 IBM Corporation 71
DB2 Tech Talk Informix and DB2 for Internet of Things amp Mobile Apps Next Steps Roadmap
Read about mobile app development and Internet of Things
bull Mobile Development on IBM developerWorks links to BlueMix Worklight Check products and tools tab bitlymobiledevdw
bull Mobile development on ibmcom bitly1h4IWo8
bull Bluemix introduction the next cloud platform bitly1pCXZrM
bull IBM Internet of Things page including Redbooks publication bitly1mOlt8G
bull Genero Mobile www4jscom
bull Dojo Mobile bitly1mOmyxf
Test drive the tools
bull Informix software download bitly1oSBm2y
bull BLU Acceleration for Cloud Open Beta googlAkMm8e
bull DB2 105 trial software Ibmcodb2download
bull Bluemix beta software acengbluemixnet
bull Worklight Developer Edition bitly1x1FSy2
Participate in the conversation
developerWorks answers Internet of Things technical forum
bitlyU9nPqT
Reference
Call IBM to schedule a demo or learn more
bull 1 800 966-9875 (US)
bull 1-888-746-7426 (Canada)
bull 1800-425-3333 (India)
bull Or visit httpwwwibmcomplanetwide for contact information worldwide
IBM DB2 105 product page
Ibmcomdb2
IBM DB2 105 Product features
ibmco12c1PJz
IBM Data Studio product page
Ibmcoibmdsinfo
Tech forum on developerWorks
bitlydb2forumluw
SQL Tips Blog
wwwsqltips4db2com
Step Three
Step Two
Step One
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 72
Upcoming Tech Talks Don‟t miss these in-depth DB2 feature talks
Dates and topics subject to change and modification
How to register
DB2 Tech Talks web site
Next DB2 Tech Talk DB2 with BLU Acceleration for SAP
bull July 17 2014 at 1230 PM
bull Guersad kuecuek Technical Specialist
DB2 and SAP in Europe
bull Registration bitlytt2014jul
bullIDUG DB2 Tech Conference Austrailasia
bull Sydney
bull September 10 ndash 12 2014
bull wwwidugorg
bullIBM Insight 2014
former Information on Demand Conference
bull Las Vegas NV
bull October 26 ndash 30 2014
bull bitlyibminsight2014
bullIDUG DB2 Tech Conference EMEA
bull Prague Czech Republic
bull November 9 ndash 14 2014
bull wwwidugorg
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Learn engage and get social new DB2 with BLU Acceleration microsite
wwwibmBLUhubcom
DB2 with BLU Acceleration is for
reporting ndash Fast and simple way to respond to
continual reporting requests
ndash No tuning no tweaking
ndash Gets you back to high-value
projects
BLU Acceleration hub contains ndash Technical information and
ldquoinformation for your bossrdquo
ndash Access to the social conversation
ndash Links to software trial and BLU
Acceleration for Cloud
And more Check it out
73 Need webcast troubleshooting help Click attachments
Need webcast troubleshooting help Click attachments
BLU ndash Cognos Demo bitlydemoblu-cognos
copy 2014 IBM Corporation 74
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 75
Questions
Listening in replay
Questions wwwsqltips4db2com
Click submit a question
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 76
Thanks for attending
Please rate the session
Presentation download bitlyttfilemay14
click Attachments in this webcast environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 3
Disclaimer
The information contained in this presentation is provided for informational purposes only
While efforts were made to verify the completeness and accuracy of the information contained in this presentation it is provided ldquoas isrdquo without warranty of any kind express or implied
In addition this information is based on IBMrsquos current product plans and strategy which are subject to change by IBM without notice
IBM shall not be responsible for any damages arising out of the use of or otherwise related to this presentation or any other documentation
Nothing contained in this presentation is intended to or shall have the effect of
bull Creating any warranty or representation from IBM (or its affiliates or its or their suppliers andor licensors) or
bull Altering the terms and conditions of the applicable license agreement governing the use of IBM software
Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment The actual throughput or performance that any user will experience will vary depending upon many factors including considerations such as the amount of multiprogramming in the users job stream the IO configuration the storage configuration and the workload processed Therefore no assurance can be given that an individual user will achieve results similar to those stated here
Need webcast troubleshooting help Click attachments
BLU ndash Cognos Demo bitlydemoblu-cognos
copy 2014 IBM Corporation
Agenda
Internet of Things and Mobile Intro - Jef Treece
Some Implementation Details ndash Shawn Moe
ndash Where we are coming fromhellip
ndash Dojo Mobile Toolkit
ndash Cloudant
ndash Bluemix
ndash WorkLight
ndash Genero Mobile
4 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Data Cloud Engagement
New business models are placing demands on mobile and data apps
A systematic approach to
engagement is now
required
Cloud demands ndash and
enables ndash new business
models
Data is the new
basis of competitive
advantage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 5
copy 2014 IBM Corporation
Social Media
Cloud Computing
Mobile
How long will
users wait
Internet of Things
Define real-time please
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 6
copy 2014 IBM Corporation
Key trends motivating mobile application developers
Supporting the business trends ndash more interactions
In 2013 smartphones overtook non-smart phones globally (gt50) ndash mind-share of non-mobile is dwindling ndash ability to ldquoeat your own dog foodrdquo
Android + iOS now make up well over 90 of smartphone sales ndash consolidation ndash capture broader base with fewer ports
The app market was worth $70 billion in 2013 expected to double by 2016 ndash developer interest in a growing market for making $$
Android now mandatory ndash itrsquos only a matter of priority which one to do first ndash 70 of developers that target mobile create apps for Android ndash the market is now flooded with Android platforms ndash easy to obtain
Tablet users grew by 3x from 2011 to 2014 (US ndash 90 million 2014) ndash widespread use is replacing desktop and laptop as primary platform
Internet-of-things goes hand-in-hand with mobile ndash access devices and data from everywhere ndash end users now expect a mobile app to access the ldquothingsrdquo
NoSQL Market
$14 billion 2013-2018
Digital Ads
Fraud Detection
Mobile
Market Analysis
Pricing
Billing
Customer Loyalty
Documents
Data requirements also changing
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 7
copy 2014 IBM Corporation Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 8
copy 2014 IBM Corporation
Some general approaches to mobile app development
Mobile web sites (HTML CSS PHP and other standards with mobile device detection) ndash lowest on the UX scale with network-dependent performance ndash lowest on the NX scale no access to device features
Mobile web applications (typically HTML5 JavaScript and other standards) ndash more modern version of web apps which leverage devices better decent UX ndash typically moderate dependency on network ndash connected-mode ndash can be designed to work without mods on wide range of devices
Cross-platform frameworks (write once run everywhere) ndash cross-compilation produce complete native apps from common code base
Hybrid ndash special case of cross-platform ndash HTML wrapped in a native container install app on the device in a standard way ndash typically supports some level of disconnected-mode
Native applications ndash developer kit for the device ndash tools IDEs ndash separate code lines per devices but best UX and NX
UX = User Experience
NX = Native Experience
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 9
copy 2014 IBM Corporation
What are some key developer tools and languages for mobile
bull Demand for Python Java and Javascript remains strong bull ASPNET and C decreasing bull Objective C demand almost double that of Android bull RESTful APIs in demand bull Limitations of unstructured databases are driving requirements for hybrid SQLNoSQL solution
for speed simplicity and flexibility
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 10
copy 2014 IBM Corporation
Our world is getting smarter
Digital technologies (sensors and other monitoring instruments) are being
embedded into every object system and process
All the data generated by digital technology is providing intelligence
to help us do things better improving our responsiveness and our ability to predict and
optimize for future events
INTELLIGENT
INSTRUMENTED
INTERCONNECTED
In the globalized networked world people systems
objects and processes are connected and they
are communicating with one another in entirely new ways
Internet of Things solutions implement the three basic principles Instrumented Interconnected and Intelligent systems of Smarter Planet
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 11
copy 2014 IBM Corporation
ldquoConnected Liferdquo forecast $45T in 2020
Connected Life is everything that is connected and how they interact cars mobile devices buildings sensors and people
Top Ten in 2020 1 Connected Car $600 billion 2 Clinical Remote Monitoring $350 billion 3 Assisted Living $270 billion 4 Home and Building Security $250 billion 5 Pay-As-You-Drive Car Insurance $245 billion 6 New Business Models for Car Usage $225 billion 7 Smart Meters $105 billion 8 Traffic Management $100 billion 9 Electric Vehicle Charging $75 billion 10 Building Automation $40 billion
NY Times A Messenger for the Internet of Things
Wall Street Journal IBM Tackles Machine to Machine Big Data Deluge
Sourcehttpwwwglobaltelecomsbusinesscomarticle2985699Connected-devices-will-be-worth-45thtml
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 12
copy 2014 IBM Corporation
Nexus mobile devices and IoT
Explosion of mobile has created new opportunities for IoT
Explosion of IoT has created new demand for mobile
Past Present Future
Proprietary and special-purpose
devices for accessing IoT
Mobile devices which most
people have already and apps
Cloud and mobile provides
ldquoeverywhererdquo access to IoT
Expensive gadgetry Affordable IoT devices Commodity pre-integrated
Wide range of protocols mostly
proprietary
Consolidation of protocols and
standards
Internet-ready widgets
Difficult to connect Low-level
programming
Software libraries and gateways
take care of the dirty work
Automated discovery and ldquoplug-in
readyrdquo value
Ad-hoc data models JSON universal internet language Timeseries JSON cloud
Barriers to adoption are
dropping rapidly
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 13
copy 2014 IBM Corporation
Technology shift consumers lead the Internet of Things
Today Tomorrow Integration
A few connected
devices per
personhellip
Almost every device that consumers own will be
connected and many new ones will be created to leverage
the value created by consumer connections
Cross-platform
integrators will
connected devices
and automate
personal activity Door Lock
Dishwasher
Clothes Washer
Clothes Dryer
Window Lock
Garage Door
Toothbrush
Garden Moisture
Coffee Maker
Home Lights
Examples
Iftttcom
Zapiercom
Just as consumers have led enterprises in embracing new mobile services we
believe they will lead the adoption of connected devices amp integrated services
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 14
copy 2014 IBM Corporation
All Internet of Things use cases have a common set of requirements
Requirements
Quickly and easily provision new sensors
Create a real-time communication channel with the sensor
Capture data from the sensor and store it in a time series database
Provide access to the collected data
Pay for the service based on usage
Extended Requirements
Provide analytics on the data in both real-time and historical data
Trigger events based on specific data conditions
Interact with the sensor from business applications andor from mobile devices
1 must provide perceived value ndash quality of
life bottom line societal safety etc
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 15
copy 2014 IBM Corporation
IoT data ldquoWe believe it is better to have application
programmers deal with performance problems
due to overuse of transactions as bottlenecks
arise rather than always coding around the
lack of transactionsrdquo
Paper ndash Spanner Googlersquos Globally-Distributed Database
NoSQL
TimeSeries
Relational
Primary IoT Data Requirements
Geospatial
More than one data access model
is useful
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 16
copy 2014 IBM Corporation
Devices create and require time series
Virtually every IoT device doing real stuff in the real world creates a time series ndash Deploy and configure device (location owner capabilities) metadata NoSQL ndash Take readings (temperature power humidity) time series ndash Trigger events (lights ON place call sound alarm) time series
Time series stored in relational or JSON is unnatural ndash frequent updates ndash new reading = new row in table ndash access is not sequential
TimeSeries data model support helps IoT ndash storage space ndash performance
ID Time Value
1 1000 66
2 1000 20
1 1005 75
5 1010 12
Relational table
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 17
copy 2014 IBM Corporation
Informix Time Series Approach
Device_ID Series
1 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
2 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
3 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
4 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
hellip hellip
Time series storage
bull Each row contains all the data for a single device data append to end of the row
bull Data is not indexed only the device ID column is indexed
bull Data on disk is clustered by device id and kept ordered by time
bull Device IDs stored once rather than with every record
bull Timestamps are not stored on disk instead are calculated by position in series
bull Missing intervals are marked with a placeholder
eg Hildebrand 3 million customers a
reading every six seconds 50k insertss
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 18
copy 2014 IBM Corporation
IBM Products used in IoT Solutions
Collection of data for all sensors
Data from other kinds of
sensors
Consumer Business
Sensors in the home
TimeSeries Service
NoSQL Relational Timeseries amp Spatial storage amp analytics
Acceleration Technology
BLU IWA
SPSSCognos
MessageSight MQTT
SoftLayer BlueMix
BigInsights
Gateways for local analytics
Infosphere Streams
(no gateway)
In-memory analytics
Predictive analytics and dashboard
Cloud infrastructure
Hadoop
Publish Subscribe
Real-time analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 19
copy 2014 IBM Corporation
Developed by business partners Shaspa Tatung and ST-Micro ndash Runs on ARM v7 and Intel Quark chip sets ndash 512MB to 1GB of memory ndash 1GB to 4GB of storage ndash WirelessBluetooth receiver
ndash 3 inch by 2 inch form factor
Software components in SmartGate
ndash Informix enterprise edition
ndash Webserver
ndash Debian Linux
ndash Connectivity to the TimeSeries cloud service
ndash Support for common device communication protocols including
bull Enocean KNX Modbus CANOpen Zigbee ZWave DALI MBus SNMP MPBus
Priced around $100
20
Shasparsquos SmartGate Gateway example of edge device for IoT
Informix Database
Inside
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 20
copy 2014 IBM Corporation
Why use a gateway for local analytics
1 Gateways can reduce the cost of the backend cloud
bull Reduces cloud storage by filteringaggregatinganalyzing data locally
bull Reduces cloud CPU requirements by pre-computing values
2 Reduces latency since actions can be taken immediately
bull Intelligent gateways can detect and respond to local events as they happen rather than waiting for transfer to the cloud
3 Many users are not comfortable putting their data in the cloud
bull Gateways allow customers to capture and get value from their sensors without sending data to the cloud
Over time more and more of the processing will move from the cloud to edge (gateway) devices
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 21
copy 2014 IBM Corporation
IBM Internet of Things analytics in the cloud
Analyze
Gateway Local Analytics
Analytics
Analyze other than the time
dimension
Aggregate and join across
data types and attributes
Millions of devices
System of record existing
mountains of data
Database in the cloud
Gateway Local Analytics
Gateways Local Analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 22
copy 2014 IBM Corporation 23
Where we are coming fromhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
A DB2 Customerrsquos Mobile Environment
Web
Server
Current Scenario
bull Simple ldquohome grownrdquo app outgrew its initial purpose and requirements
bull Connected Web application serving hundreds of sales associates
bull Access mostly via smart phone browser but also via laptop browser
bull PHP application
bull DB2 UDB data repository
New Requirements
bull Disconnected Mode
bull Access to local device address book calendar etc
bull Better authentication
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
24
copy 2014 IBM Corporation
DB2
Everyplace
Web
Sphere
JDBC
Replication Tables
Users XML
Sync
3500PDAs Windows mobile 61 and 65 running on PSIONPITION MOTOROLAHTCSANSUMGHHP
Windows Server
Quad Core
04Gb RAM
32Bits Current Scenario
bull DB2E is handling 3500 PDAs
bull DB2 Everyplace to connect field technicians to Informix database with service request data dispatching service orders to mobile users who are equipped with handheld devices improving responsiveness to service outages
bull Currently using Windows mobile 61 and 65 running on PSIONPITION MOTOROLA HTC SAMSUNG and HHP devices
bull Developed home-grown applications using NET
bull Some devices sync online and others offline
Another Customerrsquos Mobile Environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 25
copy 2014 IBM Corporation 26
Cloud and Mobile Applications
Experimental in nature
- Require rapid iteration
- Faster time to market
- May be decommissioned quickly ndash need
environments in minutes versus days or weeks
Are written in multiple languages
- Web JavaScript Ruby Java PHP
- Mobile iOS Android Hybrid
Composed of Services
- Build using a composition model of stitching
capabilities together
- Capabilities often require time to test in app
beyond the scope of a free trial
Integrate with existing systems
- Data is often located in multiple places (public
private traditional data center)
- Existing systems may not scale at the same the
level of cloud applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
WriteUpdate
System Of Record
bull Cloudant JSONDB
bull Mobile Data Services (Bluemix)
bull Integration Services
- Cast IronDataStage
Mobile Data Synchronization Landscape
System Of Record
Enterprise
Data Store (Informix DB2)
bull On Device data persistence (SQLite)
bull Data Sync between devices and to Cloudant
data store
bull UpdateWrite to System Of Record through
the front door (Using Enterprise app APIs)
bull Using Cloudant SDK on device
System Of Engagement
Enterprise App
APIs
Cast Iron
DataStage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 27
copy 2014 IBM Corporation 28
Dojo Mobile Toolkit
The Dojo Mobile toolkit is a powerful JavaScript framework
that provides all of the building blocks required to develop
lightweight high-performance mobile web applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Dojo Mobile Toolkit
One of the choices in the busy HTML5 amp CSS3 category
Mobile toolkit extends the existing Dojo toolkit to deal with
ndash Input device differences
ndash Smaller screen sizes
ndash Reduced processing power and footprint requirements of mobile devices
Excellent option for mobile apps where connectivity is consistent
Database connectivity is standard PHP database driver
Easy to enforce consistency across screens and applications with style sheets
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 29
copy 2014 IBM Corporation
Photo Share demo built using IBM Dojo Mobile Toolkit
Hosted via Softlayer nosqldemocom
Built for IOD 2013 to demonstrate Informix
hybrid (JSON relational and time series)
application support
PHP app using the MongoDB PHP driver for
connectivity to the Informix database
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 30
copy 2014 IBM Corporation 31
Cloudant
A distributed database as a service (DBaaS) allowing
developers of fast-growing web and mobile apps to focus on
building and improving their products instead of worrying
about scaling and managing databases on their own
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Cloudant Overview
ndash Operational JSON data store
ndash RESTful CouchDB API
ndash Advanced APIs
bull Replication amp Sync
bull Lucene Full-text Search
bull Geo-spatial
bull Incremental MapReduce
ndash Scalable Highly Available Performance
bull Cross-data center data distribution amp fail over
bull Geo load balancing
ndash Multi-tenant and dedicated-tenant clusters
ndash Monitoring administration amp development dashboards
ndash Managed 24x7 by big data experts
ndash Available in Rackspace IBMSoftLayer and AWS datacenters
32 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 3
bull Store data on the server
andor the local device
bull Native libraries support
synchronization process
and local storage
management
bull Synchronize data
between devices by
replicating data from
Cloudant
Store and Access Data Everywhere
Local
Storage
Local
Storage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 33
copy 2014 IBM Corporation 4
Putting Data at the Edge
bull Geographically disperse your data across multiple data centers
to allow for easy access depending on location
bull Ability to store data across 35 geographic locations
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 34
copy 2014 IBM Corporation 5
Local
Storage
bull Restored connection will
sync the data with the
server and other devices
connected to same source
bull Data redundancy across
data centers
Always Onhellip
bull Readwrite from local
storage when connection is
unavailable
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 35
copy 2014 IBM Corporation 7
Based on Open Industry Standardshellip
JSON Cloudant
HTTP HTTP
HTTP
bull Any device using HTTP and JSON can interact with Cloudant
HTTP
HTTP
HTTP
JSON
JSON
JSON
JSON
JSON
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 36
copy 2014 IBM Corporation
Cloudant Sync
Available for Android and IOS
Solution leverages devicersquos on-board
SQLite database for persistence
ndash Cloudant defines indexing scheme for
optimizing use of relational SQLite DB
with applicationrsquos JSON storage
requirements
Multi version concurrency control
Replication to the Cloudant server in the
cloud via HTTP
Mobile application does include and
interact with Cloudant SDK software which
resides on the device
ndash Cloudant Code is native (Java for
Android Objective C for IOS)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 37
copy 2014 IBM Corporation
Sync Cloudant with Informix or DB2
Leverage entire Cloudant implementation ndash
Cloudant Sync on the mobile device and
Cloudant in the cloud
Cloudant is the ldquosync serverrdquo with the
mobile application
Solution to sync data between the
Cloudant server and the IBM data server
would be a ldquohome grownrdquo solution
ndash One option would be to use REST API
to ldquopullrdquo data from Cloudant to DB2 via
stored procedures
ndash Standalone REST API based program
to extract from Cloudant and insert into
Informix
ndash Data exchanged as JSON documents
ndash IBM Data Stage supports JSON and
could be leveraged here
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 38
copy 2014 IBM Corporation 39
Bluemix
Bluemix is an open-standards cloud-based platform offering a
single solution environment with the instant resources and
infrastructure you need to develop and deploy apps across
multiple domains mdash fast
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Run Your Apps
The developer can chose any language
runtime or bring their own Just upload
your code and go
DevOps Development monitoring deployment
and logging tools allow the developer to
run the entire application
APIs and Services A catalog of open source IBM and third
party APIs services allow a developer
to stitch together an application in
minutes
Cloud Integration Build hybrid environments Connect to
on-premises systems of record plus other
public and private clouds Expose your
own APIs to your developers
Big Data Manage your Big Data requirements with
BLU Acceleration Hadoop based
analytics and your sensor and device
Internet of Things data
Introducing Bluemix
A rich set of mobile ready APIs that you can mix and match to power your App
NEW
copy 2014 IBM Corporation
Nodejs includes SDK for data
sync ndash Primary development language
for mobile and server side
scripting Includes templates and
SDK for syncing with the
database in the cloud
Mobile Application Security ndash basic app security framework -
enabling the developer to block
access to apps on specific
devices
Push ndash Create and schedule push
notifications for iOS and Android
devices to engage users when
they arent using the app
Mobile Data ndash SDKs to sync mobile shared data
with the scalable managed
Cloudant database as a service
Mobile Cloud BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 41
copy 2014 IBM Corporation
Node-RED ndash A visual tool for wiring your IoT
app
TimeSeries Database ndash Provides a managed data store
for Internet of Things device data
and enables you to do time series
analysis on that data
InternetOfThings ndash APIs allowing Bluemix
applications to access device
data simply and swiftly
Internet of Things (IoT) BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 42
copy 2014 IBM Corporation
43
Bluemix Mobile Services
Simplify app deployment infrastructure maintenance and improve app quality with cloud services for
mobile Accelerates app development with SDKs for iOS and Android
Push
Create and schedule push notifications for
iOS and Android devices to engage users
when they arenrsquot using the app User
tagging enables the user to select desired
push topics
Twilio Build apps that communicate Integrate
voice messaging and VoIP into your web
and mobile apps
Mobile Application Management Centrally manage app access through a
web based console Control and secure
apps through containerization and control
over the operational lifecycle
Mobile Data Enhance your mobile app with a shared
managed database in the Cloud that can
be accessed using native SDKs for iOS
and Android
Mobile Quality Assurance Instrument apps to capture tester and live-
user experiences including context-aware
crash log and in-app bug reports in-app
user feedback and insightful and
streamlined quality metrics
Cloud Services for Mobile in Minutes
Internet of Things Internet of Things APIs allowing Bluemix
applications to access device data simply
and swiftly Build apps for a smarter planet
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 44
Why Bluemix Mobile Services
bull Simplicity and speed for mobile developers to develop
and deploy a mobile backend to share data and
business logic
bull Native SDKs for Android and iOS make coding intuitive
for mobile app developers
bull Reduced cost of maintenance with fully managed
services
bull Integrated App Quality and App Management capability
bull Integrated platform to extend mobile applications with
enterprise data or to new scenarios such as Web APIs
or Internet of Things
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Mobile Data Service
With the Mobile Data service you can store delete update and query objects that are
stored in the cloud
You can use a REST URL to interrogate the data classes and content that is stored in the
cloud
With the Mobile Cloud Services SDK you can embed a special managed directory in your
application Any files that are stored in this managed directory can be monitored and
synchronized The application can share the contents of this managed directory by
connecting to Mobile Data service with the same application ID and user ID By sharing the
directory contents different instances of an application can have synchronized copies of the
files
You can import JSON or tabular data into Mobile Data service
File Sync is a separate plugin and that can be added to your mobile app
ndash Currenty a last write wins policy when multiple applications are updating the same files
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 45
copy 2014 IBM Corporation
Mobile Device
Mobile Data
Service
Mobile
Data API
Cache (SQLite)
Mobile
App
Bluemix
Mobile
Data Service
JSON
Object
Store
Data
Viewer
Bluemix Architecture for shared system of engagement data
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 46
copy 2014 IBM Corporation
Accessing Data in your Bluemix Database
Accessing data in the SQLDB (DB2) service ndash DB2 APIs ndash MongoDB APIs
Accessing data in the BLUAcceleration (DB2 with BLU Acceleration) service
ndash DB2 JDBC Ruby Nodejs Python and PHP APIs
Accessing data in the TimeSeries Database (Informix) service ndash Informix REST APIs ndash Informix SQLI APIs (JDBC ODBC ESQLC etc) ndash MongoDB APIs
Accessing data in the Cloudant JSONDB service ndash Cloudant REST services
copy 2014 IBM Corporation
Accessing your Enterprise Data from Bluemix
Accessing your on-premises enterprise database from your Bluemix app
would be a custom ldquohome grownrdquo application
All of your Bluemix data is resident in the Bluemix Cloud
Enterprise access would be possible if you want to move your enterprise
data to the SQLDB service (DB2) or TimeSeries Database (Informix)
Or access your on-premises enterprise data using REST or web services
from your Bluemix application
Or perhaps use Bluemix as a development sandbox and then shift to
SoftLayer where your Enterprise environment could be hosted
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 48
copy 2014 IBM Corporation 49
WorkLight
IBM Worklight provides an open comprehensive and advanced mobile
application platform for smartphones and tablets It helps organizations
of all sizes to efficiently develop test connect run and manage mobile
applications (apps)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
IBM Worklight A mobile application platform
Speeding the development integration and management of mobile applications and
infrastructure
Accelerate Development bull Web hybrid and native development open flexible
standard-based multi-screenomni-channel bull Functional testing bull Development lifecycle tools and integration
Facilitate App Security and Trust bull Server-enforced authentication bull App authenticity and user-app-device binding bull Secure and syncable on-device storage bull App version enforcement
Enable User Engagement bull Unified push and SMS notifications bull Geolocation and context collections and intelligence bull Mobile-friendly integration
Support Mobile Analytics bull Efficient acquisition of analytics data bull Development operational and business analytics bull Offline and online event management integration
Best Mobile Development Solution
voted by SIIA members 2013 CODiE Awards
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 50
copy 2014 IBM Corporation
Components of the IBM Worklight Mobile Platform
bullplus Worklight Mobile Test Workbench for automated functional testing
bulland Worklight Analytics Platform for an aggregated view of server and
clientmobile information
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 51
copy 2014 IBM Corporation
Worklight Server Procedures amp Adapters
bull Worklight Server resident procedures perform the interaction between the application and the back end applications bull Procedures are written in Javascript and interact with mobile applications over
HTTP using JSON-formatted data bull Procedures perform the conversions between JSON format and the format
required by the back end application
SQL Adapters are procedures which can be configured to execute parameterized SQL queries and stored procedures in order to retrieve or update data in the database
ndash Worklight SQL adapters for DB2 MySQL and Oracle using JDBC connectivity ndash Additional SQL adapters can be created
Other custom adapters can be developed to interact with other data sources ndash New adapter for Cloudant for example
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 52
copy 2014 IBM Corporation
Worklight Adapters
Connect to enterprise applications and
cloud services
Deliver data to and from mobile
applications
Perform any necessary server-side
logic on this data
Query
Update data
DataResult
as JSON
Invoke adapter
procedure
SQL Cast Iron
Worklight
Response
1
2 3
4
SAP JMS HTTP Cloudant
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 53
copy 2014 IBM Corporation
Worklight Server
SQL Adapters would be required to link your enterprise data store with
your mobile application
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 54
copy 2014 IBM Corporation
Bluemix complements Worklight - enabling enterprise application agility
IBM Codename Bluemix IBM Worklight
+ IBM amp Third Party APIs forhellip
Mobile Web
Devops Big Data amp
Analytics
Inte-
gration
and More
Extend your enterprise mobile app platform investment through
Cloud APIs
In Worklight 62 (June 2014)
bull Worklight ready SDK that can be plugged into your project
bull Lifecycle management controls API access for Bluemix services
bull Worklight security framework integrates with Bluemix SSO
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 55
copy 2014 IBM Corporation
Enterprise Data
and Services
Worklight
Server
Cloud Data and
Services
Adapters
bull Server-side logic in
JavaScript
bull Read-only or Txn
bull Secure and Uniform
access to business
data
Worklight Adapters
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 56
copy 2014 IBM Corporation
Genero Mobile
A integrated platform for the rapid development of rich business applications
taking your application ideas to the desktop web and now to mobile devices
while fulfilling the promise of ldquoWrite Once Run Anywhererdquo
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 57
copy 2014 IBM Corporation
Genero Key features - Write once deploy everywhere
bull Rapid Development of rich business applications
bull Modernize legacy 4th generation language (green screen) apps
bull Desktop web and now mobile applications
bull Developed by IBM Business Partner 4Js
bull Native Dynamic Virtual Machine for mobile platforms (iOSamp Android)
bull Native GUI native performance
bull Connecteddisconnected mode
bull SQLite access on mobile device
bull Server database synchronization with Informix DB2 and other RDBMS
bull UTF-8
bull JSON Web Services RESTful services
bull App store or Over the Air installation
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 58
copy 2014 IBM Corporation
Genero Mobile Options Genero Web Client (GWC)
ndash Application is hosted on back end server
ndash Hosted via Genero Application Server through your web browser
ndash ldquoConnectedrdquo application
Genero Hybrid Client (GHC)
ndash Application runs within HTML5 native container
ndash Some access to local device applications amp data
ndash Hosted via Genero Application Server via web browser
ndash Downloaded via App Stores
Genero Mobile Client (GMC)
ndash 4Js announced GMC at 2013 IIUG conference and in ldquoStatement of Directionrdquo on web site
ndash Native DVM for Android and IOS supporting native user interfaces
ndash True ldquodisconnectedrdquo applications
ndash Apps will be native and can thus be hosted via App Stores (iTunes etc)
ndash Local SQLite database utilized ndash syncing with RDBMS planned
ndash Early Access Program (beta) is currently in progress
ndash General availability in June 2014
59 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Genero Mobile applications Application types
Native Advanced UI actions
Best performance
App store distribution
Hybrid Web developer skills
Native access
App store distribution
HTML5 Web developer skills
Cross platform
Instant updates
Unrestricted distribution
No offline mode
Genero Hybrid Client
Genero Web Client
Genero Mobile Client
4Js announced direction
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 60
copy 2014 IBM Corporation
Native application Mobile browser Native container
Native HTML5 Hybrid
Genero Mobile applications Application types
Hybrid
Mobile browser
HTML5
Native container
Hybrid
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 61
copy 2014 IBM Corporation
Flexible deployment Genero Mobile ndash one source code base 90 market coverage
FUNCTION edit_customer(num)
DEFINE num LIKE customercustomer_num
LET int_flag = FALSE
SELECT INTO customer
FROM customer
WHERE customer_num == num
INPUT BY NAME customer WITHOUT DEFAULTS
ON ACTION zoom INFIELD state
LET customerstate =
statesgetState(customerstate)
DISPLAY BY NAME customerstate
END INPUT
IF NOT int_flag THEN
UPDATE customer SET customer = customer
WHERE customer_num = num
ELSE
SELECT INTO customer
FROM customer
WHERE customer_num == num
DISPLAY BY NAME customer
END IF
END FUNCTION
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 62
copy 2014 IBM Corporation
bull Easy and consistent access to local
applications on IOS and Android
ndash Camera
ndash Contacts
ndash Email
ndash Calendar
ndash GPS
ndash Storage
Flexible deployment Genero Mobile ndash no need to choose Objective bdquoC‟ or Java
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 63
copy 2014 IBM Corporation
bull Native widgets
Genero Mobile Native UI combined with power of Genero
bull Native interactions ndash ex swipe left to
delete
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 64
copy 2014 IBM Corporation
Mobile device
iOSAndroid process
GUI
thread
VM
thread
Disconnected mode Device runs application and stores data offline (on the device)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 65
copy 2014 IBM Corporation
Web server
http
Mobile device
iOSAndroid process
GUI
thread
VM
GAS +
PROXY
Connected mode Device connects to a remote corporate server as an online terminal
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 66
copy 2014 IBM Corporation
Web server
JSON
http
Mobile device
iOSAndroid process
GUI
thread
VM
thread
Data synchronization ndash JSON JSON Web Services ndash offline data capture and sync with a remote database when online
VM
DBMS
SQLite
Web
Service
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 67
copy 2014 IBM Corporation
Summary
Back to our customerrsquos mobile applicationhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 68
copy 2014 IBM Corporation
Our DB2 Customerrsquos Mobile Environment ndash One New Scenario
Possible New Scenario
bull IBM Worklight based solution
bull Native iOS and Android mobile applications
bull Native apps can run in disconnected mode using local device data storage
bull Sync between device data storage and DB2 UDB data repository server using SQL Adapter
bull Native apps access local device resources
bull Enterprise authentication and mobile device management
Worklight
Server
Authentication
SQL Adapter
WebSphere
App Server
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 69
copy 2014 IBM Corporation
On Premises
data center
SoftLayer
Cloudant
REST over HTTP
Tables
Users
CloudSync
bull10000+ Android tablets
bullMobile app using Cloudant SDK
Possible New Scenario
bull New Android tablets
bull Cloudant SDK on the mobile device and CloudSync to sync the devices with the Cloudant server(s)
bull Custom REST based sync program to sync the Cloud-based Cloudant server with the on-premises Informix servers
Informix Customerrsquos Mobile Environment ndash One New Scenario
Sync
program
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 70
copy 2014 IBM Corporation 71
DB2 Tech Talk Informix and DB2 for Internet of Things amp Mobile Apps Next Steps Roadmap
Read about mobile app development and Internet of Things
bull Mobile Development on IBM developerWorks links to BlueMix Worklight Check products and tools tab bitlymobiledevdw
bull Mobile development on ibmcom bitly1h4IWo8
bull Bluemix introduction the next cloud platform bitly1pCXZrM
bull IBM Internet of Things page including Redbooks publication bitly1mOlt8G
bull Genero Mobile www4jscom
bull Dojo Mobile bitly1mOmyxf
Test drive the tools
bull Informix software download bitly1oSBm2y
bull BLU Acceleration for Cloud Open Beta googlAkMm8e
bull DB2 105 trial software Ibmcodb2download
bull Bluemix beta software acengbluemixnet
bull Worklight Developer Edition bitly1x1FSy2
Participate in the conversation
developerWorks answers Internet of Things technical forum
bitlyU9nPqT
Reference
Call IBM to schedule a demo or learn more
bull 1 800 966-9875 (US)
bull 1-888-746-7426 (Canada)
bull 1800-425-3333 (India)
bull Or visit httpwwwibmcomplanetwide for contact information worldwide
IBM DB2 105 product page
Ibmcomdb2
IBM DB2 105 Product features
ibmco12c1PJz
IBM Data Studio product page
Ibmcoibmdsinfo
Tech forum on developerWorks
bitlydb2forumluw
SQL Tips Blog
wwwsqltips4db2com
Step Three
Step Two
Step One
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 72
Upcoming Tech Talks Don‟t miss these in-depth DB2 feature talks
Dates and topics subject to change and modification
How to register
DB2 Tech Talks web site
Next DB2 Tech Talk DB2 with BLU Acceleration for SAP
bull July 17 2014 at 1230 PM
bull Guersad kuecuek Technical Specialist
DB2 and SAP in Europe
bull Registration bitlytt2014jul
bullIDUG DB2 Tech Conference Austrailasia
bull Sydney
bull September 10 ndash 12 2014
bull wwwidugorg
bullIBM Insight 2014
former Information on Demand Conference
bull Las Vegas NV
bull October 26 ndash 30 2014
bull bitlyibminsight2014
bullIDUG DB2 Tech Conference EMEA
bull Prague Czech Republic
bull November 9 ndash 14 2014
bull wwwidugorg
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Learn engage and get social new DB2 with BLU Acceleration microsite
wwwibmBLUhubcom
DB2 with BLU Acceleration is for
reporting ndash Fast and simple way to respond to
continual reporting requests
ndash No tuning no tweaking
ndash Gets you back to high-value
projects
BLU Acceleration hub contains ndash Technical information and
ldquoinformation for your bossrdquo
ndash Access to the social conversation
ndash Links to software trial and BLU
Acceleration for Cloud
And more Check it out
73 Need webcast troubleshooting help Click attachments
Need webcast troubleshooting help Click attachments
BLU ndash Cognos Demo bitlydemoblu-cognos
copy 2014 IBM Corporation 74
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 75
Questions
Listening in replay
Questions wwwsqltips4db2com
Click submit a question
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 76
Thanks for attending
Please rate the session
Presentation download bitlyttfilemay14
click Attachments in this webcast environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Agenda
Internet of Things and Mobile Intro - Jef Treece
Some Implementation Details ndash Shawn Moe
ndash Where we are coming fromhellip
ndash Dojo Mobile Toolkit
ndash Cloudant
ndash Bluemix
ndash WorkLight
ndash Genero Mobile
4 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Data Cloud Engagement
New business models are placing demands on mobile and data apps
A systematic approach to
engagement is now
required
Cloud demands ndash and
enables ndash new business
models
Data is the new
basis of competitive
advantage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 5
copy 2014 IBM Corporation
Social Media
Cloud Computing
Mobile
How long will
users wait
Internet of Things
Define real-time please
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 6
copy 2014 IBM Corporation
Key trends motivating mobile application developers
Supporting the business trends ndash more interactions
In 2013 smartphones overtook non-smart phones globally (gt50) ndash mind-share of non-mobile is dwindling ndash ability to ldquoeat your own dog foodrdquo
Android + iOS now make up well over 90 of smartphone sales ndash consolidation ndash capture broader base with fewer ports
The app market was worth $70 billion in 2013 expected to double by 2016 ndash developer interest in a growing market for making $$
Android now mandatory ndash itrsquos only a matter of priority which one to do first ndash 70 of developers that target mobile create apps for Android ndash the market is now flooded with Android platforms ndash easy to obtain
Tablet users grew by 3x from 2011 to 2014 (US ndash 90 million 2014) ndash widespread use is replacing desktop and laptop as primary platform
Internet-of-things goes hand-in-hand with mobile ndash access devices and data from everywhere ndash end users now expect a mobile app to access the ldquothingsrdquo
NoSQL Market
$14 billion 2013-2018
Digital Ads
Fraud Detection
Mobile
Market Analysis
Pricing
Billing
Customer Loyalty
Documents
Data requirements also changing
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 7
copy 2014 IBM Corporation Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 8
copy 2014 IBM Corporation
Some general approaches to mobile app development
Mobile web sites (HTML CSS PHP and other standards with mobile device detection) ndash lowest on the UX scale with network-dependent performance ndash lowest on the NX scale no access to device features
Mobile web applications (typically HTML5 JavaScript and other standards) ndash more modern version of web apps which leverage devices better decent UX ndash typically moderate dependency on network ndash connected-mode ndash can be designed to work without mods on wide range of devices
Cross-platform frameworks (write once run everywhere) ndash cross-compilation produce complete native apps from common code base
Hybrid ndash special case of cross-platform ndash HTML wrapped in a native container install app on the device in a standard way ndash typically supports some level of disconnected-mode
Native applications ndash developer kit for the device ndash tools IDEs ndash separate code lines per devices but best UX and NX
UX = User Experience
NX = Native Experience
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 9
copy 2014 IBM Corporation
What are some key developer tools and languages for mobile
bull Demand for Python Java and Javascript remains strong bull ASPNET and C decreasing bull Objective C demand almost double that of Android bull RESTful APIs in demand bull Limitations of unstructured databases are driving requirements for hybrid SQLNoSQL solution
for speed simplicity and flexibility
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 10
copy 2014 IBM Corporation
Our world is getting smarter
Digital technologies (sensors and other monitoring instruments) are being
embedded into every object system and process
All the data generated by digital technology is providing intelligence
to help us do things better improving our responsiveness and our ability to predict and
optimize for future events
INTELLIGENT
INSTRUMENTED
INTERCONNECTED
In the globalized networked world people systems
objects and processes are connected and they
are communicating with one another in entirely new ways
Internet of Things solutions implement the three basic principles Instrumented Interconnected and Intelligent systems of Smarter Planet
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 11
copy 2014 IBM Corporation
ldquoConnected Liferdquo forecast $45T in 2020
Connected Life is everything that is connected and how they interact cars mobile devices buildings sensors and people
Top Ten in 2020 1 Connected Car $600 billion 2 Clinical Remote Monitoring $350 billion 3 Assisted Living $270 billion 4 Home and Building Security $250 billion 5 Pay-As-You-Drive Car Insurance $245 billion 6 New Business Models for Car Usage $225 billion 7 Smart Meters $105 billion 8 Traffic Management $100 billion 9 Electric Vehicle Charging $75 billion 10 Building Automation $40 billion
NY Times A Messenger for the Internet of Things
Wall Street Journal IBM Tackles Machine to Machine Big Data Deluge
Sourcehttpwwwglobaltelecomsbusinesscomarticle2985699Connected-devices-will-be-worth-45thtml
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 12
copy 2014 IBM Corporation
Nexus mobile devices and IoT
Explosion of mobile has created new opportunities for IoT
Explosion of IoT has created new demand for mobile
Past Present Future
Proprietary and special-purpose
devices for accessing IoT
Mobile devices which most
people have already and apps
Cloud and mobile provides
ldquoeverywhererdquo access to IoT
Expensive gadgetry Affordable IoT devices Commodity pre-integrated
Wide range of protocols mostly
proprietary
Consolidation of protocols and
standards
Internet-ready widgets
Difficult to connect Low-level
programming
Software libraries and gateways
take care of the dirty work
Automated discovery and ldquoplug-in
readyrdquo value
Ad-hoc data models JSON universal internet language Timeseries JSON cloud
Barriers to adoption are
dropping rapidly
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 13
copy 2014 IBM Corporation
Technology shift consumers lead the Internet of Things
Today Tomorrow Integration
A few connected
devices per
personhellip
Almost every device that consumers own will be
connected and many new ones will be created to leverage
the value created by consumer connections
Cross-platform
integrators will
connected devices
and automate
personal activity Door Lock
Dishwasher
Clothes Washer
Clothes Dryer
Window Lock
Garage Door
Toothbrush
Garden Moisture
Coffee Maker
Home Lights
Examples
Iftttcom
Zapiercom
Just as consumers have led enterprises in embracing new mobile services we
believe they will lead the adoption of connected devices amp integrated services
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 14
copy 2014 IBM Corporation
All Internet of Things use cases have a common set of requirements
Requirements
Quickly and easily provision new sensors
Create a real-time communication channel with the sensor
Capture data from the sensor and store it in a time series database
Provide access to the collected data
Pay for the service based on usage
Extended Requirements
Provide analytics on the data in both real-time and historical data
Trigger events based on specific data conditions
Interact with the sensor from business applications andor from mobile devices
1 must provide perceived value ndash quality of
life bottom line societal safety etc
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 15
copy 2014 IBM Corporation
IoT data ldquoWe believe it is better to have application
programmers deal with performance problems
due to overuse of transactions as bottlenecks
arise rather than always coding around the
lack of transactionsrdquo
Paper ndash Spanner Googlersquos Globally-Distributed Database
NoSQL
TimeSeries
Relational
Primary IoT Data Requirements
Geospatial
More than one data access model
is useful
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 16
copy 2014 IBM Corporation
Devices create and require time series
Virtually every IoT device doing real stuff in the real world creates a time series ndash Deploy and configure device (location owner capabilities) metadata NoSQL ndash Take readings (temperature power humidity) time series ndash Trigger events (lights ON place call sound alarm) time series
Time series stored in relational or JSON is unnatural ndash frequent updates ndash new reading = new row in table ndash access is not sequential
TimeSeries data model support helps IoT ndash storage space ndash performance
ID Time Value
1 1000 66
2 1000 20
1 1005 75
5 1010 12
Relational table
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 17
copy 2014 IBM Corporation
Informix Time Series Approach
Device_ID Series
1 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
2 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
3 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
4 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
hellip hellip
Time series storage
bull Each row contains all the data for a single device data append to end of the row
bull Data is not indexed only the device ID column is indexed
bull Data on disk is clustered by device id and kept ordered by time
bull Device IDs stored once rather than with every record
bull Timestamps are not stored on disk instead are calculated by position in series
bull Missing intervals are marked with a placeholder
eg Hildebrand 3 million customers a
reading every six seconds 50k insertss
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 18
copy 2014 IBM Corporation
IBM Products used in IoT Solutions
Collection of data for all sensors
Data from other kinds of
sensors
Consumer Business
Sensors in the home
TimeSeries Service
NoSQL Relational Timeseries amp Spatial storage amp analytics
Acceleration Technology
BLU IWA
SPSSCognos
MessageSight MQTT
SoftLayer BlueMix
BigInsights
Gateways for local analytics
Infosphere Streams
(no gateway)
In-memory analytics
Predictive analytics and dashboard
Cloud infrastructure
Hadoop
Publish Subscribe
Real-time analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 19
copy 2014 IBM Corporation
Developed by business partners Shaspa Tatung and ST-Micro ndash Runs on ARM v7 and Intel Quark chip sets ndash 512MB to 1GB of memory ndash 1GB to 4GB of storage ndash WirelessBluetooth receiver
ndash 3 inch by 2 inch form factor
Software components in SmartGate
ndash Informix enterprise edition
ndash Webserver
ndash Debian Linux
ndash Connectivity to the TimeSeries cloud service
ndash Support for common device communication protocols including
bull Enocean KNX Modbus CANOpen Zigbee ZWave DALI MBus SNMP MPBus
Priced around $100
20
Shasparsquos SmartGate Gateway example of edge device for IoT
Informix Database
Inside
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 20
copy 2014 IBM Corporation
Why use a gateway for local analytics
1 Gateways can reduce the cost of the backend cloud
bull Reduces cloud storage by filteringaggregatinganalyzing data locally
bull Reduces cloud CPU requirements by pre-computing values
2 Reduces latency since actions can be taken immediately
bull Intelligent gateways can detect and respond to local events as they happen rather than waiting for transfer to the cloud
3 Many users are not comfortable putting their data in the cloud
bull Gateways allow customers to capture and get value from their sensors without sending data to the cloud
Over time more and more of the processing will move from the cloud to edge (gateway) devices
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 21
copy 2014 IBM Corporation
IBM Internet of Things analytics in the cloud
Analyze
Gateway Local Analytics
Analytics
Analyze other than the time
dimension
Aggregate and join across
data types and attributes
Millions of devices
System of record existing
mountains of data
Database in the cloud
Gateway Local Analytics
Gateways Local Analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 22
copy 2014 IBM Corporation 23
Where we are coming fromhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
A DB2 Customerrsquos Mobile Environment
Web
Server
Current Scenario
bull Simple ldquohome grownrdquo app outgrew its initial purpose and requirements
bull Connected Web application serving hundreds of sales associates
bull Access mostly via smart phone browser but also via laptop browser
bull PHP application
bull DB2 UDB data repository
New Requirements
bull Disconnected Mode
bull Access to local device address book calendar etc
bull Better authentication
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
24
copy 2014 IBM Corporation
DB2
Everyplace
Web
Sphere
JDBC
Replication Tables
Users XML
Sync
3500PDAs Windows mobile 61 and 65 running on PSIONPITION MOTOROLAHTCSANSUMGHHP
Windows Server
Quad Core
04Gb RAM
32Bits Current Scenario
bull DB2E is handling 3500 PDAs
bull DB2 Everyplace to connect field technicians to Informix database with service request data dispatching service orders to mobile users who are equipped with handheld devices improving responsiveness to service outages
bull Currently using Windows mobile 61 and 65 running on PSIONPITION MOTOROLA HTC SAMSUNG and HHP devices
bull Developed home-grown applications using NET
bull Some devices sync online and others offline
Another Customerrsquos Mobile Environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 25
copy 2014 IBM Corporation 26
Cloud and Mobile Applications
Experimental in nature
- Require rapid iteration
- Faster time to market
- May be decommissioned quickly ndash need
environments in minutes versus days or weeks
Are written in multiple languages
- Web JavaScript Ruby Java PHP
- Mobile iOS Android Hybrid
Composed of Services
- Build using a composition model of stitching
capabilities together
- Capabilities often require time to test in app
beyond the scope of a free trial
Integrate with existing systems
- Data is often located in multiple places (public
private traditional data center)
- Existing systems may not scale at the same the
level of cloud applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
WriteUpdate
System Of Record
bull Cloudant JSONDB
bull Mobile Data Services (Bluemix)
bull Integration Services
- Cast IronDataStage
Mobile Data Synchronization Landscape
System Of Record
Enterprise
Data Store (Informix DB2)
bull On Device data persistence (SQLite)
bull Data Sync between devices and to Cloudant
data store
bull UpdateWrite to System Of Record through
the front door (Using Enterprise app APIs)
bull Using Cloudant SDK on device
System Of Engagement
Enterprise App
APIs
Cast Iron
DataStage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 27
copy 2014 IBM Corporation 28
Dojo Mobile Toolkit
The Dojo Mobile toolkit is a powerful JavaScript framework
that provides all of the building blocks required to develop
lightweight high-performance mobile web applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Dojo Mobile Toolkit
One of the choices in the busy HTML5 amp CSS3 category
Mobile toolkit extends the existing Dojo toolkit to deal with
ndash Input device differences
ndash Smaller screen sizes
ndash Reduced processing power and footprint requirements of mobile devices
Excellent option for mobile apps where connectivity is consistent
Database connectivity is standard PHP database driver
Easy to enforce consistency across screens and applications with style sheets
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 29
copy 2014 IBM Corporation
Photo Share demo built using IBM Dojo Mobile Toolkit
Hosted via Softlayer nosqldemocom
Built for IOD 2013 to demonstrate Informix
hybrid (JSON relational and time series)
application support
PHP app using the MongoDB PHP driver for
connectivity to the Informix database
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 30
copy 2014 IBM Corporation 31
Cloudant
A distributed database as a service (DBaaS) allowing
developers of fast-growing web and mobile apps to focus on
building and improving their products instead of worrying
about scaling and managing databases on their own
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Cloudant Overview
ndash Operational JSON data store
ndash RESTful CouchDB API
ndash Advanced APIs
bull Replication amp Sync
bull Lucene Full-text Search
bull Geo-spatial
bull Incremental MapReduce
ndash Scalable Highly Available Performance
bull Cross-data center data distribution amp fail over
bull Geo load balancing
ndash Multi-tenant and dedicated-tenant clusters
ndash Monitoring administration amp development dashboards
ndash Managed 24x7 by big data experts
ndash Available in Rackspace IBMSoftLayer and AWS datacenters
32 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 3
bull Store data on the server
andor the local device
bull Native libraries support
synchronization process
and local storage
management
bull Synchronize data
between devices by
replicating data from
Cloudant
Store and Access Data Everywhere
Local
Storage
Local
Storage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 33
copy 2014 IBM Corporation 4
Putting Data at the Edge
bull Geographically disperse your data across multiple data centers
to allow for easy access depending on location
bull Ability to store data across 35 geographic locations
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 34
copy 2014 IBM Corporation 5
Local
Storage
bull Restored connection will
sync the data with the
server and other devices
connected to same source
bull Data redundancy across
data centers
Always Onhellip
bull Readwrite from local
storage when connection is
unavailable
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 35
copy 2014 IBM Corporation 7
Based on Open Industry Standardshellip
JSON Cloudant
HTTP HTTP
HTTP
bull Any device using HTTP and JSON can interact with Cloudant
HTTP
HTTP
HTTP
JSON
JSON
JSON
JSON
JSON
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 36
copy 2014 IBM Corporation
Cloudant Sync
Available for Android and IOS
Solution leverages devicersquos on-board
SQLite database for persistence
ndash Cloudant defines indexing scheme for
optimizing use of relational SQLite DB
with applicationrsquos JSON storage
requirements
Multi version concurrency control
Replication to the Cloudant server in the
cloud via HTTP
Mobile application does include and
interact with Cloudant SDK software which
resides on the device
ndash Cloudant Code is native (Java for
Android Objective C for IOS)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 37
copy 2014 IBM Corporation
Sync Cloudant with Informix or DB2
Leverage entire Cloudant implementation ndash
Cloudant Sync on the mobile device and
Cloudant in the cloud
Cloudant is the ldquosync serverrdquo with the
mobile application
Solution to sync data between the
Cloudant server and the IBM data server
would be a ldquohome grownrdquo solution
ndash One option would be to use REST API
to ldquopullrdquo data from Cloudant to DB2 via
stored procedures
ndash Standalone REST API based program
to extract from Cloudant and insert into
Informix
ndash Data exchanged as JSON documents
ndash IBM Data Stage supports JSON and
could be leveraged here
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 38
copy 2014 IBM Corporation 39
Bluemix
Bluemix is an open-standards cloud-based platform offering a
single solution environment with the instant resources and
infrastructure you need to develop and deploy apps across
multiple domains mdash fast
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Run Your Apps
The developer can chose any language
runtime or bring their own Just upload
your code and go
DevOps Development monitoring deployment
and logging tools allow the developer to
run the entire application
APIs and Services A catalog of open source IBM and third
party APIs services allow a developer
to stitch together an application in
minutes
Cloud Integration Build hybrid environments Connect to
on-premises systems of record plus other
public and private clouds Expose your
own APIs to your developers
Big Data Manage your Big Data requirements with
BLU Acceleration Hadoop based
analytics and your sensor and device
Internet of Things data
Introducing Bluemix
A rich set of mobile ready APIs that you can mix and match to power your App
NEW
copy 2014 IBM Corporation
Nodejs includes SDK for data
sync ndash Primary development language
for mobile and server side
scripting Includes templates and
SDK for syncing with the
database in the cloud
Mobile Application Security ndash basic app security framework -
enabling the developer to block
access to apps on specific
devices
Push ndash Create and schedule push
notifications for iOS and Android
devices to engage users when
they arent using the app
Mobile Data ndash SDKs to sync mobile shared data
with the scalable managed
Cloudant database as a service
Mobile Cloud BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 41
copy 2014 IBM Corporation
Node-RED ndash A visual tool for wiring your IoT
app
TimeSeries Database ndash Provides a managed data store
for Internet of Things device data
and enables you to do time series
analysis on that data
InternetOfThings ndash APIs allowing Bluemix
applications to access device
data simply and swiftly
Internet of Things (IoT) BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 42
copy 2014 IBM Corporation
43
Bluemix Mobile Services
Simplify app deployment infrastructure maintenance and improve app quality with cloud services for
mobile Accelerates app development with SDKs for iOS and Android
Push
Create and schedule push notifications for
iOS and Android devices to engage users
when they arenrsquot using the app User
tagging enables the user to select desired
push topics
Twilio Build apps that communicate Integrate
voice messaging and VoIP into your web
and mobile apps
Mobile Application Management Centrally manage app access through a
web based console Control and secure
apps through containerization and control
over the operational lifecycle
Mobile Data Enhance your mobile app with a shared
managed database in the Cloud that can
be accessed using native SDKs for iOS
and Android
Mobile Quality Assurance Instrument apps to capture tester and live-
user experiences including context-aware
crash log and in-app bug reports in-app
user feedback and insightful and
streamlined quality metrics
Cloud Services for Mobile in Minutes
Internet of Things Internet of Things APIs allowing Bluemix
applications to access device data simply
and swiftly Build apps for a smarter planet
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 44
Why Bluemix Mobile Services
bull Simplicity and speed for mobile developers to develop
and deploy a mobile backend to share data and
business logic
bull Native SDKs for Android and iOS make coding intuitive
for mobile app developers
bull Reduced cost of maintenance with fully managed
services
bull Integrated App Quality and App Management capability
bull Integrated platform to extend mobile applications with
enterprise data or to new scenarios such as Web APIs
or Internet of Things
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Mobile Data Service
With the Mobile Data service you can store delete update and query objects that are
stored in the cloud
You can use a REST URL to interrogate the data classes and content that is stored in the
cloud
With the Mobile Cloud Services SDK you can embed a special managed directory in your
application Any files that are stored in this managed directory can be monitored and
synchronized The application can share the contents of this managed directory by
connecting to Mobile Data service with the same application ID and user ID By sharing the
directory contents different instances of an application can have synchronized copies of the
files
You can import JSON or tabular data into Mobile Data service
File Sync is a separate plugin and that can be added to your mobile app
ndash Currenty a last write wins policy when multiple applications are updating the same files
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 45
copy 2014 IBM Corporation
Mobile Device
Mobile Data
Service
Mobile
Data API
Cache (SQLite)
Mobile
App
Bluemix
Mobile
Data Service
JSON
Object
Store
Data
Viewer
Bluemix Architecture for shared system of engagement data
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 46
copy 2014 IBM Corporation
Accessing Data in your Bluemix Database
Accessing data in the SQLDB (DB2) service ndash DB2 APIs ndash MongoDB APIs
Accessing data in the BLUAcceleration (DB2 with BLU Acceleration) service
ndash DB2 JDBC Ruby Nodejs Python and PHP APIs
Accessing data in the TimeSeries Database (Informix) service ndash Informix REST APIs ndash Informix SQLI APIs (JDBC ODBC ESQLC etc) ndash MongoDB APIs
Accessing data in the Cloudant JSONDB service ndash Cloudant REST services
copy 2014 IBM Corporation
Accessing your Enterprise Data from Bluemix
Accessing your on-premises enterprise database from your Bluemix app
would be a custom ldquohome grownrdquo application
All of your Bluemix data is resident in the Bluemix Cloud
Enterprise access would be possible if you want to move your enterprise
data to the SQLDB service (DB2) or TimeSeries Database (Informix)
Or access your on-premises enterprise data using REST or web services
from your Bluemix application
Or perhaps use Bluemix as a development sandbox and then shift to
SoftLayer where your Enterprise environment could be hosted
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 48
copy 2014 IBM Corporation 49
WorkLight
IBM Worklight provides an open comprehensive and advanced mobile
application platform for smartphones and tablets It helps organizations
of all sizes to efficiently develop test connect run and manage mobile
applications (apps)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
IBM Worklight A mobile application platform
Speeding the development integration and management of mobile applications and
infrastructure
Accelerate Development bull Web hybrid and native development open flexible
standard-based multi-screenomni-channel bull Functional testing bull Development lifecycle tools and integration
Facilitate App Security and Trust bull Server-enforced authentication bull App authenticity and user-app-device binding bull Secure and syncable on-device storage bull App version enforcement
Enable User Engagement bull Unified push and SMS notifications bull Geolocation and context collections and intelligence bull Mobile-friendly integration
Support Mobile Analytics bull Efficient acquisition of analytics data bull Development operational and business analytics bull Offline and online event management integration
Best Mobile Development Solution
voted by SIIA members 2013 CODiE Awards
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 50
copy 2014 IBM Corporation
Components of the IBM Worklight Mobile Platform
bullplus Worklight Mobile Test Workbench for automated functional testing
bulland Worklight Analytics Platform for an aggregated view of server and
clientmobile information
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 51
copy 2014 IBM Corporation
Worklight Server Procedures amp Adapters
bull Worklight Server resident procedures perform the interaction between the application and the back end applications bull Procedures are written in Javascript and interact with mobile applications over
HTTP using JSON-formatted data bull Procedures perform the conversions between JSON format and the format
required by the back end application
SQL Adapters are procedures which can be configured to execute parameterized SQL queries and stored procedures in order to retrieve or update data in the database
ndash Worklight SQL adapters for DB2 MySQL and Oracle using JDBC connectivity ndash Additional SQL adapters can be created
Other custom adapters can be developed to interact with other data sources ndash New adapter for Cloudant for example
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 52
copy 2014 IBM Corporation
Worklight Adapters
Connect to enterprise applications and
cloud services
Deliver data to and from mobile
applications
Perform any necessary server-side
logic on this data
Query
Update data
DataResult
as JSON
Invoke adapter
procedure
SQL Cast Iron
Worklight
Response
1
2 3
4
SAP JMS HTTP Cloudant
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 53
copy 2014 IBM Corporation
Worklight Server
SQL Adapters would be required to link your enterprise data store with
your mobile application
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 54
copy 2014 IBM Corporation
Bluemix complements Worklight - enabling enterprise application agility
IBM Codename Bluemix IBM Worklight
+ IBM amp Third Party APIs forhellip
Mobile Web
Devops Big Data amp
Analytics
Inte-
gration
and More
Extend your enterprise mobile app platform investment through
Cloud APIs
In Worklight 62 (June 2014)
bull Worklight ready SDK that can be plugged into your project
bull Lifecycle management controls API access for Bluemix services
bull Worklight security framework integrates with Bluemix SSO
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 55
copy 2014 IBM Corporation
Enterprise Data
and Services
Worklight
Server
Cloud Data and
Services
Adapters
bull Server-side logic in
JavaScript
bull Read-only or Txn
bull Secure and Uniform
access to business
data
Worklight Adapters
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 56
copy 2014 IBM Corporation
Genero Mobile
A integrated platform for the rapid development of rich business applications
taking your application ideas to the desktop web and now to mobile devices
while fulfilling the promise of ldquoWrite Once Run Anywhererdquo
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 57
copy 2014 IBM Corporation
Genero Key features - Write once deploy everywhere
bull Rapid Development of rich business applications
bull Modernize legacy 4th generation language (green screen) apps
bull Desktop web and now mobile applications
bull Developed by IBM Business Partner 4Js
bull Native Dynamic Virtual Machine for mobile platforms (iOSamp Android)
bull Native GUI native performance
bull Connecteddisconnected mode
bull SQLite access on mobile device
bull Server database synchronization with Informix DB2 and other RDBMS
bull UTF-8
bull JSON Web Services RESTful services
bull App store or Over the Air installation
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 58
copy 2014 IBM Corporation
Genero Mobile Options Genero Web Client (GWC)
ndash Application is hosted on back end server
ndash Hosted via Genero Application Server through your web browser
ndash ldquoConnectedrdquo application
Genero Hybrid Client (GHC)
ndash Application runs within HTML5 native container
ndash Some access to local device applications amp data
ndash Hosted via Genero Application Server via web browser
ndash Downloaded via App Stores
Genero Mobile Client (GMC)
ndash 4Js announced GMC at 2013 IIUG conference and in ldquoStatement of Directionrdquo on web site
ndash Native DVM for Android and IOS supporting native user interfaces
ndash True ldquodisconnectedrdquo applications
ndash Apps will be native and can thus be hosted via App Stores (iTunes etc)
ndash Local SQLite database utilized ndash syncing with RDBMS planned
ndash Early Access Program (beta) is currently in progress
ndash General availability in June 2014
59 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Genero Mobile applications Application types
Native Advanced UI actions
Best performance
App store distribution
Hybrid Web developer skills
Native access
App store distribution
HTML5 Web developer skills
Cross platform
Instant updates
Unrestricted distribution
No offline mode
Genero Hybrid Client
Genero Web Client
Genero Mobile Client
4Js announced direction
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 60
copy 2014 IBM Corporation
Native application Mobile browser Native container
Native HTML5 Hybrid
Genero Mobile applications Application types
Hybrid
Mobile browser
HTML5
Native container
Hybrid
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 61
copy 2014 IBM Corporation
Flexible deployment Genero Mobile ndash one source code base 90 market coverage
FUNCTION edit_customer(num)
DEFINE num LIKE customercustomer_num
LET int_flag = FALSE
SELECT INTO customer
FROM customer
WHERE customer_num == num
INPUT BY NAME customer WITHOUT DEFAULTS
ON ACTION zoom INFIELD state
LET customerstate =
statesgetState(customerstate)
DISPLAY BY NAME customerstate
END INPUT
IF NOT int_flag THEN
UPDATE customer SET customer = customer
WHERE customer_num = num
ELSE
SELECT INTO customer
FROM customer
WHERE customer_num == num
DISPLAY BY NAME customer
END IF
END FUNCTION
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 62
copy 2014 IBM Corporation
bull Easy and consistent access to local
applications on IOS and Android
ndash Camera
ndash Contacts
ndash Email
ndash Calendar
ndash GPS
ndash Storage
Flexible deployment Genero Mobile ndash no need to choose Objective bdquoC‟ or Java
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 63
copy 2014 IBM Corporation
bull Native widgets
Genero Mobile Native UI combined with power of Genero
bull Native interactions ndash ex swipe left to
delete
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 64
copy 2014 IBM Corporation
Mobile device
iOSAndroid process
GUI
thread
VM
thread
Disconnected mode Device runs application and stores data offline (on the device)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 65
copy 2014 IBM Corporation
Web server
http
Mobile device
iOSAndroid process
GUI
thread
VM
GAS +
PROXY
Connected mode Device connects to a remote corporate server as an online terminal
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 66
copy 2014 IBM Corporation
Web server
JSON
http
Mobile device
iOSAndroid process
GUI
thread
VM
thread
Data synchronization ndash JSON JSON Web Services ndash offline data capture and sync with a remote database when online
VM
DBMS
SQLite
Web
Service
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 67
copy 2014 IBM Corporation
Summary
Back to our customerrsquos mobile applicationhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 68
copy 2014 IBM Corporation
Our DB2 Customerrsquos Mobile Environment ndash One New Scenario
Possible New Scenario
bull IBM Worklight based solution
bull Native iOS and Android mobile applications
bull Native apps can run in disconnected mode using local device data storage
bull Sync between device data storage and DB2 UDB data repository server using SQL Adapter
bull Native apps access local device resources
bull Enterprise authentication and mobile device management
Worklight
Server
Authentication
SQL Adapter
WebSphere
App Server
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 69
copy 2014 IBM Corporation
On Premises
data center
SoftLayer
Cloudant
REST over HTTP
Tables
Users
CloudSync
bull10000+ Android tablets
bullMobile app using Cloudant SDK
Possible New Scenario
bull New Android tablets
bull Cloudant SDK on the mobile device and CloudSync to sync the devices with the Cloudant server(s)
bull Custom REST based sync program to sync the Cloud-based Cloudant server with the on-premises Informix servers
Informix Customerrsquos Mobile Environment ndash One New Scenario
Sync
program
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 70
copy 2014 IBM Corporation 71
DB2 Tech Talk Informix and DB2 for Internet of Things amp Mobile Apps Next Steps Roadmap
Read about mobile app development and Internet of Things
bull Mobile Development on IBM developerWorks links to BlueMix Worklight Check products and tools tab bitlymobiledevdw
bull Mobile development on ibmcom bitly1h4IWo8
bull Bluemix introduction the next cloud platform bitly1pCXZrM
bull IBM Internet of Things page including Redbooks publication bitly1mOlt8G
bull Genero Mobile www4jscom
bull Dojo Mobile bitly1mOmyxf
Test drive the tools
bull Informix software download bitly1oSBm2y
bull BLU Acceleration for Cloud Open Beta googlAkMm8e
bull DB2 105 trial software Ibmcodb2download
bull Bluemix beta software acengbluemixnet
bull Worklight Developer Edition bitly1x1FSy2
Participate in the conversation
developerWorks answers Internet of Things technical forum
bitlyU9nPqT
Reference
Call IBM to schedule a demo or learn more
bull 1 800 966-9875 (US)
bull 1-888-746-7426 (Canada)
bull 1800-425-3333 (India)
bull Or visit httpwwwibmcomplanetwide for contact information worldwide
IBM DB2 105 product page
Ibmcomdb2
IBM DB2 105 Product features
ibmco12c1PJz
IBM Data Studio product page
Ibmcoibmdsinfo
Tech forum on developerWorks
bitlydb2forumluw
SQL Tips Blog
wwwsqltips4db2com
Step Three
Step Two
Step One
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 72
Upcoming Tech Talks Don‟t miss these in-depth DB2 feature talks
Dates and topics subject to change and modification
How to register
DB2 Tech Talks web site
Next DB2 Tech Talk DB2 with BLU Acceleration for SAP
bull July 17 2014 at 1230 PM
bull Guersad kuecuek Technical Specialist
DB2 and SAP in Europe
bull Registration bitlytt2014jul
bullIDUG DB2 Tech Conference Austrailasia
bull Sydney
bull September 10 ndash 12 2014
bull wwwidugorg
bullIBM Insight 2014
former Information on Demand Conference
bull Las Vegas NV
bull October 26 ndash 30 2014
bull bitlyibminsight2014
bullIDUG DB2 Tech Conference EMEA
bull Prague Czech Republic
bull November 9 ndash 14 2014
bull wwwidugorg
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Learn engage and get social new DB2 with BLU Acceleration microsite
wwwibmBLUhubcom
DB2 with BLU Acceleration is for
reporting ndash Fast and simple way to respond to
continual reporting requests
ndash No tuning no tweaking
ndash Gets you back to high-value
projects
BLU Acceleration hub contains ndash Technical information and
ldquoinformation for your bossrdquo
ndash Access to the social conversation
ndash Links to software trial and BLU
Acceleration for Cloud
And more Check it out
73 Need webcast troubleshooting help Click attachments
Need webcast troubleshooting help Click attachments
BLU ndash Cognos Demo bitlydemoblu-cognos
copy 2014 IBM Corporation 74
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 75
Questions
Listening in replay
Questions wwwsqltips4db2com
Click submit a question
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 76
Thanks for attending
Please rate the session
Presentation download bitlyttfilemay14
click Attachments in this webcast environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Data Cloud Engagement
New business models are placing demands on mobile and data apps
A systematic approach to
engagement is now
required
Cloud demands ndash and
enables ndash new business
models
Data is the new
basis of competitive
advantage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 5
copy 2014 IBM Corporation
Social Media
Cloud Computing
Mobile
How long will
users wait
Internet of Things
Define real-time please
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 6
copy 2014 IBM Corporation
Key trends motivating mobile application developers
Supporting the business trends ndash more interactions
In 2013 smartphones overtook non-smart phones globally (gt50) ndash mind-share of non-mobile is dwindling ndash ability to ldquoeat your own dog foodrdquo
Android + iOS now make up well over 90 of smartphone sales ndash consolidation ndash capture broader base with fewer ports
The app market was worth $70 billion in 2013 expected to double by 2016 ndash developer interest in a growing market for making $$
Android now mandatory ndash itrsquos only a matter of priority which one to do first ndash 70 of developers that target mobile create apps for Android ndash the market is now flooded with Android platforms ndash easy to obtain
Tablet users grew by 3x from 2011 to 2014 (US ndash 90 million 2014) ndash widespread use is replacing desktop and laptop as primary platform
Internet-of-things goes hand-in-hand with mobile ndash access devices and data from everywhere ndash end users now expect a mobile app to access the ldquothingsrdquo
NoSQL Market
$14 billion 2013-2018
Digital Ads
Fraud Detection
Mobile
Market Analysis
Pricing
Billing
Customer Loyalty
Documents
Data requirements also changing
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 7
copy 2014 IBM Corporation Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 8
copy 2014 IBM Corporation
Some general approaches to mobile app development
Mobile web sites (HTML CSS PHP and other standards with mobile device detection) ndash lowest on the UX scale with network-dependent performance ndash lowest on the NX scale no access to device features
Mobile web applications (typically HTML5 JavaScript and other standards) ndash more modern version of web apps which leverage devices better decent UX ndash typically moderate dependency on network ndash connected-mode ndash can be designed to work without mods on wide range of devices
Cross-platform frameworks (write once run everywhere) ndash cross-compilation produce complete native apps from common code base
Hybrid ndash special case of cross-platform ndash HTML wrapped in a native container install app on the device in a standard way ndash typically supports some level of disconnected-mode
Native applications ndash developer kit for the device ndash tools IDEs ndash separate code lines per devices but best UX and NX
UX = User Experience
NX = Native Experience
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 9
copy 2014 IBM Corporation
What are some key developer tools and languages for mobile
bull Demand for Python Java and Javascript remains strong bull ASPNET and C decreasing bull Objective C demand almost double that of Android bull RESTful APIs in demand bull Limitations of unstructured databases are driving requirements for hybrid SQLNoSQL solution
for speed simplicity and flexibility
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 10
copy 2014 IBM Corporation
Our world is getting smarter
Digital technologies (sensors and other monitoring instruments) are being
embedded into every object system and process
All the data generated by digital technology is providing intelligence
to help us do things better improving our responsiveness and our ability to predict and
optimize for future events
INTELLIGENT
INSTRUMENTED
INTERCONNECTED
In the globalized networked world people systems
objects and processes are connected and they
are communicating with one another in entirely new ways
Internet of Things solutions implement the three basic principles Instrumented Interconnected and Intelligent systems of Smarter Planet
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 11
copy 2014 IBM Corporation
ldquoConnected Liferdquo forecast $45T in 2020
Connected Life is everything that is connected and how they interact cars mobile devices buildings sensors and people
Top Ten in 2020 1 Connected Car $600 billion 2 Clinical Remote Monitoring $350 billion 3 Assisted Living $270 billion 4 Home and Building Security $250 billion 5 Pay-As-You-Drive Car Insurance $245 billion 6 New Business Models for Car Usage $225 billion 7 Smart Meters $105 billion 8 Traffic Management $100 billion 9 Electric Vehicle Charging $75 billion 10 Building Automation $40 billion
NY Times A Messenger for the Internet of Things
Wall Street Journal IBM Tackles Machine to Machine Big Data Deluge
Sourcehttpwwwglobaltelecomsbusinesscomarticle2985699Connected-devices-will-be-worth-45thtml
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 12
copy 2014 IBM Corporation
Nexus mobile devices and IoT
Explosion of mobile has created new opportunities for IoT
Explosion of IoT has created new demand for mobile
Past Present Future
Proprietary and special-purpose
devices for accessing IoT
Mobile devices which most
people have already and apps
Cloud and mobile provides
ldquoeverywhererdquo access to IoT
Expensive gadgetry Affordable IoT devices Commodity pre-integrated
Wide range of protocols mostly
proprietary
Consolidation of protocols and
standards
Internet-ready widgets
Difficult to connect Low-level
programming
Software libraries and gateways
take care of the dirty work
Automated discovery and ldquoplug-in
readyrdquo value
Ad-hoc data models JSON universal internet language Timeseries JSON cloud
Barriers to adoption are
dropping rapidly
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 13
copy 2014 IBM Corporation
Technology shift consumers lead the Internet of Things
Today Tomorrow Integration
A few connected
devices per
personhellip
Almost every device that consumers own will be
connected and many new ones will be created to leverage
the value created by consumer connections
Cross-platform
integrators will
connected devices
and automate
personal activity Door Lock
Dishwasher
Clothes Washer
Clothes Dryer
Window Lock
Garage Door
Toothbrush
Garden Moisture
Coffee Maker
Home Lights
Examples
Iftttcom
Zapiercom
Just as consumers have led enterprises in embracing new mobile services we
believe they will lead the adoption of connected devices amp integrated services
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 14
copy 2014 IBM Corporation
All Internet of Things use cases have a common set of requirements
Requirements
Quickly and easily provision new sensors
Create a real-time communication channel with the sensor
Capture data from the sensor and store it in a time series database
Provide access to the collected data
Pay for the service based on usage
Extended Requirements
Provide analytics on the data in both real-time and historical data
Trigger events based on specific data conditions
Interact with the sensor from business applications andor from mobile devices
1 must provide perceived value ndash quality of
life bottom line societal safety etc
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 15
copy 2014 IBM Corporation
IoT data ldquoWe believe it is better to have application
programmers deal with performance problems
due to overuse of transactions as bottlenecks
arise rather than always coding around the
lack of transactionsrdquo
Paper ndash Spanner Googlersquos Globally-Distributed Database
NoSQL
TimeSeries
Relational
Primary IoT Data Requirements
Geospatial
More than one data access model
is useful
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 16
copy 2014 IBM Corporation
Devices create and require time series
Virtually every IoT device doing real stuff in the real world creates a time series ndash Deploy and configure device (location owner capabilities) metadata NoSQL ndash Take readings (temperature power humidity) time series ndash Trigger events (lights ON place call sound alarm) time series
Time series stored in relational or JSON is unnatural ndash frequent updates ndash new reading = new row in table ndash access is not sequential
TimeSeries data model support helps IoT ndash storage space ndash performance
ID Time Value
1 1000 66
2 1000 20
1 1005 75
5 1010 12
Relational table
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 17
copy 2014 IBM Corporation
Informix Time Series Approach
Device_ID Series
1 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
2 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
3 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
4 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
hellip hellip
Time series storage
bull Each row contains all the data for a single device data append to end of the row
bull Data is not indexed only the device ID column is indexed
bull Data on disk is clustered by device id and kept ordered by time
bull Device IDs stored once rather than with every record
bull Timestamps are not stored on disk instead are calculated by position in series
bull Missing intervals are marked with a placeholder
eg Hildebrand 3 million customers a
reading every six seconds 50k insertss
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 18
copy 2014 IBM Corporation
IBM Products used in IoT Solutions
Collection of data for all sensors
Data from other kinds of
sensors
Consumer Business
Sensors in the home
TimeSeries Service
NoSQL Relational Timeseries amp Spatial storage amp analytics
Acceleration Technology
BLU IWA
SPSSCognos
MessageSight MQTT
SoftLayer BlueMix
BigInsights
Gateways for local analytics
Infosphere Streams
(no gateway)
In-memory analytics
Predictive analytics and dashboard
Cloud infrastructure
Hadoop
Publish Subscribe
Real-time analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 19
copy 2014 IBM Corporation
Developed by business partners Shaspa Tatung and ST-Micro ndash Runs on ARM v7 and Intel Quark chip sets ndash 512MB to 1GB of memory ndash 1GB to 4GB of storage ndash WirelessBluetooth receiver
ndash 3 inch by 2 inch form factor
Software components in SmartGate
ndash Informix enterprise edition
ndash Webserver
ndash Debian Linux
ndash Connectivity to the TimeSeries cloud service
ndash Support for common device communication protocols including
bull Enocean KNX Modbus CANOpen Zigbee ZWave DALI MBus SNMP MPBus
Priced around $100
20
Shasparsquos SmartGate Gateway example of edge device for IoT
Informix Database
Inside
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 20
copy 2014 IBM Corporation
Why use a gateway for local analytics
1 Gateways can reduce the cost of the backend cloud
bull Reduces cloud storage by filteringaggregatinganalyzing data locally
bull Reduces cloud CPU requirements by pre-computing values
2 Reduces latency since actions can be taken immediately
bull Intelligent gateways can detect and respond to local events as they happen rather than waiting for transfer to the cloud
3 Many users are not comfortable putting their data in the cloud
bull Gateways allow customers to capture and get value from their sensors without sending data to the cloud
Over time more and more of the processing will move from the cloud to edge (gateway) devices
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 21
copy 2014 IBM Corporation
IBM Internet of Things analytics in the cloud
Analyze
Gateway Local Analytics
Analytics
Analyze other than the time
dimension
Aggregate and join across
data types and attributes
Millions of devices
System of record existing
mountains of data
Database in the cloud
Gateway Local Analytics
Gateways Local Analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 22
copy 2014 IBM Corporation 23
Where we are coming fromhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
A DB2 Customerrsquos Mobile Environment
Web
Server
Current Scenario
bull Simple ldquohome grownrdquo app outgrew its initial purpose and requirements
bull Connected Web application serving hundreds of sales associates
bull Access mostly via smart phone browser but also via laptop browser
bull PHP application
bull DB2 UDB data repository
New Requirements
bull Disconnected Mode
bull Access to local device address book calendar etc
bull Better authentication
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
24
copy 2014 IBM Corporation
DB2
Everyplace
Web
Sphere
JDBC
Replication Tables
Users XML
Sync
3500PDAs Windows mobile 61 and 65 running on PSIONPITION MOTOROLAHTCSANSUMGHHP
Windows Server
Quad Core
04Gb RAM
32Bits Current Scenario
bull DB2E is handling 3500 PDAs
bull DB2 Everyplace to connect field technicians to Informix database with service request data dispatching service orders to mobile users who are equipped with handheld devices improving responsiveness to service outages
bull Currently using Windows mobile 61 and 65 running on PSIONPITION MOTOROLA HTC SAMSUNG and HHP devices
bull Developed home-grown applications using NET
bull Some devices sync online and others offline
Another Customerrsquos Mobile Environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 25
copy 2014 IBM Corporation 26
Cloud and Mobile Applications
Experimental in nature
- Require rapid iteration
- Faster time to market
- May be decommissioned quickly ndash need
environments in minutes versus days or weeks
Are written in multiple languages
- Web JavaScript Ruby Java PHP
- Mobile iOS Android Hybrid
Composed of Services
- Build using a composition model of stitching
capabilities together
- Capabilities often require time to test in app
beyond the scope of a free trial
Integrate with existing systems
- Data is often located in multiple places (public
private traditional data center)
- Existing systems may not scale at the same the
level of cloud applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
WriteUpdate
System Of Record
bull Cloudant JSONDB
bull Mobile Data Services (Bluemix)
bull Integration Services
- Cast IronDataStage
Mobile Data Synchronization Landscape
System Of Record
Enterprise
Data Store (Informix DB2)
bull On Device data persistence (SQLite)
bull Data Sync between devices and to Cloudant
data store
bull UpdateWrite to System Of Record through
the front door (Using Enterprise app APIs)
bull Using Cloudant SDK on device
System Of Engagement
Enterprise App
APIs
Cast Iron
DataStage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 27
copy 2014 IBM Corporation 28
Dojo Mobile Toolkit
The Dojo Mobile toolkit is a powerful JavaScript framework
that provides all of the building blocks required to develop
lightweight high-performance mobile web applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Dojo Mobile Toolkit
One of the choices in the busy HTML5 amp CSS3 category
Mobile toolkit extends the existing Dojo toolkit to deal with
ndash Input device differences
ndash Smaller screen sizes
ndash Reduced processing power and footprint requirements of mobile devices
Excellent option for mobile apps where connectivity is consistent
Database connectivity is standard PHP database driver
Easy to enforce consistency across screens and applications with style sheets
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 29
copy 2014 IBM Corporation
Photo Share demo built using IBM Dojo Mobile Toolkit
Hosted via Softlayer nosqldemocom
Built for IOD 2013 to demonstrate Informix
hybrid (JSON relational and time series)
application support
PHP app using the MongoDB PHP driver for
connectivity to the Informix database
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 30
copy 2014 IBM Corporation 31
Cloudant
A distributed database as a service (DBaaS) allowing
developers of fast-growing web and mobile apps to focus on
building and improving their products instead of worrying
about scaling and managing databases on their own
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Cloudant Overview
ndash Operational JSON data store
ndash RESTful CouchDB API
ndash Advanced APIs
bull Replication amp Sync
bull Lucene Full-text Search
bull Geo-spatial
bull Incremental MapReduce
ndash Scalable Highly Available Performance
bull Cross-data center data distribution amp fail over
bull Geo load balancing
ndash Multi-tenant and dedicated-tenant clusters
ndash Monitoring administration amp development dashboards
ndash Managed 24x7 by big data experts
ndash Available in Rackspace IBMSoftLayer and AWS datacenters
32 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 3
bull Store data on the server
andor the local device
bull Native libraries support
synchronization process
and local storage
management
bull Synchronize data
between devices by
replicating data from
Cloudant
Store and Access Data Everywhere
Local
Storage
Local
Storage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 33
copy 2014 IBM Corporation 4
Putting Data at the Edge
bull Geographically disperse your data across multiple data centers
to allow for easy access depending on location
bull Ability to store data across 35 geographic locations
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 34
copy 2014 IBM Corporation 5
Local
Storage
bull Restored connection will
sync the data with the
server and other devices
connected to same source
bull Data redundancy across
data centers
Always Onhellip
bull Readwrite from local
storage when connection is
unavailable
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 35
copy 2014 IBM Corporation 7
Based on Open Industry Standardshellip
JSON Cloudant
HTTP HTTP
HTTP
bull Any device using HTTP and JSON can interact with Cloudant
HTTP
HTTP
HTTP
JSON
JSON
JSON
JSON
JSON
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 36
copy 2014 IBM Corporation
Cloudant Sync
Available for Android and IOS
Solution leverages devicersquos on-board
SQLite database for persistence
ndash Cloudant defines indexing scheme for
optimizing use of relational SQLite DB
with applicationrsquos JSON storage
requirements
Multi version concurrency control
Replication to the Cloudant server in the
cloud via HTTP
Mobile application does include and
interact with Cloudant SDK software which
resides on the device
ndash Cloudant Code is native (Java for
Android Objective C for IOS)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 37
copy 2014 IBM Corporation
Sync Cloudant with Informix or DB2
Leverage entire Cloudant implementation ndash
Cloudant Sync on the mobile device and
Cloudant in the cloud
Cloudant is the ldquosync serverrdquo with the
mobile application
Solution to sync data between the
Cloudant server and the IBM data server
would be a ldquohome grownrdquo solution
ndash One option would be to use REST API
to ldquopullrdquo data from Cloudant to DB2 via
stored procedures
ndash Standalone REST API based program
to extract from Cloudant and insert into
Informix
ndash Data exchanged as JSON documents
ndash IBM Data Stage supports JSON and
could be leveraged here
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 38
copy 2014 IBM Corporation 39
Bluemix
Bluemix is an open-standards cloud-based platform offering a
single solution environment with the instant resources and
infrastructure you need to develop and deploy apps across
multiple domains mdash fast
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Run Your Apps
The developer can chose any language
runtime or bring their own Just upload
your code and go
DevOps Development monitoring deployment
and logging tools allow the developer to
run the entire application
APIs and Services A catalog of open source IBM and third
party APIs services allow a developer
to stitch together an application in
minutes
Cloud Integration Build hybrid environments Connect to
on-premises systems of record plus other
public and private clouds Expose your
own APIs to your developers
Big Data Manage your Big Data requirements with
BLU Acceleration Hadoop based
analytics and your sensor and device
Internet of Things data
Introducing Bluemix
A rich set of mobile ready APIs that you can mix and match to power your App
NEW
copy 2014 IBM Corporation
Nodejs includes SDK for data
sync ndash Primary development language
for mobile and server side
scripting Includes templates and
SDK for syncing with the
database in the cloud
Mobile Application Security ndash basic app security framework -
enabling the developer to block
access to apps on specific
devices
Push ndash Create and schedule push
notifications for iOS and Android
devices to engage users when
they arent using the app
Mobile Data ndash SDKs to sync mobile shared data
with the scalable managed
Cloudant database as a service
Mobile Cloud BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 41
copy 2014 IBM Corporation
Node-RED ndash A visual tool for wiring your IoT
app
TimeSeries Database ndash Provides a managed data store
for Internet of Things device data
and enables you to do time series
analysis on that data
InternetOfThings ndash APIs allowing Bluemix
applications to access device
data simply and swiftly
Internet of Things (IoT) BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 42
copy 2014 IBM Corporation
43
Bluemix Mobile Services
Simplify app deployment infrastructure maintenance and improve app quality with cloud services for
mobile Accelerates app development with SDKs for iOS and Android
Push
Create and schedule push notifications for
iOS and Android devices to engage users
when they arenrsquot using the app User
tagging enables the user to select desired
push topics
Twilio Build apps that communicate Integrate
voice messaging and VoIP into your web
and mobile apps
Mobile Application Management Centrally manage app access through a
web based console Control and secure
apps through containerization and control
over the operational lifecycle
Mobile Data Enhance your mobile app with a shared
managed database in the Cloud that can
be accessed using native SDKs for iOS
and Android
Mobile Quality Assurance Instrument apps to capture tester and live-
user experiences including context-aware
crash log and in-app bug reports in-app
user feedback and insightful and
streamlined quality metrics
Cloud Services for Mobile in Minutes
Internet of Things Internet of Things APIs allowing Bluemix
applications to access device data simply
and swiftly Build apps for a smarter planet
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 44
Why Bluemix Mobile Services
bull Simplicity and speed for mobile developers to develop
and deploy a mobile backend to share data and
business logic
bull Native SDKs for Android and iOS make coding intuitive
for mobile app developers
bull Reduced cost of maintenance with fully managed
services
bull Integrated App Quality and App Management capability
bull Integrated platform to extend mobile applications with
enterprise data or to new scenarios such as Web APIs
or Internet of Things
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Mobile Data Service
With the Mobile Data service you can store delete update and query objects that are
stored in the cloud
You can use a REST URL to interrogate the data classes and content that is stored in the
cloud
With the Mobile Cloud Services SDK you can embed a special managed directory in your
application Any files that are stored in this managed directory can be monitored and
synchronized The application can share the contents of this managed directory by
connecting to Mobile Data service with the same application ID and user ID By sharing the
directory contents different instances of an application can have synchronized copies of the
files
You can import JSON or tabular data into Mobile Data service
File Sync is a separate plugin and that can be added to your mobile app
ndash Currenty a last write wins policy when multiple applications are updating the same files
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 45
copy 2014 IBM Corporation
Mobile Device
Mobile Data
Service
Mobile
Data API
Cache (SQLite)
Mobile
App
Bluemix
Mobile
Data Service
JSON
Object
Store
Data
Viewer
Bluemix Architecture for shared system of engagement data
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 46
copy 2014 IBM Corporation
Accessing Data in your Bluemix Database
Accessing data in the SQLDB (DB2) service ndash DB2 APIs ndash MongoDB APIs
Accessing data in the BLUAcceleration (DB2 with BLU Acceleration) service
ndash DB2 JDBC Ruby Nodejs Python and PHP APIs
Accessing data in the TimeSeries Database (Informix) service ndash Informix REST APIs ndash Informix SQLI APIs (JDBC ODBC ESQLC etc) ndash MongoDB APIs
Accessing data in the Cloudant JSONDB service ndash Cloudant REST services
copy 2014 IBM Corporation
Accessing your Enterprise Data from Bluemix
Accessing your on-premises enterprise database from your Bluemix app
would be a custom ldquohome grownrdquo application
All of your Bluemix data is resident in the Bluemix Cloud
Enterprise access would be possible if you want to move your enterprise
data to the SQLDB service (DB2) or TimeSeries Database (Informix)
Or access your on-premises enterprise data using REST or web services
from your Bluemix application
Or perhaps use Bluemix as a development sandbox and then shift to
SoftLayer where your Enterprise environment could be hosted
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 48
copy 2014 IBM Corporation 49
WorkLight
IBM Worklight provides an open comprehensive and advanced mobile
application platform for smartphones and tablets It helps organizations
of all sizes to efficiently develop test connect run and manage mobile
applications (apps)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
IBM Worklight A mobile application platform
Speeding the development integration and management of mobile applications and
infrastructure
Accelerate Development bull Web hybrid and native development open flexible
standard-based multi-screenomni-channel bull Functional testing bull Development lifecycle tools and integration
Facilitate App Security and Trust bull Server-enforced authentication bull App authenticity and user-app-device binding bull Secure and syncable on-device storage bull App version enforcement
Enable User Engagement bull Unified push and SMS notifications bull Geolocation and context collections and intelligence bull Mobile-friendly integration
Support Mobile Analytics bull Efficient acquisition of analytics data bull Development operational and business analytics bull Offline and online event management integration
Best Mobile Development Solution
voted by SIIA members 2013 CODiE Awards
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 50
copy 2014 IBM Corporation
Components of the IBM Worklight Mobile Platform
bullplus Worklight Mobile Test Workbench for automated functional testing
bulland Worklight Analytics Platform for an aggregated view of server and
clientmobile information
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 51
copy 2014 IBM Corporation
Worklight Server Procedures amp Adapters
bull Worklight Server resident procedures perform the interaction between the application and the back end applications bull Procedures are written in Javascript and interact with mobile applications over
HTTP using JSON-formatted data bull Procedures perform the conversions between JSON format and the format
required by the back end application
SQL Adapters are procedures which can be configured to execute parameterized SQL queries and stored procedures in order to retrieve or update data in the database
ndash Worklight SQL adapters for DB2 MySQL and Oracle using JDBC connectivity ndash Additional SQL adapters can be created
Other custom adapters can be developed to interact with other data sources ndash New adapter for Cloudant for example
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 52
copy 2014 IBM Corporation
Worklight Adapters
Connect to enterprise applications and
cloud services
Deliver data to and from mobile
applications
Perform any necessary server-side
logic on this data
Query
Update data
DataResult
as JSON
Invoke adapter
procedure
SQL Cast Iron
Worklight
Response
1
2 3
4
SAP JMS HTTP Cloudant
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 53
copy 2014 IBM Corporation
Worklight Server
SQL Adapters would be required to link your enterprise data store with
your mobile application
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 54
copy 2014 IBM Corporation
Bluemix complements Worklight - enabling enterprise application agility
IBM Codename Bluemix IBM Worklight
+ IBM amp Third Party APIs forhellip
Mobile Web
Devops Big Data amp
Analytics
Inte-
gration
and More
Extend your enterprise mobile app platform investment through
Cloud APIs
In Worklight 62 (June 2014)
bull Worklight ready SDK that can be plugged into your project
bull Lifecycle management controls API access for Bluemix services
bull Worklight security framework integrates with Bluemix SSO
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 55
copy 2014 IBM Corporation
Enterprise Data
and Services
Worklight
Server
Cloud Data and
Services
Adapters
bull Server-side logic in
JavaScript
bull Read-only or Txn
bull Secure and Uniform
access to business
data
Worklight Adapters
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 56
copy 2014 IBM Corporation
Genero Mobile
A integrated platform for the rapid development of rich business applications
taking your application ideas to the desktop web and now to mobile devices
while fulfilling the promise of ldquoWrite Once Run Anywhererdquo
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 57
copy 2014 IBM Corporation
Genero Key features - Write once deploy everywhere
bull Rapid Development of rich business applications
bull Modernize legacy 4th generation language (green screen) apps
bull Desktop web and now mobile applications
bull Developed by IBM Business Partner 4Js
bull Native Dynamic Virtual Machine for mobile platforms (iOSamp Android)
bull Native GUI native performance
bull Connecteddisconnected mode
bull SQLite access on mobile device
bull Server database synchronization with Informix DB2 and other RDBMS
bull UTF-8
bull JSON Web Services RESTful services
bull App store or Over the Air installation
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 58
copy 2014 IBM Corporation
Genero Mobile Options Genero Web Client (GWC)
ndash Application is hosted on back end server
ndash Hosted via Genero Application Server through your web browser
ndash ldquoConnectedrdquo application
Genero Hybrid Client (GHC)
ndash Application runs within HTML5 native container
ndash Some access to local device applications amp data
ndash Hosted via Genero Application Server via web browser
ndash Downloaded via App Stores
Genero Mobile Client (GMC)
ndash 4Js announced GMC at 2013 IIUG conference and in ldquoStatement of Directionrdquo on web site
ndash Native DVM for Android and IOS supporting native user interfaces
ndash True ldquodisconnectedrdquo applications
ndash Apps will be native and can thus be hosted via App Stores (iTunes etc)
ndash Local SQLite database utilized ndash syncing with RDBMS planned
ndash Early Access Program (beta) is currently in progress
ndash General availability in June 2014
59 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Genero Mobile applications Application types
Native Advanced UI actions
Best performance
App store distribution
Hybrid Web developer skills
Native access
App store distribution
HTML5 Web developer skills
Cross platform
Instant updates
Unrestricted distribution
No offline mode
Genero Hybrid Client
Genero Web Client
Genero Mobile Client
4Js announced direction
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 60
copy 2014 IBM Corporation
Native application Mobile browser Native container
Native HTML5 Hybrid
Genero Mobile applications Application types
Hybrid
Mobile browser
HTML5
Native container
Hybrid
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 61
copy 2014 IBM Corporation
Flexible deployment Genero Mobile ndash one source code base 90 market coverage
FUNCTION edit_customer(num)
DEFINE num LIKE customercustomer_num
LET int_flag = FALSE
SELECT INTO customer
FROM customer
WHERE customer_num == num
INPUT BY NAME customer WITHOUT DEFAULTS
ON ACTION zoom INFIELD state
LET customerstate =
statesgetState(customerstate)
DISPLAY BY NAME customerstate
END INPUT
IF NOT int_flag THEN
UPDATE customer SET customer = customer
WHERE customer_num = num
ELSE
SELECT INTO customer
FROM customer
WHERE customer_num == num
DISPLAY BY NAME customer
END IF
END FUNCTION
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 62
copy 2014 IBM Corporation
bull Easy and consistent access to local
applications on IOS and Android
ndash Camera
ndash Contacts
ndash Email
ndash Calendar
ndash GPS
ndash Storage
Flexible deployment Genero Mobile ndash no need to choose Objective bdquoC‟ or Java
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 63
copy 2014 IBM Corporation
bull Native widgets
Genero Mobile Native UI combined with power of Genero
bull Native interactions ndash ex swipe left to
delete
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 64
copy 2014 IBM Corporation
Mobile device
iOSAndroid process
GUI
thread
VM
thread
Disconnected mode Device runs application and stores data offline (on the device)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 65
copy 2014 IBM Corporation
Web server
http
Mobile device
iOSAndroid process
GUI
thread
VM
GAS +
PROXY
Connected mode Device connects to a remote corporate server as an online terminal
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 66
copy 2014 IBM Corporation
Web server
JSON
http
Mobile device
iOSAndroid process
GUI
thread
VM
thread
Data synchronization ndash JSON JSON Web Services ndash offline data capture and sync with a remote database when online
VM
DBMS
SQLite
Web
Service
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 67
copy 2014 IBM Corporation
Summary
Back to our customerrsquos mobile applicationhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 68
copy 2014 IBM Corporation
Our DB2 Customerrsquos Mobile Environment ndash One New Scenario
Possible New Scenario
bull IBM Worklight based solution
bull Native iOS and Android mobile applications
bull Native apps can run in disconnected mode using local device data storage
bull Sync between device data storage and DB2 UDB data repository server using SQL Adapter
bull Native apps access local device resources
bull Enterprise authentication and mobile device management
Worklight
Server
Authentication
SQL Adapter
WebSphere
App Server
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 69
copy 2014 IBM Corporation
On Premises
data center
SoftLayer
Cloudant
REST over HTTP
Tables
Users
CloudSync
bull10000+ Android tablets
bullMobile app using Cloudant SDK
Possible New Scenario
bull New Android tablets
bull Cloudant SDK on the mobile device and CloudSync to sync the devices with the Cloudant server(s)
bull Custom REST based sync program to sync the Cloud-based Cloudant server with the on-premises Informix servers
Informix Customerrsquos Mobile Environment ndash One New Scenario
Sync
program
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 70
copy 2014 IBM Corporation 71
DB2 Tech Talk Informix and DB2 for Internet of Things amp Mobile Apps Next Steps Roadmap
Read about mobile app development and Internet of Things
bull Mobile Development on IBM developerWorks links to BlueMix Worklight Check products and tools tab bitlymobiledevdw
bull Mobile development on ibmcom bitly1h4IWo8
bull Bluemix introduction the next cloud platform bitly1pCXZrM
bull IBM Internet of Things page including Redbooks publication bitly1mOlt8G
bull Genero Mobile www4jscom
bull Dojo Mobile bitly1mOmyxf
Test drive the tools
bull Informix software download bitly1oSBm2y
bull BLU Acceleration for Cloud Open Beta googlAkMm8e
bull DB2 105 trial software Ibmcodb2download
bull Bluemix beta software acengbluemixnet
bull Worklight Developer Edition bitly1x1FSy2
Participate in the conversation
developerWorks answers Internet of Things technical forum
bitlyU9nPqT
Reference
Call IBM to schedule a demo or learn more
bull 1 800 966-9875 (US)
bull 1-888-746-7426 (Canada)
bull 1800-425-3333 (India)
bull Or visit httpwwwibmcomplanetwide for contact information worldwide
IBM DB2 105 product page
Ibmcomdb2
IBM DB2 105 Product features
ibmco12c1PJz
IBM Data Studio product page
Ibmcoibmdsinfo
Tech forum on developerWorks
bitlydb2forumluw
SQL Tips Blog
wwwsqltips4db2com
Step Three
Step Two
Step One
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 72
Upcoming Tech Talks Don‟t miss these in-depth DB2 feature talks
Dates and topics subject to change and modification
How to register
DB2 Tech Talks web site
Next DB2 Tech Talk DB2 with BLU Acceleration for SAP
bull July 17 2014 at 1230 PM
bull Guersad kuecuek Technical Specialist
DB2 and SAP in Europe
bull Registration bitlytt2014jul
bullIDUG DB2 Tech Conference Austrailasia
bull Sydney
bull September 10 ndash 12 2014
bull wwwidugorg
bullIBM Insight 2014
former Information on Demand Conference
bull Las Vegas NV
bull October 26 ndash 30 2014
bull bitlyibminsight2014
bullIDUG DB2 Tech Conference EMEA
bull Prague Czech Republic
bull November 9 ndash 14 2014
bull wwwidugorg
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Learn engage and get social new DB2 with BLU Acceleration microsite
wwwibmBLUhubcom
DB2 with BLU Acceleration is for
reporting ndash Fast and simple way to respond to
continual reporting requests
ndash No tuning no tweaking
ndash Gets you back to high-value
projects
BLU Acceleration hub contains ndash Technical information and
ldquoinformation for your bossrdquo
ndash Access to the social conversation
ndash Links to software trial and BLU
Acceleration for Cloud
And more Check it out
73 Need webcast troubleshooting help Click attachments
Need webcast troubleshooting help Click attachments
BLU ndash Cognos Demo bitlydemoblu-cognos
copy 2014 IBM Corporation 74
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 75
Questions
Listening in replay
Questions wwwsqltips4db2com
Click submit a question
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 76
Thanks for attending
Please rate the session
Presentation download bitlyttfilemay14
click Attachments in this webcast environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Social Media
Cloud Computing
Mobile
How long will
users wait
Internet of Things
Define real-time please
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 6
copy 2014 IBM Corporation
Key trends motivating mobile application developers
Supporting the business trends ndash more interactions
In 2013 smartphones overtook non-smart phones globally (gt50) ndash mind-share of non-mobile is dwindling ndash ability to ldquoeat your own dog foodrdquo
Android + iOS now make up well over 90 of smartphone sales ndash consolidation ndash capture broader base with fewer ports
The app market was worth $70 billion in 2013 expected to double by 2016 ndash developer interest in a growing market for making $$
Android now mandatory ndash itrsquos only a matter of priority which one to do first ndash 70 of developers that target mobile create apps for Android ndash the market is now flooded with Android platforms ndash easy to obtain
Tablet users grew by 3x from 2011 to 2014 (US ndash 90 million 2014) ndash widespread use is replacing desktop and laptop as primary platform
Internet-of-things goes hand-in-hand with mobile ndash access devices and data from everywhere ndash end users now expect a mobile app to access the ldquothingsrdquo
NoSQL Market
$14 billion 2013-2018
Digital Ads
Fraud Detection
Mobile
Market Analysis
Pricing
Billing
Customer Loyalty
Documents
Data requirements also changing
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 7
copy 2014 IBM Corporation Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 8
copy 2014 IBM Corporation
Some general approaches to mobile app development
Mobile web sites (HTML CSS PHP and other standards with mobile device detection) ndash lowest on the UX scale with network-dependent performance ndash lowest on the NX scale no access to device features
Mobile web applications (typically HTML5 JavaScript and other standards) ndash more modern version of web apps which leverage devices better decent UX ndash typically moderate dependency on network ndash connected-mode ndash can be designed to work without mods on wide range of devices
Cross-platform frameworks (write once run everywhere) ndash cross-compilation produce complete native apps from common code base
Hybrid ndash special case of cross-platform ndash HTML wrapped in a native container install app on the device in a standard way ndash typically supports some level of disconnected-mode
Native applications ndash developer kit for the device ndash tools IDEs ndash separate code lines per devices but best UX and NX
UX = User Experience
NX = Native Experience
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 9
copy 2014 IBM Corporation
What are some key developer tools and languages for mobile
bull Demand for Python Java and Javascript remains strong bull ASPNET and C decreasing bull Objective C demand almost double that of Android bull RESTful APIs in demand bull Limitations of unstructured databases are driving requirements for hybrid SQLNoSQL solution
for speed simplicity and flexibility
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 10
copy 2014 IBM Corporation
Our world is getting smarter
Digital technologies (sensors and other monitoring instruments) are being
embedded into every object system and process
All the data generated by digital technology is providing intelligence
to help us do things better improving our responsiveness and our ability to predict and
optimize for future events
INTELLIGENT
INSTRUMENTED
INTERCONNECTED
In the globalized networked world people systems
objects and processes are connected and they
are communicating with one another in entirely new ways
Internet of Things solutions implement the three basic principles Instrumented Interconnected and Intelligent systems of Smarter Planet
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 11
copy 2014 IBM Corporation
ldquoConnected Liferdquo forecast $45T in 2020
Connected Life is everything that is connected and how they interact cars mobile devices buildings sensors and people
Top Ten in 2020 1 Connected Car $600 billion 2 Clinical Remote Monitoring $350 billion 3 Assisted Living $270 billion 4 Home and Building Security $250 billion 5 Pay-As-You-Drive Car Insurance $245 billion 6 New Business Models for Car Usage $225 billion 7 Smart Meters $105 billion 8 Traffic Management $100 billion 9 Electric Vehicle Charging $75 billion 10 Building Automation $40 billion
NY Times A Messenger for the Internet of Things
Wall Street Journal IBM Tackles Machine to Machine Big Data Deluge
Sourcehttpwwwglobaltelecomsbusinesscomarticle2985699Connected-devices-will-be-worth-45thtml
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 12
copy 2014 IBM Corporation
Nexus mobile devices and IoT
Explosion of mobile has created new opportunities for IoT
Explosion of IoT has created new demand for mobile
Past Present Future
Proprietary and special-purpose
devices for accessing IoT
Mobile devices which most
people have already and apps
Cloud and mobile provides
ldquoeverywhererdquo access to IoT
Expensive gadgetry Affordable IoT devices Commodity pre-integrated
Wide range of protocols mostly
proprietary
Consolidation of protocols and
standards
Internet-ready widgets
Difficult to connect Low-level
programming
Software libraries and gateways
take care of the dirty work
Automated discovery and ldquoplug-in
readyrdquo value
Ad-hoc data models JSON universal internet language Timeseries JSON cloud
Barriers to adoption are
dropping rapidly
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 13
copy 2014 IBM Corporation
Technology shift consumers lead the Internet of Things
Today Tomorrow Integration
A few connected
devices per
personhellip
Almost every device that consumers own will be
connected and many new ones will be created to leverage
the value created by consumer connections
Cross-platform
integrators will
connected devices
and automate
personal activity Door Lock
Dishwasher
Clothes Washer
Clothes Dryer
Window Lock
Garage Door
Toothbrush
Garden Moisture
Coffee Maker
Home Lights
Examples
Iftttcom
Zapiercom
Just as consumers have led enterprises in embracing new mobile services we
believe they will lead the adoption of connected devices amp integrated services
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 14
copy 2014 IBM Corporation
All Internet of Things use cases have a common set of requirements
Requirements
Quickly and easily provision new sensors
Create a real-time communication channel with the sensor
Capture data from the sensor and store it in a time series database
Provide access to the collected data
Pay for the service based on usage
Extended Requirements
Provide analytics on the data in both real-time and historical data
Trigger events based on specific data conditions
Interact with the sensor from business applications andor from mobile devices
1 must provide perceived value ndash quality of
life bottom line societal safety etc
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 15
copy 2014 IBM Corporation
IoT data ldquoWe believe it is better to have application
programmers deal with performance problems
due to overuse of transactions as bottlenecks
arise rather than always coding around the
lack of transactionsrdquo
Paper ndash Spanner Googlersquos Globally-Distributed Database
NoSQL
TimeSeries
Relational
Primary IoT Data Requirements
Geospatial
More than one data access model
is useful
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 16
copy 2014 IBM Corporation
Devices create and require time series
Virtually every IoT device doing real stuff in the real world creates a time series ndash Deploy and configure device (location owner capabilities) metadata NoSQL ndash Take readings (temperature power humidity) time series ndash Trigger events (lights ON place call sound alarm) time series
Time series stored in relational or JSON is unnatural ndash frequent updates ndash new reading = new row in table ndash access is not sequential
TimeSeries data model support helps IoT ndash storage space ndash performance
ID Time Value
1 1000 66
2 1000 20
1 1005 75
5 1010 12
Relational table
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 17
copy 2014 IBM Corporation
Informix Time Series Approach
Device_ID Series
1 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
2 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
3 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
4 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
hellip hellip
Time series storage
bull Each row contains all the data for a single device data append to end of the row
bull Data is not indexed only the device ID column is indexed
bull Data on disk is clustered by device id and kept ordered by time
bull Device IDs stored once rather than with every record
bull Timestamps are not stored on disk instead are calculated by position in series
bull Missing intervals are marked with a placeholder
eg Hildebrand 3 million customers a
reading every six seconds 50k insertss
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 18
copy 2014 IBM Corporation
IBM Products used in IoT Solutions
Collection of data for all sensors
Data from other kinds of
sensors
Consumer Business
Sensors in the home
TimeSeries Service
NoSQL Relational Timeseries amp Spatial storage amp analytics
Acceleration Technology
BLU IWA
SPSSCognos
MessageSight MQTT
SoftLayer BlueMix
BigInsights
Gateways for local analytics
Infosphere Streams
(no gateway)
In-memory analytics
Predictive analytics and dashboard
Cloud infrastructure
Hadoop
Publish Subscribe
Real-time analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 19
copy 2014 IBM Corporation
Developed by business partners Shaspa Tatung and ST-Micro ndash Runs on ARM v7 and Intel Quark chip sets ndash 512MB to 1GB of memory ndash 1GB to 4GB of storage ndash WirelessBluetooth receiver
ndash 3 inch by 2 inch form factor
Software components in SmartGate
ndash Informix enterprise edition
ndash Webserver
ndash Debian Linux
ndash Connectivity to the TimeSeries cloud service
ndash Support for common device communication protocols including
bull Enocean KNX Modbus CANOpen Zigbee ZWave DALI MBus SNMP MPBus
Priced around $100
20
Shasparsquos SmartGate Gateway example of edge device for IoT
Informix Database
Inside
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 20
copy 2014 IBM Corporation
Why use a gateway for local analytics
1 Gateways can reduce the cost of the backend cloud
bull Reduces cloud storage by filteringaggregatinganalyzing data locally
bull Reduces cloud CPU requirements by pre-computing values
2 Reduces latency since actions can be taken immediately
bull Intelligent gateways can detect and respond to local events as they happen rather than waiting for transfer to the cloud
3 Many users are not comfortable putting their data in the cloud
bull Gateways allow customers to capture and get value from their sensors without sending data to the cloud
Over time more and more of the processing will move from the cloud to edge (gateway) devices
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 21
copy 2014 IBM Corporation
IBM Internet of Things analytics in the cloud
Analyze
Gateway Local Analytics
Analytics
Analyze other than the time
dimension
Aggregate and join across
data types and attributes
Millions of devices
System of record existing
mountains of data
Database in the cloud
Gateway Local Analytics
Gateways Local Analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 22
copy 2014 IBM Corporation 23
Where we are coming fromhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
A DB2 Customerrsquos Mobile Environment
Web
Server
Current Scenario
bull Simple ldquohome grownrdquo app outgrew its initial purpose and requirements
bull Connected Web application serving hundreds of sales associates
bull Access mostly via smart phone browser but also via laptop browser
bull PHP application
bull DB2 UDB data repository
New Requirements
bull Disconnected Mode
bull Access to local device address book calendar etc
bull Better authentication
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
24
copy 2014 IBM Corporation
DB2
Everyplace
Web
Sphere
JDBC
Replication Tables
Users XML
Sync
3500PDAs Windows mobile 61 and 65 running on PSIONPITION MOTOROLAHTCSANSUMGHHP
Windows Server
Quad Core
04Gb RAM
32Bits Current Scenario
bull DB2E is handling 3500 PDAs
bull DB2 Everyplace to connect field technicians to Informix database with service request data dispatching service orders to mobile users who are equipped with handheld devices improving responsiveness to service outages
bull Currently using Windows mobile 61 and 65 running on PSIONPITION MOTOROLA HTC SAMSUNG and HHP devices
bull Developed home-grown applications using NET
bull Some devices sync online and others offline
Another Customerrsquos Mobile Environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 25
copy 2014 IBM Corporation 26
Cloud and Mobile Applications
Experimental in nature
- Require rapid iteration
- Faster time to market
- May be decommissioned quickly ndash need
environments in minutes versus days or weeks
Are written in multiple languages
- Web JavaScript Ruby Java PHP
- Mobile iOS Android Hybrid
Composed of Services
- Build using a composition model of stitching
capabilities together
- Capabilities often require time to test in app
beyond the scope of a free trial
Integrate with existing systems
- Data is often located in multiple places (public
private traditional data center)
- Existing systems may not scale at the same the
level of cloud applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
WriteUpdate
System Of Record
bull Cloudant JSONDB
bull Mobile Data Services (Bluemix)
bull Integration Services
- Cast IronDataStage
Mobile Data Synchronization Landscape
System Of Record
Enterprise
Data Store (Informix DB2)
bull On Device data persistence (SQLite)
bull Data Sync between devices and to Cloudant
data store
bull UpdateWrite to System Of Record through
the front door (Using Enterprise app APIs)
bull Using Cloudant SDK on device
System Of Engagement
Enterprise App
APIs
Cast Iron
DataStage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 27
copy 2014 IBM Corporation 28
Dojo Mobile Toolkit
The Dojo Mobile toolkit is a powerful JavaScript framework
that provides all of the building blocks required to develop
lightweight high-performance mobile web applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Dojo Mobile Toolkit
One of the choices in the busy HTML5 amp CSS3 category
Mobile toolkit extends the existing Dojo toolkit to deal with
ndash Input device differences
ndash Smaller screen sizes
ndash Reduced processing power and footprint requirements of mobile devices
Excellent option for mobile apps where connectivity is consistent
Database connectivity is standard PHP database driver
Easy to enforce consistency across screens and applications with style sheets
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 29
copy 2014 IBM Corporation
Photo Share demo built using IBM Dojo Mobile Toolkit
Hosted via Softlayer nosqldemocom
Built for IOD 2013 to demonstrate Informix
hybrid (JSON relational and time series)
application support
PHP app using the MongoDB PHP driver for
connectivity to the Informix database
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 30
copy 2014 IBM Corporation 31
Cloudant
A distributed database as a service (DBaaS) allowing
developers of fast-growing web and mobile apps to focus on
building and improving their products instead of worrying
about scaling and managing databases on their own
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Cloudant Overview
ndash Operational JSON data store
ndash RESTful CouchDB API
ndash Advanced APIs
bull Replication amp Sync
bull Lucene Full-text Search
bull Geo-spatial
bull Incremental MapReduce
ndash Scalable Highly Available Performance
bull Cross-data center data distribution amp fail over
bull Geo load balancing
ndash Multi-tenant and dedicated-tenant clusters
ndash Monitoring administration amp development dashboards
ndash Managed 24x7 by big data experts
ndash Available in Rackspace IBMSoftLayer and AWS datacenters
32 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 3
bull Store data on the server
andor the local device
bull Native libraries support
synchronization process
and local storage
management
bull Synchronize data
between devices by
replicating data from
Cloudant
Store and Access Data Everywhere
Local
Storage
Local
Storage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 33
copy 2014 IBM Corporation 4
Putting Data at the Edge
bull Geographically disperse your data across multiple data centers
to allow for easy access depending on location
bull Ability to store data across 35 geographic locations
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 34
copy 2014 IBM Corporation 5
Local
Storage
bull Restored connection will
sync the data with the
server and other devices
connected to same source
bull Data redundancy across
data centers
Always Onhellip
bull Readwrite from local
storage when connection is
unavailable
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 35
copy 2014 IBM Corporation 7
Based on Open Industry Standardshellip
JSON Cloudant
HTTP HTTP
HTTP
bull Any device using HTTP and JSON can interact with Cloudant
HTTP
HTTP
HTTP
JSON
JSON
JSON
JSON
JSON
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 36
copy 2014 IBM Corporation
Cloudant Sync
Available for Android and IOS
Solution leverages devicersquos on-board
SQLite database for persistence
ndash Cloudant defines indexing scheme for
optimizing use of relational SQLite DB
with applicationrsquos JSON storage
requirements
Multi version concurrency control
Replication to the Cloudant server in the
cloud via HTTP
Mobile application does include and
interact with Cloudant SDK software which
resides on the device
ndash Cloudant Code is native (Java for
Android Objective C for IOS)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 37
copy 2014 IBM Corporation
Sync Cloudant with Informix or DB2
Leverage entire Cloudant implementation ndash
Cloudant Sync on the mobile device and
Cloudant in the cloud
Cloudant is the ldquosync serverrdquo with the
mobile application
Solution to sync data between the
Cloudant server and the IBM data server
would be a ldquohome grownrdquo solution
ndash One option would be to use REST API
to ldquopullrdquo data from Cloudant to DB2 via
stored procedures
ndash Standalone REST API based program
to extract from Cloudant and insert into
Informix
ndash Data exchanged as JSON documents
ndash IBM Data Stage supports JSON and
could be leveraged here
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 38
copy 2014 IBM Corporation 39
Bluemix
Bluemix is an open-standards cloud-based platform offering a
single solution environment with the instant resources and
infrastructure you need to develop and deploy apps across
multiple domains mdash fast
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Run Your Apps
The developer can chose any language
runtime or bring their own Just upload
your code and go
DevOps Development monitoring deployment
and logging tools allow the developer to
run the entire application
APIs and Services A catalog of open source IBM and third
party APIs services allow a developer
to stitch together an application in
minutes
Cloud Integration Build hybrid environments Connect to
on-premises systems of record plus other
public and private clouds Expose your
own APIs to your developers
Big Data Manage your Big Data requirements with
BLU Acceleration Hadoop based
analytics and your sensor and device
Internet of Things data
Introducing Bluemix
A rich set of mobile ready APIs that you can mix and match to power your App
NEW
copy 2014 IBM Corporation
Nodejs includes SDK for data
sync ndash Primary development language
for mobile and server side
scripting Includes templates and
SDK for syncing with the
database in the cloud
Mobile Application Security ndash basic app security framework -
enabling the developer to block
access to apps on specific
devices
Push ndash Create and schedule push
notifications for iOS and Android
devices to engage users when
they arent using the app
Mobile Data ndash SDKs to sync mobile shared data
with the scalable managed
Cloudant database as a service
Mobile Cloud BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 41
copy 2014 IBM Corporation
Node-RED ndash A visual tool for wiring your IoT
app
TimeSeries Database ndash Provides a managed data store
for Internet of Things device data
and enables you to do time series
analysis on that data
InternetOfThings ndash APIs allowing Bluemix
applications to access device
data simply and swiftly
Internet of Things (IoT) BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 42
copy 2014 IBM Corporation
43
Bluemix Mobile Services
Simplify app deployment infrastructure maintenance and improve app quality with cloud services for
mobile Accelerates app development with SDKs for iOS and Android
Push
Create and schedule push notifications for
iOS and Android devices to engage users
when they arenrsquot using the app User
tagging enables the user to select desired
push topics
Twilio Build apps that communicate Integrate
voice messaging and VoIP into your web
and mobile apps
Mobile Application Management Centrally manage app access through a
web based console Control and secure
apps through containerization and control
over the operational lifecycle
Mobile Data Enhance your mobile app with a shared
managed database in the Cloud that can
be accessed using native SDKs for iOS
and Android
Mobile Quality Assurance Instrument apps to capture tester and live-
user experiences including context-aware
crash log and in-app bug reports in-app
user feedback and insightful and
streamlined quality metrics
Cloud Services for Mobile in Minutes
Internet of Things Internet of Things APIs allowing Bluemix
applications to access device data simply
and swiftly Build apps for a smarter planet
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 44
Why Bluemix Mobile Services
bull Simplicity and speed for mobile developers to develop
and deploy a mobile backend to share data and
business logic
bull Native SDKs for Android and iOS make coding intuitive
for mobile app developers
bull Reduced cost of maintenance with fully managed
services
bull Integrated App Quality and App Management capability
bull Integrated platform to extend mobile applications with
enterprise data or to new scenarios such as Web APIs
or Internet of Things
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Mobile Data Service
With the Mobile Data service you can store delete update and query objects that are
stored in the cloud
You can use a REST URL to interrogate the data classes and content that is stored in the
cloud
With the Mobile Cloud Services SDK you can embed a special managed directory in your
application Any files that are stored in this managed directory can be monitored and
synchronized The application can share the contents of this managed directory by
connecting to Mobile Data service with the same application ID and user ID By sharing the
directory contents different instances of an application can have synchronized copies of the
files
You can import JSON or tabular data into Mobile Data service
File Sync is a separate plugin and that can be added to your mobile app
ndash Currenty a last write wins policy when multiple applications are updating the same files
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 45
copy 2014 IBM Corporation
Mobile Device
Mobile Data
Service
Mobile
Data API
Cache (SQLite)
Mobile
App
Bluemix
Mobile
Data Service
JSON
Object
Store
Data
Viewer
Bluemix Architecture for shared system of engagement data
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 46
copy 2014 IBM Corporation
Accessing Data in your Bluemix Database
Accessing data in the SQLDB (DB2) service ndash DB2 APIs ndash MongoDB APIs
Accessing data in the BLUAcceleration (DB2 with BLU Acceleration) service
ndash DB2 JDBC Ruby Nodejs Python and PHP APIs
Accessing data in the TimeSeries Database (Informix) service ndash Informix REST APIs ndash Informix SQLI APIs (JDBC ODBC ESQLC etc) ndash MongoDB APIs
Accessing data in the Cloudant JSONDB service ndash Cloudant REST services
copy 2014 IBM Corporation
Accessing your Enterprise Data from Bluemix
Accessing your on-premises enterprise database from your Bluemix app
would be a custom ldquohome grownrdquo application
All of your Bluemix data is resident in the Bluemix Cloud
Enterprise access would be possible if you want to move your enterprise
data to the SQLDB service (DB2) or TimeSeries Database (Informix)
Or access your on-premises enterprise data using REST or web services
from your Bluemix application
Or perhaps use Bluemix as a development sandbox and then shift to
SoftLayer where your Enterprise environment could be hosted
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 48
copy 2014 IBM Corporation 49
WorkLight
IBM Worklight provides an open comprehensive and advanced mobile
application platform for smartphones and tablets It helps organizations
of all sizes to efficiently develop test connect run and manage mobile
applications (apps)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
IBM Worklight A mobile application platform
Speeding the development integration and management of mobile applications and
infrastructure
Accelerate Development bull Web hybrid and native development open flexible
standard-based multi-screenomni-channel bull Functional testing bull Development lifecycle tools and integration
Facilitate App Security and Trust bull Server-enforced authentication bull App authenticity and user-app-device binding bull Secure and syncable on-device storage bull App version enforcement
Enable User Engagement bull Unified push and SMS notifications bull Geolocation and context collections and intelligence bull Mobile-friendly integration
Support Mobile Analytics bull Efficient acquisition of analytics data bull Development operational and business analytics bull Offline and online event management integration
Best Mobile Development Solution
voted by SIIA members 2013 CODiE Awards
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 50
copy 2014 IBM Corporation
Components of the IBM Worklight Mobile Platform
bullplus Worklight Mobile Test Workbench for automated functional testing
bulland Worklight Analytics Platform for an aggregated view of server and
clientmobile information
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 51
copy 2014 IBM Corporation
Worklight Server Procedures amp Adapters
bull Worklight Server resident procedures perform the interaction between the application and the back end applications bull Procedures are written in Javascript and interact with mobile applications over
HTTP using JSON-formatted data bull Procedures perform the conversions between JSON format and the format
required by the back end application
SQL Adapters are procedures which can be configured to execute parameterized SQL queries and stored procedures in order to retrieve or update data in the database
ndash Worklight SQL adapters for DB2 MySQL and Oracle using JDBC connectivity ndash Additional SQL adapters can be created
Other custom adapters can be developed to interact with other data sources ndash New adapter for Cloudant for example
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 52
copy 2014 IBM Corporation
Worklight Adapters
Connect to enterprise applications and
cloud services
Deliver data to and from mobile
applications
Perform any necessary server-side
logic on this data
Query
Update data
DataResult
as JSON
Invoke adapter
procedure
SQL Cast Iron
Worklight
Response
1
2 3
4
SAP JMS HTTP Cloudant
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 53
copy 2014 IBM Corporation
Worklight Server
SQL Adapters would be required to link your enterprise data store with
your mobile application
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 54
copy 2014 IBM Corporation
Bluemix complements Worklight - enabling enterprise application agility
IBM Codename Bluemix IBM Worklight
+ IBM amp Third Party APIs forhellip
Mobile Web
Devops Big Data amp
Analytics
Inte-
gration
and More
Extend your enterprise mobile app platform investment through
Cloud APIs
In Worklight 62 (June 2014)
bull Worklight ready SDK that can be plugged into your project
bull Lifecycle management controls API access for Bluemix services
bull Worklight security framework integrates with Bluemix SSO
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 55
copy 2014 IBM Corporation
Enterprise Data
and Services
Worklight
Server
Cloud Data and
Services
Adapters
bull Server-side logic in
JavaScript
bull Read-only or Txn
bull Secure and Uniform
access to business
data
Worklight Adapters
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 56
copy 2014 IBM Corporation
Genero Mobile
A integrated platform for the rapid development of rich business applications
taking your application ideas to the desktop web and now to mobile devices
while fulfilling the promise of ldquoWrite Once Run Anywhererdquo
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 57
copy 2014 IBM Corporation
Genero Key features - Write once deploy everywhere
bull Rapid Development of rich business applications
bull Modernize legacy 4th generation language (green screen) apps
bull Desktop web and now mobile applications
bull Developed by IBM Business Partner 4Js
bull Native Dynamic Virtual Machine for mobile platforms (iOSamp Android)
bull Native GUI native performance
bull Connecteddisconnected mode
bull SQLite access on mobile device
bull Server database synchronization with Informix DB2 and other RDBMS
bull UTF-8
bull JSON Web Services RESTful services
bull App store or Over the Air installation
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 58
copy 2014 IBM Corporation
Genero Mobile Options Genero Web Client (GWC)
ndash Application is hosted on back end server
ndash Hosted via Genero Application Server through your web browser
ndash ldquoConnectedrdquo application
Genero Hybrid Client (GHC)
ndash Application runs within HTML5 native container
ndash Some access to local device applications amp data
ndash Hosted via Genero Application Server via web browser
ndash Downloaded via App Stores
Genero Mobile Client (GMC)
ndash 4Js announced GMC at 2013 IIUG conference and in ldquoStatement of Directionrdquo on web site
ndash Native DVM for Android and IOS supporting native user interfaces
ndash True ldquodisconnectedrdquo applications
ndash Apps will be native and can thus be hosted via App Stores (iTunes etc)
ndash Local SQLite database utilized ndash syncing with RDBMS planned
ndash Early Access Program (beta) is currently in progress
ndash General availability in June 2014
59 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Genero Mobile applications Application types
Native Advanced UI actions
Best performance
App store distribution
Hybrid Web developer skills
Native access
App store distribution
HTML5 Web developer skills
Cross platform
Instant updates
Unrestricted distribution
No offline mode
Genero Hybrid Client
Genero Web Client
Genero Mobile Client
4Js announced direction
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 60
copy 2014 IBM Corporation
Native application Mobile browser Native container
Native HTML5 Hybrid
Genero Mobile applications Application types
Hybrid
Mobile browser
HTML5
Native container
Hybrid
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 61
copy 2014 IBM Corporation
Flexible deployment Genero Mobile ndash one source code base 90 market coverage
FUNCTION edit_customer(num)
DEFINE num LIKE customercustomer_num
LET int_flag = FALSE
SELECT INTO customer
FROM customer
WHERE customer_num == num
INPUT BY NAME customer WITHOUT DEFAULTS
ON ACTION zoom INFIELD state
LET customerstate =
statesgetState(customerstate)
DISPLAY BY NAME customerstate
END INPUT
IF NOT int_flag THEN
UPDATE customer SET customer = customer
WHERE customer_num = num
ELSE
SELECT INTO customer
FROM customer
WHERE customer_num == num
DISPLAY BY NAME customer
END IF
END FUNCTION
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 62
copy 2014 IBM Corporation
bull Easy and consistent access to local
applications on IOS and Android
ndash Camera
ndash Contacts
ndash Email
ndash Calendar
ndash GPS
ndash Storage
Flexible deployment Genero Mobile ndash no need to choose Objective bdquoC‟ or Java
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 63
copy 2014 IBM Corporation
bull Native widgets
Genero Mobile Native UI combined with power of Genero
bull Native interactions ndash ex swipe left to
delete
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 64
copy 2014 IBM Corporation
Mobile device
iOSAndroid process
GUI
thread
VM
thread
Disconnected mode Device runs application and stores data offline (on the device)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 65
copy 2014 IBM Corporation
Web server
http
Mobile device
iOSAndroid process
GUI
thread
VM
GAS +
PROXY
Connected mode Device connects to a remote corporate server as an online terminal
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 66
copy 2014 IBM Corporation
Web server
JSON
http
Mobile device
iOSAndroid process
GUI
thread
VM
thread
Data synchronization ndash JSON JSON Web Services ndash offline data capture and sync with a remote database when online
VM
DBMS
SQLite
Web
Service
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 67
copy 2014 IBM Corporation
Summary
Back to our customerrsquos mobile applicationhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 68
copy 2014 IBM Corporation
Our DB2 Customerrsquos Mobile Environment ndash One New Scenario
Possible New Scenario
bull IBM Worklight based solution
bull Native iOS and Android mobile applications
bull Native apps can run in disconnected mode using local device data storage
bull Sync between device data storage and DB2 UDB data repository server using SQL Adapter
bull Native apps access local device resources
bull Enterprise authentication and mobile device management
Worklight
Server
Authentication
SQL Adapter
WebSphere
App Server
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 69
copy 2014 IBM Corporation
On Premises
data center
SoftLayer
Cloudant
REST over HTTP
Tables
Users
CloudSync
bull10000+ Android tablets
bullMobile app using Cloudant SDK
Possible New Scenario
bull New Android tablets
bull Cloudant SDK on the mobile device and CloudSync to sync the devices with the Cloudant server(s)
bull Custom REST based sync program to sync the Cloud-based Cloudant server with the on-premises Informix servers
Informix Customerrsquos Mobile Environment ndash One New Scenario
Sync
program
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 70
copy 2014 IBM Corporation 71
DB2 Tech Talk Informix and DB2 for Internet of Things amp Mobile Apps Next Steps Roadmap
Read about mobile app development and Internet of Things
bull Mobile Development on IBM developerWorks links to BlueMix Worklight Check products and tools tab bitlymobiledevdw
bull Mobile development on ibmcom bitly1h4IWo8
bull Bluemix introduction the next cloud platform bitly1pCXZrM
bull IBM Internet of Things page including Redbooks publication bitly1mOlt8G
bull Genero Mobile www4jscom
bull Dojo Mobile bitly1mOmyxf
Test drive the tools
bull Informix software download bitly1oSBm2y
bull BLU Acceleration for Cloud Open Beta googlAkMm8e
bull DB2 105 trial software Ibmcodb2download
bull Bluemix beta software acengbluemixnet
bull Worklight Developer Edition bitly1x1FSy2
Participate in the conversation
developerWorks answers Internet of Things technical forum
bitlyU9nPqT
Reference
Call IBM to schedule a demo or learn more
bull 1 800 966-9875 (US)
bull 1-888-746-7426 (Canada)
bull 1800-425-3333 (India)
bull Or visit httpwwwibmcomplanetwide for contact information worldwide
IBM DB2 105 product page
Ibmcomdb2
IBM DB2 105 Product features
ibmco12c1PJz
IBM Data Studio product page
Ibmcoibmdsinfo
Tech forum on developerWorks
bitlydb2forumluw
SQL Tips Blog
wwwsqltips4db2com
Step Three
Step Two
Step One
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 72
Upcoming Tech Talks Don‟t miss these in-depth DB2 feature talks
Dates and topics subject to change and modification
How to register
DB2 Tech Talks web site
Next DB2 Tech Talk DB2 with BLU Acceleration for SAP
bull July 17 2014 at 1230 PM
bull Guersad kuecuek Technical Specialist
DB2 and SAP in Europe
bull Registration bitlytt2014jul
bullIDUG DB2 Tech Conference Austrailasia
bull Sydney
bull September 10 ndash 12 2014
bull wwwidugorg
bullIBM Insight 2014
former Information on Demand Conference
bull Las Vegas NV
bull October 26 ndash 30 2014
bull bitlyibminsight2014
bullIDUG DB2 Tech Conference EMEA
bull Prague Czech Republic
bull November 9 ndash 14 2014
bull wwwidugorg
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Learn engage and get social new DB2 with BLU Acceleration microsite
wwwibmBLUhubcom
DB2 with BLU Acceleration is for
reporting ndash Fast and simple way to respond to
continual reporting requests
ndash No tuning no tweaking
ndash Gets you back to high-value
projects
BLU Acceleration hub contains ndash Technical information and
ldquoinformation for your bossrdquo
ndash Access to the social conversation
ndash Links to software trial and BLU
Acceleration for Cloud
And more Check it out
73 Need webcast troubleshooting help Click attachments
Need webcast troubleshooting help Click attachments
BLU ndash Cognos Demo bitlydemoblu-cognos
copy 2014 IBM Corporation 74
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 75
Questions
Listening in replay
Questions wwwsqltips4db2com
Click submit a question
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 76
Thanks for attending
Please rate the session
Presentation download bitlyttfilemay14
click Attachments in this webcast environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Key trends motivating mobile application developers
Supporting the business trends ndash more interactions
In 2013 smartphones overtook non-smart phones globally (gt50) ndash mind-share of non-mobile is dwindling ndash ability to ldquoeat your own dog foodrdquo
Android + iOS now make up well over 90 of smartphone sales ndash consolidation ndash capture broader base with fewer ports
The app market was worth $70 billion in 2013 expected to double by 2016 ndash developer interest in a growing market for making $$
Android now mandatory ndash itrsquos only a matter of priority which one to do first ndash 70 of developers that target mobile create apps for Android ndash the market is now flooded with Android platforms ndash easy to obtain
Tablet users grew by 3x from 2011 to 2014 (US ndash 90 million 2014) ndash widespread use is replacing desktop and laptop as primary platform
Internet-of-things goes hand-in-hand with mobile ndash access devices and data from everywhere ndash end users now expect a mobile app to access the ldquothingsrdquo
NoSQL Market
$14 billion 2013-2018
Digital Ads
Fraud Detection
Mobile
Market Analysis
Pricing
Billing
Customer Loyalty
Documents
Data requirements also changing
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 7
copy 2014 IBM Corporation Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 8
copy 2014 IBM Corporation
Some general approaches to mobile app development
Mobile web sites (HTML CSS PHP and other standards with mobile device detection) ndash lowest on the UX scale with network-dependent performance ndash lowest on the NX scale no access to device features
Mobile web applications (typically HTML5 JavaScript and other standards) ndash more modern version of web apps which leverage devices better decent UX ndash typically moderate dependency on network ndash connected-mode ndash can be designed to work without mods on wide range of devices
Cross-platform frameworks (write once run everywhere) ndash cross-compilation produce complete native apps from common code base
Hybrid ndash special case of cross-platform ndash HTML wrapped in a native container install app on the device in a standard way ndash typically supports some level of disconnected-mode
Native applications ndash developer kit for the device ndash tools IDEs ndash separate code lines per devices but best UX and NX
UX = User Experience
NX = Native Experience
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 9
copy 2014 IBM Corporation
What are some key developer tools and languages for mobile
bull Demand for Python Java and Javascript remains strong bull ASPNET and C decreasing bull Objective C demand almost double that of Android bull RESTful APIs in demand bull Limitations of unstructured databases are driving requirements for hybrid SQLNoSQL solution
for speed simplicity and flexibility
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 10
copy 2014 IBM Corporation
Our world is getting smarter
Digital technologies (sensors and other monitoring instruments) are being
embedded into every object system and process
All the data generated by digital technology is providing intelligence
to help us do things better improving our responsiveness and our ability to predict and
optimize for future events
INTELLIGENT
INSTRUMENTED
INTERCONNECTED
In the globalized networked world people systems
objects and processes are connected and they
are communicating with one another in entirely new ways
Internet of Things solutions implement the three basic principles Instrumented Interconnected and Intelligent systems of Smarter Planet
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 11
copy 2014 IBM Corporation
ldquoConnected Liferdquo forecast $45T in 2020
Connected Life is everything that is connected and how they interact cars mobile devices buildings sensors and people
Top Ten in 2020 1 Connected Car $600 billion 2 Clinical Remote Monitoring $350 billion 3 Assisted Living $270 billion 4 Home and Building Security $250 billion 5 Pay-As-You-Drive Car Insurance $245 billion 6 New Business Models for Car Usage $225 billion 7 Smart Meters $105 billion 8 Traffic Management $100 billion 9 Electric Vehicle Charging $75 billion 10 Building Automation $40 billion
NY Times A Messenger for the Internet of Things
Wall Street Journal IBM Tackles Machine to Machine Big Data Deluge
Sourcehttpwwwglobaltelecomsbusinesscomarticle2985699Connected-devices-will-be-worth-45thtml
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 12
copy 2014 IBM Corporation
Nexus mobile devices and IoT
Explosion of mobile has created new opportunities for IoT
Explosion of IoT has created new demand for mobile
Past Present Future
Proprietary and special-purpose
devices for accessing IoT
Mobile devices which most
people have already and apps
Cloud and mobile provides
ldquoeverywhererdquo access to IoT
Expensive gadgetry Affordable IoT devices Commodity pre-integrated
Wide range of protocols mostly
proprietary
Consolidation of protocols and
standards
Internet-ready widgets
Difficult to connect Low-level
programming
Software libraries and gateways
take care of the dirty work
Automated discovery and ldquoplug-in
readyrdquo value
Ad-hoc data models JSON universal internet language Timeseries JSON cloud
Barriers to adoption are
dropping rapidly
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 13
copy 2014 IBM Corporation
Technology shift consumers lead the Internet of Things
Today Tomorrow Integration
A few connected
devices per
personhellip
Almost every device that consumers own will be
connected and many new ones will be created to leverage
the value created by consumer connections
Cross-platform
integrators will
connected devices
and automate
personal activity Door Lock
Dishwasher
Clothes Washer
Clothes Dryer
Window Lock
Garage Door
Toothbrush
Garden Moisture
Coffee Maker
Home Lights
Examples
Iftttcom
Zapiercom
Just as consumers have led enterprises in embracing new mobile services we
believe they will lead the adoption of connected devices amp integrated services
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 14
copy 2014 IBM Corporation
All Internet of Things use cases have a common set of requirements
Requirements
Quickly and easily provision new sensors
Create a real-time communication channel with the sensor
Capture data from the sensor and store it in a time series database
Provide access to the collected data
Pay for the service based on usage
Extended Requirements
Provide analytics on the data in both real-time and historical data
Trigger events based on specific data conditions
Interact with the sensor from business applications andor from mobile devices
1 must provide perceived value ndash quality of
life bottom line societal safety etc
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 15
copy 2014 IBM Corporation
IoT data ldquoWe believe it is better to have application
programmers deal with performance problems
due to overuse of transactions as bottlenecks
arise rather than always coding around the
lack of transactionsrdquo
Paper ndash Spanner Googlersquos Globally-Distributed Database
NoSQL
TimeSeries
Relational
Primary IoT Data Requirements
Geospatial
More than one data access model
is useful
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 16
copy 2014 IBM Corporation
Devices create and require time series
Virtually every IoT device doing real stuff in the real world creates a time series ndash Deploy and configure device (location owner capabilities) metadata NoSQL ndash Take readings (temperature power humidity) time series ndash Trigger events (lights ON place call sound alarm) time series
Time series stored in relational or JSON is unnatural ndash frequent updates ndash new reading = new row in table ndash access is not sequential
TimeSeries data model support helps IoT ndash storage space ndash performance
ID Time Value
1 1000 66
2 1000 20
1 1005 75
5 1010 12
Relational table
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 17
copy 2014 IBM Corporation
Informix Time Series Approach
Device_ID Series
1 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
2 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
3 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
4 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
hellip hellip
Time series storage
bull Each row contains all the data for a single device data append to end of the row
bull Data is not indexed only the device ID column is indexed
bull Data on disk is clustered by device id and kept ordered by time
bull Device IDs stored once rather than with every record
bull Timestamps are not stored on disk instead are calculated by position in series
bull Missing intervals are marked with a placeholder
eg Hildebrand 3 million customers a
reading every six seconds 50k insertss
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 18
copy 2014 IBM Corporation
IBM Products used in IoT Solutions
Collection of data for all sensors
Data from other kinds of
sensors
Consumer Business
Sensors in the home
TimeSeries Service
NoSQL Relational Timeseries amp Spatial storage amp analytics
Acceleration Technology
BLU IWA
SPSSCognos
MessageSight MQTT
SoftLayer BlueMix
BigInsights
Gateways for local analytics
Infosphere Streams
(no gateway)
In-memory analytics
Predictive analytics and dashboard
Cloud infrastructure
Hadoop
Publish Subscribe
Real-time analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 19
copy 2014 IBM Corporation
Developed by business partners Shaspa Tatung and ST-Micro ndash Runs on ARM v7 and Intel Quark chip sets ndash 512MB to 1GB of memory ndash 1GB to 4GB of storage ndash WirelessBluetooth receiver
ndash 3 inch by 2 inch form factor
Software components in SmartGate
ndash Informix enterprise edition
ndash Webserver
ndash Debian Linux
ndash Connectivity to the TimeSeries cloud service
ndash Support for common device communication protocols including
bull Enocean KNX Modbus CANOpen Zigbee ZWave DALI MBus SNMP MPBus
Priced around $100
20
Shasparsquos SmartGate Gateway example of edge device for IoT
Informix Database
Inside
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 20
copy 2014 IBM Corporation
Why use a gateway for local analytics
1 Gateways can reduce the cost of the backend cloud
bull Reduces cloud storage by filteringaggregatinganalyzing data locally
bull Reduces cloud CPU requirements by pre-computing values
2 Reduces latency since actions can be taken immediately
bull Intelligent gateways can detect and respond to local events as they happen rather than waiting for transfer to the cloud
3 Many users are not comfortable putting their data in the cloud
bull Gateways allow customers to capture and get value from their sensors without sending data to the cloud
Over time more and more of the processing will move from the cloud to edge (gateway) devices
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 21
copy 2014 IBM Corporation
IBM Internet of Things analytics in the cloud
Analyze
Gateway Local Analytics
Analytics
Analyze other than the time
dimension
Aggregate and join across
data types and attributes
Millions of devices
System of record existing
mountains of data
Database in the cloud
Gateway Local Analytics
Gateways Local Analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 22
copy 2014 IBM Corporation 23
Where we are coming fromhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
A DB2 Customerrsquos Mobile Environment
Web
Server
Current Scenario
bull Simple ldquohome grownrdquo app outgrew its initial purpose and requirements
bull Connected Web application serving hundreds of sales associates
bull Access mostly via smart phone browser but also via laptop browser
bull PHP application
bull DB2 UDB data repository
New Requirements
bull Disconnected Mode
bull Access to local device address book calendar etc
bull Better authentication
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
24
copy 2014 IBM Corporation
DB2
Everyplace
Web
Sphere
JDBC
Replication Tables
Users XML
Sync
3500PDAs Windows mobile 61 and 65 running on PSIONPITION MOTOROLAHTCSANSUMGHHP
Windows Server
Quad Core
04Gb RAM
32Bits Current Scenario
bull DB2E is handling 3500 PDAs
bull DB2 Everyplace to connect field technicians to Informix database with service request data dispatching service orders to mobile users who are equipped with handheld devices improving responsiveness to service outages
bull Currently using Windows mobile 61 and 65 running on PSIONPITION MOTOROLA HTC SAMSUNG and HHP devices
bull Developed home-grown applications using NET
bull Some devices sync online and others offline
Another Customerrsquos Mobile Environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 25
copy 2014 IBM Corporation 26
Cloud and Mobile Applications
Experimental in nature
- Require rapid iteration
- Faster time to market
- May be decommissioned quickly ndash need
environments in minutes versus days or weeks
Are written in multiple languages
- Web JavaScript Ruby Java PHP
- Mobile iOS Android Hybrid
Composed of Services
- Build using a composition model of stitching
capabilities together
- Capabilities often require time to test in app
beyond the scope of a free trial
Integrate with existing systems
- Data is often located in multiple places (public
private traditional data center)
- Existing systems may not scale at the same the
level of cloud applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
WriteUpdate
System Of Record
bull Cloudant JSONDB
bull Mobile Data Services (Bluemix)
bull Integration Services
- Cast IronDataStage
Mobile Data Synchronization Landscape
System Of Record
Enterprise
Data Store (Informix DB2)
bull On Device data persistence (SQLite)
bull Data Sync between devices and to Cloudant
data store
bull UpdateWrite to System Of Record through
the front door (Using Enterprise app APIs)
bull Using Cloudant SDK on device
System Of Engagement
Enterprise App
APIs
Cast Iron
DataStage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 27
copy 2014 IBM Corporation 28
Dojo Mobile Toolkit
The Dojo Mobile toolkit is a powerful JavaScript framework
that provides all of the building blocks required to develop
lightweight high-performance mobile web applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Dojo Mobile Toolkit
One of the choices in the busy HTML5 amp CSS3 category
Mobile toolkit extends the existing Dojo toolkit to deal with
ndash Input device differences
ndash Smaller screen sizes
ndash Reduced processing power and footprint requirements of mobile devices
Excellent option for mobile apps where connectivity is consistent
Database connectivity is standard PHP database driver
Easy to enforce consistency across screens and applications with style sheets
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 29
copy 2014 IBM Corporation
Photo Share demo built using IBM Dojo Mobile Toolkit
Hosted via Softlayer nosqldemocom
Built for IOD 2013 to demonstrate Informix
hybrid (JSON relational and time series)
application support
PHP app using the MongoDB PHP driver for
connectivity to the Informix database
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 30
copy 2014 IBM Corporation 31
Cloudant
A distributed database as a service (DBaaS) allowing
developers of fast-growing web and mobile apps to focus on
building and improving their products instead of worrying
about scaling and managing databases on their own
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Cloudant Overview
ndash Operational JSON data store
ndash RESTful CouchDB API
ndash Advanced APIs
bull Replication amp Sync
bull Lucene Full-text Search
bull Geo-spatial
bull Incremental MapReduce
ndash Scalable Highly Available Performance
bull Cross-data center data distribution amp fail over
bull Geo load balancing
ndash Multi-tenant and dedicated-tenant clusters
ndash Monitoring administration amp development dashboards
ndash Managed 24x7 by big data experts
ndash Available in Rackspace IBMSoftLayer and AWS datacenters
32 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 3
bull Store data on the server
andor the local device
bull Native libraries support
synchronization process
and local storage
management
bull Synchronize data
between devices by
replicating data from
Cloudant
Store and Access Data Everywhere
Local
Storage
Local
Storage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 33
copy 2014 IBM Corporation 4
Putting Data at the Edge
bull Geographically disperse your data across multiple data centers
to allow for easy access depending on location
bull Ability to store data across 35 geographic locations
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 34
copy 2014 IBM Corporation 5
Local
Storage
bull Restored connection will
sync the data with the
server and other devices
connected to same source
bull Data redundancy across
data centers
Always Onhellip
bull Readwrite from local
storage when connection is
unavailable
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 35
copy 2014 IBM Corporation 7
Based on Open Industry Standardshellip
JSON Cloudant
HTTP HTTP
HTTP
bull Any device using HTTP and JSON can interact with Cloudant
HTTP
HTTP
HTTP
JSON
JSON
JSON
JSON
JSON
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 36
copy 2014 IBM Corporation
Cloudant Sync
Available for Android and IOS
Solution leverages devicersquos on-board
SQLite database for persistence
ndash Cloudant defines indexing scheme for
optimizing use of relational SQLite DB
with applicationrsquos JSON storage
requirements
Multi version concurrency control
Replication to the Cloudant server in the
cloud via HTTP
Mobile application does include and
interact with Cloudant SDK software which
resides on the device
ndash Cloudant Code is native (Java for
Android Objective C for IOS)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 37
copy 2014 IBM Corporation
Sync Cloudant with Informix or DB2
Leverage entire Cloudant implementation ndash
Cloudant Sync on the mobile device and
Cloudant in the cloud
Cloudant is the ldquosync serverrdquo with the
mobile application
Solution to sync data between the
Cloudant server and the IBM data server
would be a ldquohome grownrdquo solution
ndash One option would be to use REST API
to ldquopullrdquo data from Cloudant to DB2 via
stored procedures
ndash Standalone REST API based program
to extract from Cloudant and insert into
Informix
ndash Data exchanged as JSON documents
ndash IBM Data Stage supports JSON and
could be leveraged here
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 38
copy 2014 IBM Corporation 39
Bluemix
Bluemix is an open-standards cloud-based platform offering a
single solution environment with the instant resources and
infrastructure you need to develop and deploy apps across
multiple domains mdash fast
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Run Your Apps
The developer can chose any language
runtime or bring their own Just upload
your code and go
DevOps Development monitoring deployment
and logging tools allow the developer to
run the entire application
APIs and Services A catalog of open source IBM and third
party APIs services allow a developer
to stitch together an application in
minutes
Cloud Integration Build hybrid environments Connect to
on-premises systems of record plus other
public and private clouds Expose your
own APIs to your developers
Big Data Manage your Big Data requirements with
BLU Acceleration Hadoop based
analytics and your sensor and device
Internet of Things data
Introducing Bluemix
A rich set of mobile ready APIs that you can mix and match to power your App
NEW
copy 2014 IBM Corporation
Nodejs includes SDK for data
sync ndash Primary development language
for mobile and server side
scripting Includes templates and
SDK for syncing with the
database in the cloud
Mobile Application Security ndash basic app security framework -
enabling the developer to block
access to apps on specific
devices
Push ndash Create and schedule push
notifications for iOS and Android
devices to engage users when
they arent using the app
Mobile Data ndash SDKs to sync mobile shared data
with the scalable managed
Cloudant database as a service
Mobile Cloud BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 41
copy 2014 IBM Corporation
Node-RED ndash A visual tool for wiring your IoT
app
TimeSeries Database ndash Provides a managed data store
for Internet of Things device data
and enables you to do time series
analysis on that data
InternetOfThings ndash APIs allowing Bluemix
applications to access device
data simply and swiftly
Internet of Things (IoT) BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 42
copy 2014 IBM Corporation
43
Bluemix Mobile Services
Simplify app deployment infrastructure maintenance and improve app quality with cloud services for
mobile Accelerates app development with SDKs for iOS and Android
Push
Create and schedule push notifications for
iOS and Android devices to engage users
when they arenrsquot using the app User
tagging enables the user to select desired
push topics
Twilio Build apps that communicate Integrate
voice messaging and VoIP into your web
and mobile apps
Mobile Application Management Centrally manage app access through a
web based console Control and secure
apps through containerization and control
over the operational lifecycle
Mobile Data Enhance your mobile app with a shared
managed database in the Cloud that can
be accessed using native SDKs for iOS
and Android
Mobile Quality Assurance Instrument apps to capture tester and live-
user experiences including context-aware
crash log and in-app bug reports in-app
user feedback and insightful and
streamlined quality metrics
Cloud Services for Mobile in Minutes
Internet of Things Internet of Things APIs allowing Bluemix
applications to access device data simply
and swiftly Build apps for a smarter planet
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 44
Why Bluemix Mobile Services
bull Simplicity and speed for mobile developers to develop
and deploy a mobile backend to share data and
business logic
bull Native SDKs for Android and iOS make coding intuitive
for mobile app developers
bull Reduced cost of maintenance with fully managed
services
bull Integrated App Quality and App Management capability
bull Integrated platform to extend mobile applications with
enterprise data or to new scenarios such as Web APIs
or Internet of Things
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Mobile Data Service
With the Mobile Data service you can store delete update and query objects that are
stored in the cloud
You can use a REST URL to interrogate the data classes and content that is stored in the
cloud
With the Mobile Cloud Services SDK you can embed a special managed directory in your
application Any files that are stored in this managed directory can be monitored and
synchronized The application can share the contents of this managed directory by
connecting to Mobile Data service with the same application ID and user ID By sharing the
directory contents different instances of an application can have synchronized copies of the
files
You can import JSON or tabular data into Mobile Data service
File Sync is a separate plugin and that can be added to your mobile app
ndash Currenty a last write wins policy when multiple applications are updating the same files
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 45
copy 2014 IBM Corporation
Mobile Device
Mobile Data
Service
Mobile
Data API
Cache (SQLite)
Mobile
App
Bluemix
Mobile
Data Service
JSON
Object
Store
Data
Viewer
Bluemix Architecture for shared system of engagement data
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 46
copy 2014 IBM Corporation
Accessing Data in your Bluemix Database
Accessing data in the SQLDB (DB2) service ndash DB2 APIs ndash MongoDB APIs
Accessing data in the BLUAcceleration (DB2 with BLU Acceleration) service
ndash DB2 JDBC Ruby Nodejs Python and PHP APIs
Accessing data in the TimeSeries Database (Informix) service ndash Informix REST APIs ndash Informix SQLI APIs (JDBC ODBC ESQLC etc) ndash MongoDB APIs
Accessing data in the Cloudant JSONDB service ndash Cloudant REST services
copy 2014 IBM Corporation
Accessing your Enterprise Data from Bluemix
Accessing your on-premises enterprise database from your Bluemix app
would be a custom ldquohome grownrdquo application
All of your Bluemix data is resident in the Bluemix Cloud
Enterprise access would be possible if you want to move your enterprise
data to the SQLDB service (DB2) or TimeSeries Database (Informix)
Or access your on-premises enterprise data using REST or web services
from your Bluemix application
Or perhaps use Bluemix as a development sandbox and then shift to
SoftLayer where your Enterprise environment could be hosted
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 48
copy 2014 IBM Corporation 49
WorkLight
IBM Worklight provides an open comprehensive and advanced mobile
application platform for smartphones and tablets It helps organizations
of all sizes to efficiently develop test connect run and manage mobile
applications (apps)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
IBM Worklight A mobile application platform
Speeding the development integration and management of mobile applications and
infrastructure
Accelerate Development bull Web hybrid and native development open flexible
standard-based multi-screenomni-channel bull Functional testing bull Development lifecycle tools and integration
Facilitate App Security and Trust bull Server-enforced authentication bull App authenticity and user-app-device binding bull Secure and syncable on-device storage bull App version enforcement
Enable User Engagement bull Unified push and SMS notifications bull Geolocation and context collections and intelligence bull Mobile-friendly integration
Support Mobile Analytics bull Efficient acquisition of analytics data bull Development operational and business analytics bull Offline and online event management integration
Best Mobile Development Solution
voted by SIIA members 2013 CODiE Awards
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 50
copy 2014 IBM Corporation
Components of the IBM Worklight Mobile Platform
bullplus Worklight Mobile Test Workbench for automated functional testing
bulland Worklight Analytics Platform for an aggregated view of server and
clientmobile information
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 51
copy 2014 IBM Corporation
Worklight Server Procedures amp Adapters
bull Worklight Server resident procedures perform the interaction between the application and the back end applications bull Procedures are written in Javascript and interact with mobile applications over
HTTP using JSON-formatted data bull Procedures perform the conversions between JSON format and the format
required by the back end application
SQL Adapters are procedures which can be configured to execute parameterized SQL queries and stored procedures in order to retrieve or update data in the database
ndash Worklight SQL adapters for DB2 MySQL and Oracle using JDBC connectivity ndash Additional SQL adapters can be created
Other custom adapters can be developed to interact with other data sources ndash New adapter for Cloudant for example
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 52
copy 2014 IBM Corporation
Worklight Adapters
Connect to enterprise applications and
cloud services
Deliver data to and from mobile
applications
Perform any necessary server-side
logic on this data
Query
Update data
DataResult
as JSON
Invoke adapter
procedure
SQL Cast Iron
Worklight
Response
1
2 3
4
SAP JMS HTTP Cloudant
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 53
copy 2014 IBM Corporation
Worklight Server
SQL Adapters would be required to link your enterprise data store with
your mobile application
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 54
copy 2014 IBM Corporation
Bluemix complements Worklight - enabling enterprise application agility
IBM Codename Bluemix IBM Worklight
+ IBM amp Third Party APIs forhellip
Mobile Web
Devops Big Data amp
Analytics
Inte-
gration
and More
Extend your enterprise mobile app platform investment through
Cloud APIs
In Worklight 62 (June 2014)
bull Worklight ready SDK that can be plugged into your project
bull Lifecycle management controls API access for Bluemix services
bull Worklight security framework integrates with Bluemix SSO
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 55
copy 2014 IBM Corporation
Enterprise Data
and Services
Worklight
Server
Cloud Data and
Services
Adapters
bull Server-side logic in
JavaScript
bull Read-only or Txn
bull Secure and Uniform
access to business
data
Worklight Adapters
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 56
copy 2014 IBM Corporation
Genero Mobile
A integrated platform for the rapid development of rich business applications
taking your application ideas to the desktop web and now to mobile devices
while fulfilling the promise of ldquoWrite Once Run Anywhererdquo
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 57
copy 2014 IBM Corporation
Genero Key features - Write once deploy everywhere
bull Rapid Development of rich business applications
bull Modernize legacy 4th generation language (green screen) apps
bull Desktop web and now mobile applications
bull Developed by IBM Business Partner 4Js
bull Native Dynamic Virtual Machine for mobile platforms (iOSamp Android)
bull Native GUI native performance
bull Connecteddisconnected mode
bull SQLite access on mobile device
bull Server database synchronization with Informix DB2 and other RDBMS
bull UTF-8
bull JSON Web Services RESTful services
bull App store or Over the Air installation
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 58
copy 2014 IBM Corporation
Genero Mobile Options Genero Web Client (GWC)
ndash Application is hosted on back end server
ndash Hosted via Genero Application Server through your web browser
ndash ldquoConnectedrdquo application
Genero Hybrid Client (GHC)
ndash Application runs within HTML5 native container
ndash Some access to local device applications amp data
ndash Hosted via Genero Application Server via web browser
ndash Downloaded via App Stores
Genero Mobile Client (GMC)
ndash 4Js announced GMC at 2013 IIUG conference and in ldquoStatement of Directionrdquo on web site
ndash Native DVM for Android and IOS supporting native user interfaces
ndash True ldquodisconnectedrdquo applications
ndash Apps will be native and can thus be hosted via App Stores (iTunes etc)
ndash Local SQLite database utilized ndash syncing with RDBMS planned
ndash Early Access Program (beta) is currently in progress
ndash General availability in June 2014
59 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Genero Mobile applications Application types
Native Advanced UI actions
Best performance
App store distribution
Hybrid Web developer skills
Native access
App store distribution
HTML5 Web developer skills
Cross platform
Instant updates
Unrestricted distribution
No offline mode
Genero Hybrid Client
Genero Web Client
Genero Mobile Client
4Js announced direction
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 60
copy 2014 IBM Corporation
Native application Mobile browser Native container
Native HTML5 Hybrid
Genero Mobile applications Application types
Hybrid
Mobile browser
HTML5
Native container
Hybrid
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 61
copy 2014 IBM Corporation
Flexible deployment Genero Mobile ndash one source code base 90 market coverage
FUNCTION edit_customer(num)
DEFINE num LIKE customercustomer_num
LET int_flag = FALSE
SELECT INTO customer
FROM customer
WHERE customer_num == num
INPUT BY NAME customer WITHOUT DEFAULTS
ON ACTION zoom INFIELD state
LET customerstate =
statesgetState(customerstate)
DISPLAY BY NAME customerstate
END INPUT
IF NOT int_flag THEN
UPDATE customer SET customer = customer
WHERE customer_num = num
ELSE
SELECT INTO customer
FROM customer
WHERE customer_num == num
DISPLAY BY NAME customer
END IF
END FUNCTION
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 62
copy 2014 IBM Corporation
bull Easy and consistent access to local
applications on IOS and Android
ndash Camera
ndash Contacts
ndash Email
ndash Calendar
ndash GPS
ndash Storage
Flexible deployment Genero Mobile ndash no need to choose Objective bdquoC‟ or Java
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 63
copy 2014 IBM Corporation
bull Native widgets
Genero Mobile Native UI combined with power of Genero
bull Native interactions ndash ex swipe left to
delete
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 64
copy 2014 IBM Corporation
Mobile device
iOSAndroid process
GUI
thread
VM
thread
Disconnected mode Device runs application and stores data offline (on the device)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 65
copy 2014 IBM Corporation
Web server
http
Mobile device
iOSAndroid process
GUI
thread
VM
GAS +
PROXY
Connected mode Device connects to a remote corporate server as an online terminal
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 66
copy 2014 IBM Corporation
Web server
JSON
http
Mobile device
iOSAndroid process
GUI
thread
VM
thread
Data synchronization ndash JSON JSON Web Services ndash offline data capture and sync with a remote database when online
VM
DBMS
SQLite
Web
Service
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 67
copy 2014 IBM Corporation
Summary
Back to our customerrsquos mobile applicationhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 68
copy 2014 IBM Corporation
Our DB2 Customerrsquos Mobile Environment ndash One New Scenario
Possible New Scenario
bull IBM Worklight based solution
bull Native iOS and Android mobile applications
bull Native apps can run in disconnected mode using local device data storage
bull Sync between device data storage and DB2 UDB data repository server using SQL Adapter
bull Native apps access local device resources
bull Enterprise authentication and mobile device management
Worklight
Server
Authentication
SQL Adapter
WebSphere
App Server
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 69
copy 2014 IBM Corporation
On Premises
data center
SoftLayer
Cloudant
REST over HTTP
Tables
Users
CloudSync
bull10000+ Android tablets
bullMobile app using Cloudant SDK
Possible New Scenario
bull New Android tablets
bull Cloudant SDK on the mobile device and CloudSync to sync the devices with the Cloudant server(s)
bull Custom REST based sync program to sync the Cloud-based Cloudant server with the on-premises Informix servers
Informix Customerrsquos Mobile Environment ndash One New Scenario
Sync
program
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 70
copy 2014 IBM Corporation 71
DB2 Tech Talk Informix and DB2 for Internet of Things amp Mobile Apps Next Steps Roadmap
Read about mobile app development and Internet of Things
bull Mobile Development on IBM developerWorks links to BlueMix Worklight Check products and tools tab bitlymobiledevdw
bull Mobile development on ibmcom bitly1h4IWo8
bull Bluemix introduction the next cloud platform bitly1pCXZrM
bull IBM Internet of Things page including Redbooks publication bitly1mOlt8G
bull Genero Mobile www4jscom
bull Dojo Mobile bitly1mOmyxf
Test drive the tools
bull Informix software download bitly1oSBm2y
bull BLU Acceleration for Cloud Open Beta googlAkMm8e
bull DB2 105 trial software Ibmcodb2download
bull Bluemix beta software acengbluemixnet
bull Worklight Developer Edition bitly1x1FSy2
Participate in the conversation
developerWorks answers Internet of Things technical forum
bitlyU9nPqT
Reference
Call IBM to schedule a demo or learn more
bull 1 800 966-9875 (US)
bull 1-888-746-7426 (Canada)
bull 1800-425-3333 (India)
bull Or visit httpwwwibmcomplanetwide for contact information worldwide
IBM DB2 105 product page
Ibmcomdb2
IBM DB2 105 Product features
ibmco12c1PJz
IBM Data Studio product page
Ibmcoibmdsinfo
Tech forum on developerWorks
bitlydb2forumluw
SQL Tips Blog
wwwsqltips4db2com
Step Three
Step Two
Step One
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 72
Upcoming Tech Talks Don‟t miss these in-depth DB2 feature talks
Dates and topics subject to change and modification
How to register
DB2 Tech Talks web site
Next DB2 Tech Talk DB2 with BLU Acceleration for SAP
bull July 17 2014 at 1230 PM
bull Guersad kuecuek Technical Specialist
DB2 and SAP in Europe
bull Registration bitlytt2014jul
bullIDUG DB2 Tech Conference Austrailasia
bull Sydney
bull September 10 ndash 12 2014
bull wwwidugorg
bullIBM Insight 2014
former Information on Demand Conference
bull Las Vegas NV
bull October 26 ndash 30 2014
bull bitlyibminsight2014
bullIDUG DB2 Tech Conference EMEA
bull Prague Czech Republic
bull November 9 ndash 14 2014
bull wwwidugorg
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Learn engage and get social new DB2 with BLU Acceleration microsite
wwwibmBLUhubcom
DB2 with BLU Acceleration is for
reporting ndash Fast and simple way to respond to
continual reporting requests
ndash No tuning no tweaking
ndash Gets you back to high-value
projects
BLU Acceleration hub contains ndash Technical information and
ldquoinformation for your bossrdquo
ndash Access to the social conversation
ndash Links to software trial and BLU
Acceleration for Cloud
And more Check it out
73 Need webcast troubleshooting help Click attachments
Need webcast troubleshooting help Click attachments
BLU ndash Cognos Demo bitlydemoblu-cognos
copy 2014 IBM Corporation 74
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 75
Questions
Listening in replay
Questions wwwsqltips4db2com
Click submit a question
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 76
Thanks for attending
Please rate the session
Presentation download bitlyttfilemay14
click Attachments in this webcast environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 8
copy 2014 IBM Corporation
Some general approaches to mobile app development
Mobile web sites (HTML CSS PHP and other standards with mobile device detection) ndash lowest on the UX scale with network-dependent performance ndash lowest on the NX scale no access to device features
Mobile web applications (typically HTML5 JavaScript and other standards) ndash more modern version of web apps which leverage devices better decent UX ndash typically moderate dependency on network ndash connected-mode ndash can be designed to work without mods on wide range of devices
Cross-platform frameworks (write once run everywhere) ndash cross-compilation produce complete native apps from common code base
Hybrid ndash special case of cross-platform ndash HTML wrapped in a native container install app on the device in a standard way ndash typically supports some level of disconnected-mode
Native applications ndash developer kit for the device ndash tools IDEs ndash separate code lines per devices but best UX and NX
UX = User Experience
NX = Native Experience
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 9
copy 2014 IBM Corporation
What are some key developer tools and languages for mobile
bull Demand for Python Java and Javascript remains strong bull ASPNET and C decreasing bull Objective C demand almost double that of Android bull RESTful APIs in demand bull Limitations of unstructured databases are driving requirements for hybrid SQLNoSQL solution
for speed simplicity and flexibility
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 10
copy 2014 IBM Corporation
Our world is getting smarter
Digital technologies (sensors and other monitoring instruments) are being
embedded into every object system and process
All the data generated by digital technology is providing intelligence
to help us do things better improving our responsiveness and our ability to predict and
optimize for future events
INTELLIGENT
INSTRUMENTED
INTERCONNECTED
In the globalized networked world people systems
objects and processes are connected and they
are communicating with one another in entirely new ways
Internet of Things solutions implement the three basic principles Instrumented Interconnected and Intelligent systems of Smarter Planet
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 11
copy 2014 IBM Corporation
ldquoConnected Liferdquo forecast $45T in 2020
Connected Life is everything that is connected and how they interact cars mobile devices buildings sensors and people
Top Ten in 2020 1 Connected Car $600 billion 2 Clinical Remote Monitoring $350 billion 3 Assisted Living $270 billion 4 Home and Building Security $250 billion 5 Pay-As-You-Drive Car Insurance $245 billion 6 New Business Models for Car Usage $225 billion 7 Smart Meters $105 billion 8 Traffic Management $100 billion 9 Electric Vehicle Charging $75 billion 10 Building Automation $40 billion
NY Times A Messenger for the Internet of Things
Wall Street Journal IBM Tackles Machine to Machine Big Data Deluge
Sourcehttpwwwglobaltelecomsbusinesscomarticle2985699Connected-devices-will-be-worth-45thtml
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 12
copy 2014 IBM Corporation
Nexus mobile devices and IoT
Explosion of mobile has created new opportunities for IoT
Explosion of IoT has created new demand for mobile
Past Present Future
Proprietary and special-purpose
devices for accessing IoT
Mobile devices which most
people have already and apps
Cloud and mobile provides
ldquoeverywhererdquo access to IoT
Expensive gadgetry Affordable IoT devices Commodity pre-integrated
Wide range of protocols mostly
proprietary
Consolidation of protocols and
standards
Internet-ready widgets
Difficult to connect Low-level
programming
Software libraries and gateways
take care of the dirty work
Automated discovery and ldquoplug-in
readyrdquo value
Ad-hoc data models JSON universal internet language Timeseries JSON cloud
Barriers to adoption are
dropping rapidly
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 13
copy 2014 IBM Corporation
Technology shift consumers lead the Internet of Things
Today Tomorrow Integration
A few connected
devices per
personhellip
Almost every device that consumers own will be
connected and many new ones will be created to leverage
the value created by consumer connections
Cross-platform
integrators will
connected devices
and automate
personal activity Door Lock
Dishwasher
Clothes Washer
Clothes Dryer
Window Lock
Garage Door
Toothbrush
Garden Moisture
Coffee Maker
Home Lights
Examples
Iftttcom
Zapiercom
Just as consumers have led enterprises in embracing new mobile services we
believe they will lead the adoption of connected devices amp integrated services
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 14
copy 2014 IBM Corporation
All Internet of Things use cases have a common set of requirements
Requirements
Quickly and easily provision new sensors
Create a real-time communication channel with the sensor
Capture data from the sensor and store it in a time series database
Provide access to the collected data
Pay for the service based on usage
Extended Requirements
Provide analytics on the data in both real-time and historical data
Trigger events based on specific data conditions
Interact with the sensor from business applications andor from mobile devices
1 must provide perceived value ndash quality of
life bottom line societal safety etc
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 15
copy 2014 IBM Corporation
IoT data ldquoWe believe it is better to have application
programmers deal with performance problems
due to overuse of transactions as bottlenecks
arise rather than always coding around the
lack of transactionsrdquo
Paper ndash Spanner Googlersquos Globally-Distributed Database
NoSQL
TimeSeries
Relational
Primary IoT Data Requirements
Geospatial
More than one data access model
is useful
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 16
copy 2014 IBM Corporation
Devices create and require time series
Virtually every IoT device doing real stuff in the real world creates a time series ndash Deploy and configure device (location owner capabilities) metadata NoSQL ndash Take readings (temperature power humidity) time series ndash Trigger events (lights ON place call sound alarm) time series
Time series stored in relational or JSON is unnatural ndash frequent updates ndash new reading = new row in table ndash access is not sequential
TimeSeries data model support helps IoT ndash storage space ndash performance
ID Time Value
1 1000 66
2 1000 20
1 1005 75
5 1010 12
Relational table
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 17
copy 2014 IBM Corporation
Informix Time Series Approach
Device_ID Series
1 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
2 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
3 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
4 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
hellip hellip
Time series storage
bull Each row contains all the data for a single device data append to end of the row
bull Data is not indexed only the device ID column is indexed
bull Data on disk is clustered by device id and kept ordered by time
bull Device IDs stored once rather than with every record
bull Timestamps are not stored on disk instead are calculated by position in series
bull Missing intervals are marked with a placeholder
eg Hildebrand 3 million customers a
reading every six seconds 50k insertss
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 18
copy 2014 IBM Corporation
IBM Products used in IoT Solutions
Collection of data for all sensors
Data from other kinds of
sensors
Consumer Business
Sensors in the home
TimeSeries Service
NoSQL Relational Timeseries amp Spatial storage amp analytics
Acceleration Technology
BLU IWA
SPSSCognos
MessageSight MQTT
SoftLayer BlueMix
BigInsights
Gateways for local analytics
Infosphere Streams
(no gateway)
In-memory analytics
Predictive analytics and dashboard
Cloud infrastructure
Hadoop
Publish Subscribe
Real-time analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 19
copy 2014 IBM Corporation
Developed by business partners Shaspa Tatung and ST-Micro ndash Runs on ARM v7 and Intel Quark chip sets ndash 512MB to 1GB of memory ndash 1GB to 4GB of storage ndash WirelessBluetooth receiver
ndash 3 inch by 2 inch form factor
Software components in SmartGate
ndash Informix enterprise edition
ndash Webserver
ndash Debian Linux
ndash Connectivity to the TimeSeries cloud service
ndash Support for common device communication protocols including
bull Enocean KNX Modbus CANOpen Zigbee ZWave DALI MBus SNMP MPBus
Priced around $100
20
Shasparsquos SmartGate Gateway example of edge device for IoT
Informix Database
Inside
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 20
copy 2014 IBM Corporation
Why use a gateway for local analytics
1 Gateways can reduce the cost of the backend cloud
bull Reduces cloud storage by filteringaggregatinganalyzing data locally
bull Reduces cloud CPU requirements by pre-computing values
2 Reduces latency since actions can be taken immediately
bull Intelligent gateways can detect and respond to local events as they happen rather than waiting for transfer to the cloud
3 Many users are not comfortable putting their data in the cloud
bull Gateways allow customers to capture and get value from their sensors without sending data to the cloud
Over time more and more of the processing will move from the cloud to edge (gateway) devices
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 21
copy 2014 IBM Corporation
IBM Internet of Things analytics in the cloud
Analyze
Gateway Local Analytics
Analytics
Analyze other than the time
dimension
Aggregate and join across
data types and attributes
Millions of devices
System of record existing
mountains of data
Database in the cloud
Gateway Local Analytics
Gateways Local Analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 22
copy 2014 IBM Corporation 23
Where we are coming fromhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
A DB2 Customerrsquos Mobile Environment
Web
Server
Current Scenario
bull Simple ldquohome grownrdquo app outgrew its initial purpose and requirements
bull Connected Web application serving hundreds of sales associates
bull Access mostly via smart phone browser but also via laptop browser
bull PHP application
bull DB2 UDB data repository
New Requirements
bull Disconnected Mode
bull Access to local device address book calendar etc
bull Better authentication
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
24
copy 2014 IBM Corporation
DB2
Everyplace
Web
Sphere
JDBC
Replication Tables
Users XML
Sync
3500PDAs Windows mobile 61 and 65 running on PSIONPITION MOTOROLAHTCSANSUMGHHP
Windows Server
Quad Core
04Gb RAM
32Bits Current Scenario
bull DB2E is handling 3500 PDAs
bull DB2 Everyplace to connect field technicians to Informix database with service request data dispatching service orders to mobile users who are equipped with handheld devices improving responsiveness to service outages
bull Currently using Windows mobile 61 and 65 running on PSIONPITION MOTOROLA HTC SAMSUNG and HHP devices
bull Developed home-grown applications using NET
bull Some devices sync online and others offline
Another Customerrsquos Mobile Environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 25
copy 2014 IBM Corporation 26
Cloud and Mobile Applications
Experimental in nature
- Require rapid iteration
- Faster time to market
- May be decommissioned quickly ndash need
environments in minutes versus days or weeks
Are written in multiple languages
- Web JavaScript Ruby Java PHP
- Mobile iOS Android Hybrid
Composed of Services
- Build using a composition model of stitching
capabilities together
- Capabilities often require time to test in app
beyond the scope of a free trial
Integrate with existing systems
- Data is often located in multiple places (public
private traditional data center)
- Existing systems may not scale at the same the
level of cloud applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
WriteUpdate
System Of Record
bull Cloudant JSONDB
bull Mobile Data Services (Bluemix)
bull Integration Services
- Cast IronDataStage
Mobile Data Synchronization Landscape
System Of Record
Enterprise
Data Store (Informix DB2)
bull On Device data persistence (SQLite)
bull Data Sync between devices and to Cloudant
data store
bull UpdateWrite to System Of Record through
the front door (Using Enterprise app APIs)
bull Using Cloudant SDK on device
System Of Engagement
Enterprise App
APIs
Cast Iron
DataStage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 27
copy 2014 IBM Corporation 28
Dojo Mobile Toolkit
The Dojo Mobile toolkit is a powerful JavaScript framework
that provides all of the building blocks required to develop
lightweight high-performance mobile web applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Dojo Mobile Toolkit
One of the choices in the busy HTML5 amp CSS3 category
Mobile toolkit extends the existing Dojo toolkit to deal with
ndash Input device differences
ndash Smaller screen sizes
ndash Reduced processing power and footprint requirements of mobile devices
Excellent option for mobile apps where connectivity is consistent
Database connectivity is standard PHP database driver
Easy to enforce consistency across screens and applications with style sheets
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 29
copy 2014 IBM Corporation
Photo Share demo built using IBM Dojo Mobile Toolkit
Hosted via Softlayer nosqldemocom
Built for IOD 2013 to demonstrate Informix
hybrid (JSON relational and time series)
application support
PHP app using the MongoDB PHP driver for
connectivity to the Informix database
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 30
copy 2014 IBM Corporation 31
Cloudant
A distributed database as a service (DBaaS) allowing
developers of fast-growing web and mobile apps to focus on
building and improving their products instead of worrying
about scaling and managing databases on their own
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Cloudant Overview
ndash Operational JSON data store
ndash RESTful CouchDB API
ndash Advanced APIs
bull Replication amp Sync
bull Lucene Full-text Search
bull Geo-spatial
bull Incremental MapReduce
ndash Scalable Highly Available Performance
bull Cross-data center data distribution amp fail over
bull Geo load balancing
ndash Multi-tenant and dedicated-tenant clusters
ndash Monitoring administration amp development dashboards
ndash Managed 24x7 by big data experts
ndash Available in Rackspace IBMSoftLayer and AWS datacenters
32 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 3
bull Store data on the server
andor the local device
bull Native libraries support
synchronization process
and local storage
management
bull Synchronize data
between devices by
replicating data from
Cloudant
Store and Access Data Everywhere
Local
Storage
Local
Storage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 33
copy 2014 IBM Corporation 4
Putting Data at the Edge
bull Geographically disperse your data across multiple data centers
to allow for easy access depending on location
bull Ability to store data across 35 geographic locations
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 34
copy 2014 IBM Corporation 5
Local
Storage
bull Restored connection will
sync the data with the
server and other devices
connected to same source
bull Data redundancy across
data centers
Always Onhellip
bull Readwrite from local
storage when connection is
unavailable
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 35
copy 2014 IBM Corporation 7
Based on Open Industry Standardshellip
JSON Cloudant
HTTP HTTP
HTTP
bull Any device using HTTP and JSON can interact with Cloudant
HTTP
HTTP
HTTP
JSON
JSON
JSON
JSON
JSON
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 36
copy 2014 IBM Corporation
Cloudant Sync
Available for Android and IOS
Solution leverages devicersquos on-board
SQLite database for persistence
ndash Cloudant defines indexing scheme for
optimizing use of relational SQLite DB
with applicationrsquos JSON storage
requirements
Multi version concurrency control
Replication to the Cloudant server in the
cloud via HTTP
Mobile application does include and
interact with Cloudant SDK software which
resides on the device
ndash Cloudant Code is native (Java for
Android Objective C for IOS)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 37
copy 2014 IBM Corporation
Sync Cloudant with Informix or DB2
Leverage entire Cloudant implementation ndash
Cloudant Sync on the mobile device and
Cloudant in the cloud
Cloudant is the ldquosync serverrdquo with the
mobile application
Solution to sync data between the
Cloudant server and the IBM data server
would be a ldquohome grownrdquo solution
ndash One option would be to use REST API
to ldquopullrdquo data from Cloudant to DB2 via
stored procedures
ndash Standalone REST API based program
to extract from Cloudant and insert into
Informix
ndash Data exchanged as JSON documents
ndash IBM Data Stage supports JSON and
could be leveraged here
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 38
copy 2014 IBM Corporation 39
Bluemix
Bluemix is an open-standards cloud-based platform offering a
single solution environment with the instant resources and
infrastructure you need to develop and deploy apps across
multiple domains mdash fast
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Run Your Apps
The developer can chose any language
runtime or bring their own Just upload
your code and go
DevOps Development monitoring deployment
and logging tools allow the developer to
run the entire application
APIs and Services A catalog of open source IBM and third
party APIs services allow a developer
to stitch together an application in
minutes
Cloud Integration Build hybrid environments Connect to
on-premises systems of record plus other
public and private clouds Expose your
own APIs to your developers
Big Data Manage your Big Data requirements with
BLU Acceleration Hadoop based
analytics and your sensor and device
Internet of Things data
Introducing Bluemix
A rich set of mobile ready APIs that you can mix and match to power your App
NEW
copy 2014 IBM Corporation
Nodejs includes SDK for data
sync ndash Primary development language
for mobile and server side
scripting Includes templates and
SDK for syncing with the
database in the cloud
Mobile Application Security ndash basic app security framework -
enabling the developer to block
access to apps on specific
devices
Push ndash Create and schedule push
notifications for iOS and Android
devices to engage users when
they arent using the app
Mobile Data ndash SDKs to sync mobile shared data
with the scalable managed
Cloudant database as a service
Mobile Cloud BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 41
copy 2014 IBM Corporation
Node-RED ndash A visual tool for wiring your IoT
app
TimeSeries Database ndash Provides a managed data store
for Internet of Things device data
and enables you to do time series
analysis on that data
InternetOfThings ndash APIs allowing Bluemix
applications to access device
data simply and swiftly
Internet of Things (IoT) BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 42
copy 2014 IBM Corporation
43
Bluemix Mobile Services
Simplify app deployment infrastructure maintenance and improve app quality with cloud services for
mobile Accelerates app development with SDKs for iOS and Android
Push
Create and schedule push notifications for
iOS and Android devices to engage users
when they arenrsquot using the app User
tagging enables the user to select desired
push topics
Twilio Build apps that communicate Integrate
voice messaging and VoIP into your web
and mobile apps
Mobile Application Management Centrally manage app access through a
web based console Control and secure
apps through containerization and control
over the operational lifecycle
Mobile Data Enhance your mobile app with a shared
managed database in the Cloud that can
be accessed using native SDKs for iOS
and Android
Mobile Quality Assurance Instrument apps to capture tester and live-
user experiences including context-aware
crash log and in-app bug reports in-app
user feedback and insightful and
streamlined quality metrics
Cloud Services for Mobile in Minutes
Internet of Things Internet of Things APIs allowing Bluemix
applications to access device data simply
and swiftly Build apps for a smarter planet
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 44
Why Bluemix Mobile Services
bull Simplicity and speed for mobile developers to develop
and deploy a mobile backend to share data and
business logic
bull Native SDKs for Android and iOS make coding intuitive
for mobile app developers
bull Reduced cost of maintenance with fully managed
services
bull Integrated App Quality and App Management capability
bull Integrated platform to extend mobile applications with
enterprise data or to new scenarios such as Web APIs
or Internet of Things
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Mobile Data Service
With the Mobile Data service you can store delete update and query objects that are
stored in the cloud
You can use a REST URL to interrogate the data classes and content that is stored in the
cloud
With the Mobile Cloud Services SDK you can embed a special managed directory in your
application Any files that are stored in this managed directory can be monitored and
synchronized The application can share the contents of this managed directory by
connecting to Mobile Data service with the same application ID and user ID By sharing the
directory contents different instances of an application can have synchronized copies of the
files
You can import JSON or tabular data into Mobile Data service
File Sync is a separate plugin and that can be added to your mobile app
ndash Currenty a last write wins policy when multiple applications are updating the same files
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 45
copy 2014 IBM Corporation
Mobile Device
Mobile Data
Service
Mobile
Data API
Cache (SQLite)
Mobile
App
Bluemix
Mobile
Data Service
JSON
Object
Store
Data
Viewer
Bluemix Architecture for shared system of engagement data
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 46
copy 2014 IBM Corporation
Accessing Data in your Bluemix Database
Accessing data in the SQLDB (DB2) service ndash DB2 APIs ndash MongoDB APIs
Accessing data in the BLUAcceleration (DB2 with BLU Acceleration) service
ndash DB2 JDBC Ruby Nodejs Python and PHP APIs
Accessing data in the TimeSeries Database (Informix) service ndash Informix REST APIs ndash Informix SQLI APIs (JDBC ODBC ESQLC etc) ndash MongoDB APIs
Accessing data in the Cloudant JSONDB service ndash Cloudant REST services
copy 2014 IBM Corporation
Accessing your Enterprise Data from Bluemix
Accessing your on-premises enterprise database from your Bluemix app
would be a custom ldquohome grownrdquo application
All of your Bluemix data is resident in the Bluemix Cloud
Enterprise access would be possible if you want to move your enterprise
data to the SQLDB service (DB2) or TimeSeries Database (Informix)
Or access your on-premises enterprise data using REST or web services
from your Bluemix application
Or perhaps use Bluemix as a development sandbox and then shift to
SoftLayer where your Enterprise environment could be hosted
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 48
copy 2014 IBM Corporation 49
WorkLight
IBM Worklight provides an open comprehensive and advanced mobile
application platform for smartphones and tablets It helps organizations
of all sizes to efficiently develop test connect run and manage mobile
applications (apps)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
IBM Worklight A mobile application platform
Speeding the development integration and management of mobile applications and
infrastructure
Accelerate Development bull Web hybrid and native development open flexible
standard-based multi-screenomni-channel bull Functional testing bull Development lifecycle tools and integration
Facilitate App Security and Trust bull Server-enforced authentication bull App authenticity and user-app-device binding bull Secure and syncable on-device storage bull App version enforcement
Enable User Engagement bull Unified push and SMS notifications bull Geolocation and context collections and intelligence bull Mobile-friendly integration
Support Mobile Analytics bull Efficient acquisition of analytics data bull Development operational and business analytics bull Offline and online event management integration
Best Mobile Development Solution
voted by SIIA members 2013 CODiE Awards
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 50
copy 2014 IBM Corporation
Components of the IBM Worklight Mobile Platform
bullplus Worklight Mobile Test Workbench for automated functional testing
bulland Worklight Analytics Platform for an aggregated view of server and
clientmobile information
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 51
copy 2014 IBM Corporation
Worklight Server Procedures amp Adapters
bull Worklight Server resident procedures perform the interaction between the application and the back end applications bull Procedures are written in Javascript and interact with mobile applications over
HTTP using JSON-formatted data bull Procedures perform the conversions between JSON format and the format
required by the back end application
SQL Adapters are procedures which can be configured to execute parameterized SQL queries and stored procedures in order to retrieve or update data in the database
ndash Worklight SQL adapters for DB2 MySQL and Oracle using JDBC connectivity ndash Additional SQL adapters can be created
Other custom adapters can be developed to interact with other data sources ndash New adapter for Cloudant for example
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 52
copy 2014 IBM Corporation
Worklight Adapters
Connect to enterprise applications and
cloud services
Deliver data to and from mobile
applications
Perform any necessary server-side
logic on this data
Query
Update data
DataResult
as JSON
Invoke adapter
procedure
SQL Cast Iron
Worklight
Response
1
2 3
4
SAP JMS HTTP Cloudant
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 53
copy 2014 IBM Corporation
Worklight Server
SQL Adapters would be required to link your enterprise data store with
your mobile application
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 54
copy 2014 IBM Corporation
Bluemix complements Worklight - enabling enterprise application agility
IBM Codename Bluemix IBM Worklight
+ IBM amp Third Party APIs forhellip
Mobile Web
Devops Big Data amp
Analytics
Inte-
gration
and More
Extend your enterprise mobile app platform investment through
Cloud APIs
In Worklight 62 (June 2014)
bull Worklight ready SDK that can be plugged into your project
bull Lifecycle management controls API access for Bluemix services
bull Worklight security framework integrates with Bluemix SSO
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 55
copy 2014 IBM Corporation
Enterprise Data
and Services
Worklight
Server
Cloud Data and
Services
Adapters
bull Server-side logic in
JavaScript
bull Read-only or Txn
bull Secure and Uniform
access to business
data
Worklight Adapters
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 56
copy 2014 IBM Corporation
Genero Mobile
A integrated platform for the rapid development of rich business applications
taking your application ideas to the desktop web and now to mobile devices
while fulfilling the promise of ldquoWrite Once Run Anywhererdquo
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 57
copy 2014 IBM Corporation
Genero Key features - Write once deploy everywhere
bull Rapid Development of rich business applications
bull Modernize legacy 4th generation language (green screen) apps
bull Desktop web and now mobile applications
bull Developed by IBM Business Partner 4Js
bull Native Dynamic Virtual Machine for mobile platforms (iOSamp Android)
bull Native GUI native performance
bull Connecteddisconnected mode
bull SQLite access on mobile device
bull Server database synchronization with Informix DB2 and other RDBMS
bull UTF-8
bull JSON Web Services RESTful services
bull App store or Over the Air installation
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 58
copy 2014 IBM Corporation
Genero Mobile Options Genero Web Client (GWC)
ndash Application is hosted on back end server
ndash Hosted via Genero Application Server through your web browser
ndash ldquoConnectedrdquo application
Genero Hybrid Client (GHC)
ndash Application runs within HTML5 native container
ndash Some access to local device applications amp data
ndash Hosted via Genero Application Server via web browser
ndash Downloaded via App Stores
Genero Mobile Client (GMC)
ndash 4Js announced GMC at 2013 IIUG conference and in ldquoStatement of Directionrdquo on web site
ndash Native DVM for Android and IOS supporting native user interfaces
ndash True ldquodisconnectedrdquo applications
ndash Apps will be native and can thus be hosted via App Stores (iTunes etc)
ndash Local SQLite database utilized ndash syncing with RDBMS planned
ndash Early Access Program (beta) is currently in progress
ndash General availability in June 2014
59 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Genero Mobile applications Application types
Native Advanced UI actions
Best performance
App store distribution
Hybrid Web developer skills
Native access
App store distribution
HTML5 Web developer skills
Cross platform
Instant updates
Unrestricted distribution
No offline mode
Genero Hybrid Client
Genero Web Client
Genero Mobile Client
4Js announced direction
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 60
copy 2014 IBM Corporation
Native application Mobile browser Native container
Native HTML5 Hybrid
Genero Mobile applications Application types
Hybrid
Mobile browser
HTML5
Native container
Hybrid
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 61
copy 2014 IBM Corporation
Flexible deployment Genero Mobile ndash one source code base 90 market coverage
FUNCTION edit_customer(num)
DEFINE num LIKE customercustomer_num
LET int_flag = FALSE
SELECT INTO customer
FROM customer
WHERE customer_num == num
INPUT BY NAME customer WITHOUT DEFAULTS
ON ACTION zoom INFIELD state
LET customerstate =
statesgetState(customerstate)
DISPLAY BY NAME customerstate
END INPUT
IF NOT int_flag THEN
UPDATE customer SET customer = customer
WHERE customer_num = num
ELSE
SELECT INTO customer
FROM customer
WHERE customer_num == num
DISPLAY BY NAME customer
END IF
END FUNCTION
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 62
copy 2014 IBM Corporation
bull Easy and consistent access to local
applications on IOS and Android
ndash Camera
ndash Contacts
ndash Email
ndash Calendar
ndash GPS
ndash Storage
Flexible deployment Genero Mobile ndash no need to choose Objective bdquoC‟ or Java
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 63
copy 2014 IBM Corporation
bull Native widgets
Genero Mobile Native UI combined with power of Genero
bull Native interactions ndash ex swipe left to
delete
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 64
copy 2014 IBM Corporation
Mobile device
iOSAndroid process
GUI
thread
VM
thread
Disconnected mode Device runs application and stores data offline (on the device)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 65
copy 2014 IBM Corporation
Web server
http
Mobile device
iOSAndroid process
GUI
thread
VM
GAS +
PROXY
Connected mode Device connects to a remote corporate server as an online terminal
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 66
copy 2014 IBM Corporation
Web server
JSON
http
Mobile device
iOSAndroid process
GUI
thread
VM
thread
Data synchronization ndash JSON JSON Web Services ndash offline data capture and sync with a remote database when online
VM
DBMS
SQLite
Web
Service
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 67
copy 2014 IBM Corporation
Summary
Back to our customerrsquos mobile applicationhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 68
copy 2014 IBM Corporation
Our DB2 Customerrsquos Mobile Environment ndash One New Scenario
Possible New Scenario
bull IBM Worklight based solution
bull Native iOS and Android mobile applications
bull Native apps can run in disconnected mode using local device data storage
bull Sync between device data storage and DB2 UDB data repository server using SQL Adapter
bull Native apps access local device resources
bull Enterprise authentication and mobile device management
Worklight
Server
Authentication
SQL Adapter
WebSphere
App Server
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 69
copy 2014 IBM Corporation
On Premises
data center
SoftLayer
Cloudant
REST over HTTP
Tables
Users
CloudSync
bull10000+ Android tablets
bullMobile app using Cloudant SDK
Possible New Scenario
bull New Android tablets
bull Cloudant SDK on the mobile device and CloudSync to sync the devices with the Cloudant server(s)
bull Custom REST based sync program to sync the Cloud-based Cloudant server with the on-premises Informix servers
Informix Customerrsquos Mobile Environment ndash One New Scenario
Sync
program
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 70
copy 2014 IBM Corporation 71
DB2 Tech Talk Informix and DB2 for Internet of Things amp Mobile Apps Next Steps Roadmap
Read about mobile app development and Internet of Things
bull Mobile Development on IBM developerWorks links to BlueMix Worklight Check products and tools tab bitlymobiledevdw
bull Mobile development on ibmcom bitly1h4IWo8
bull Bluemix introduction the next cloud platform bitly1pCXZrM
bull IBM Internet of Things page including Redbooks publication bitly1mOlt8G
bull Genero Mobile www4jscom
bull Dojo Mobile bitly1mOmyxf
Test drive the tools
bull Informix software download bitly1oSBm2y
bull BLU Acceleration for Cloud Open Beta googlAkMm8e
bull DB2 105 trial software Ibmcodb2download
bull Bluemix beta software acengbluemixnet
bull Worklight Developer Edition bitly1x1FSy2
Participate in the conversation
developerWorks answers Internet of Things technical forum
bitlyU9nPqT
Reference
Call IBM to schedule a demo or learn more
bull 1 800 966-9875 (US)
bull 1-888-746-7426 (Canada)
bull 1800-425-3333 (India)
bull Or visit httpwwwibmcomplanetwide for contact information worldwide
IBM DB2 105 product page
Ibmcomdb2
IBM DB2 105 Product features
ibmco12c1PJz
IBM Data Studio product page
Ibmcoibmdsinfo
Tech forum on developerWorks
bitlydb2forumluw
SQL Tips Blog
wwwsqltips4db2com
Step Three
Step Two
Step One
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 72
Upcoming Tech Talks Don‟t miss these in-depth DB2 feature talks
Dates and topics subject to change and modification
How to register
DB2 Tech Talks web site
Next DB2 Tech Talk DB2 with BLU Acceleration for SAP
bull July 17 2014 at 1230 PM
bull Guersad kuecuek Technical Specialist
DB2 and SAP in Europe
bull Registration bitlytt2014jul
bullIDUG DB2 Tech Conference Austrailasia
bull Sydney
bull September 10 ndash 12 2014
bull wwwidugorg
bullIBM Insight 2014
former Information on Demand Conference
bull Las Vegas NV
bull October 26 ndash 30 2014
bull bitlyibminsight2014
bullIDUG DB2 Tech Conference EMEA
bull Prague Czech Republic
bull November 9 ndash 14 2014
bull wwwidugorg
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Learn engage and get social new DB2 with BLU Acceleration microsite
wwwibmBLUhubcom
DB2 with BLU Acceleration is for
reporting ndash Fast and simple way to respond to
continual reporting requests
ndash No tuning no tweaking
ndash Gets you back to high-value
projects
BLU Acceleration hub contains ndash Technical information and
ldquoinformation for your bossrdquo
ndash Access to the social conversation
ndash Links to software trial and BLU
Acceleration for Cloud
And more Check it out
73 Need webcast troubleshooting help Click attachments
Need webcast troubleshooting help Click attachments
BLU ndash Cognos Demo bitlydemoblu-cognos
copy 2014 IBM Corporation 74
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 75
Questions
Listening in replay
Questions wwwsqltips4db2com
Click submit a question
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 76
Thanks for attending
Please rate the session
Presentation download bitlyttfilemay14
click Attachments in this webcast environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Some general approaches to mobile app development
Mobile web sites (HTML CSS PHP and other standards with mobile device detection) ndash lowest on the UX scale with network-dependent performance ndash lowest on the NX scale no access to device features
Mobile web applications (typically HTML5 JavaScript and other standards) ndash more modern version of web apps which leverage devices better decent UX ndash typically moderate dependency on network ndash connected-mode ndash can be designed to work without mods on wide range of devices
Cross-platform frameworks (write once run everywhere) ndash cross-compilation produce complete native apps from common code base
Hybrid ndash special case of cross-platform ndash HTML wrapped in a native container install app on the device in a standard way ndash typically supports some level of disconnected-mode
Native applications ndash developer kit for the device ndash tools IDEs ndash separate code lines per devices but best UX and NX
UX = User Experience
NX = Native Experience
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 9
copy 2014 IBM Corporation
What are some key developer tools and languages for mobile
bull Demand for Python Java and Javascript remains strong bull ASPNET and C decreasing bull Objective C demand almost double that of Android bull RESTful APIs in demand bull Limitations of unstructured databases are driving requirements for hybrid SQLNoSQL solution
for speed simplicity and flexibility
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 10
copy 2014 IBM Corporation
Our world is getting smarter
Digital technologies (sensors and other monitoring instruments) are being
embedded into every object system and process
All the data generated by digital technology is providing intelligence
to help us do things better improving our responsiveness and our ability to predict and
optimize for future events
INTELLIGENT
INSTRUMENTED
INTERCONNECTED
In the globalized networked world people systems
objects and processes are connected and they
are communicating with one another in entirely new ways
Internet of Things solutions implement the three basic principles Instrumented Interconnected and Intelligent systems of Smarter Planet
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 11
copy 2014 IBM Corporation
ldquoConnected Liferdquo forecast $45T in 2020
Connected Life is everything that is connected and how they interact cars mobile devices buildings sensors and people
Top Ten in 2020 1 Connected Car $600 billion 2 Clinical Remote Monitoring $350 billion 3 Assisted Living $270 billion 4 Home and Building Security $250 billion 5 Pay-As-You-Drive Car Insurance $245 billion 6 New Business Models for Car Usage $225 billion 7 Smart Meters $105 billion 8 Traffic Management $100 billion 9 Electric Vehicle Charging $75 billion 10 Building Automation $40 billion
NY Times A Messenger for the Internet of Things
Wall Street Journal IBM Tackles Machine to Machine Big Data Deluge
Sourcehttpwwwglobaltelecomsbusinesscomarticle2985699Connected-devices-will-be-worth-45thtml
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 12
copy 2014 IBM Corporation
Nexus mobile devices and IoT
Explosion of mobile has created new opportunities for IoT
Explosion of IoT has created new demand for mobile
Past Present Future
Proprietary and special-purpose
devices for accessing IoT
Mobile devices which most
people have already and apps
Cloud and mobile provides
ldquoeverywhererdquo access to IoT
Expensive gadgetry Affordable IoT devices Commodity pre-integrated
Wide range of protocols mostly
proprietary
Consolidation of protocols and
standards
Internet-ready widgets
Difficult to connect Low-level
programming
Software libraries and gateways
take care of the dirty work
Automated discovery and ldquoplug-in
readyrdquo value
Ad-hoc data models JSON universal internet language Timeseries JSON cloud
Barriers to adoption are
dropping rapidly
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 13
copy 2014 IBM Corporation
Technology shift consumers lead the Internet of Things
Today Tomorrow Integration
A few connected
devices per
personhellip
Almost every device that consumers own will be
connected and many new ones will be created to leverage
the value created by consumer connections
Cross-platform
integrators will
connected devices
and automate
personal activity Door Lock
Dishwasher
Clothes Washer
Clothes Dryer
Window Lock
Garage Door
Toothbrush
Garden Moisture
Coffee Maker
Home Lights
Examples
Iftttcom
Zapiercom
Just as consumers have led enterprises in embracing new mobile services we
believe they will lead the adoption of connected devices amp integrated services
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 14
copy 2014 IBM Corporation
All Internet of Things use cases have a common set of requirements
Requirements
Quickly and easily provision new sensors
Create a real-time communication channel with the sensor
Capture data from the sensor and store it in a time series database
Provide access to the collected data
Pay for the service based on usage
Extended Requirements
Provide analytics on the data in both real-time and historical data
Trigger events based on specific data conditions
Interact with the sensor from business applications andor from mobile devices
1 must provide perceived value ndash quality of
life bottom line societal safety etc
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 15
copy 2014 IBM Corporation
IoT data ldquoWe believe it is better to have application
programmers deal with performance problems
due to overuse of transactions as bottlenecks
arise rather than always coding around the
lack of transactionsrdquo
Paper ndash Spanner Googlersquos Globally-Distributed Database
NoSQL
TimeSeries
Relational
Primary IoT Data Requirements
Geospatial
More than one data access model
is useful
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 16
copy 2014 IBM Corporation
Devices create and require time series
Virtually every IoT device doing real stuff in the real world creates a time series ndash Deploy and configure device (location owner capabilities) metadata NoSQL ndash Take readings (temperature power humidity) time series ndash Trigger events (lights ON place call sound alarm) time series
Time series stored in relational or JSON is unnatural ndash frequent updates ndash new reading = new row in table ndash access is not sequential
TimeSeries data model support helps IoT ndash storage space ndash performance
ID Time Value
1 1000 66
2 1000 20
1 1005 75
5 1010 12
Relational table
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 17
copy 2014 IBM Corporation
Informix Time Series Approach
Device_ID Series
1 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
2 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
3 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
4 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
hellip hellip
Time series storage
bull Each row contains all the data for a single device data append to end of the row
bull Data is not indexed only the device ID column is indexed
bull Data on disk is clustered by device id and kept ordered by time
bull Device IDs stored once rather than with every record
bull Timestamps are not stored on disk instead are calculated by position in series
bull Missing intervals are marked with a placeholder
eg Hildebrand 3 million customers a
reading every six seconds 50k insertss
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 18
copy 2014 IBM Corporation
IBM Products used in IoT Solutions
Collection of data for all sensors
Data from other kinds of
sensors
Consumer Business
Sensors in the home
TimeSeries Service
NoSQL Relational Timeseries amp Spatial storage amp analytics
Acceleration Technology
BLU IWA
SPSSCognos
MessageSight MQTT
SoftLayer BlueMix
BigInsights
Gateways for local analytics
Infosphere Streams
(no gateway)
In-memory analytics
Predictive analytics and dashboard
Cloud infrastructure
Hadoop
Publish Subscribe
Real-time analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 19
copy 2014 IBM Corporation
Developed by business partners Shaspa Tatung and ST-Micro ndash Runs on ARM v7 and Intel Quark chip sets ndash 512MB to 1GB of memory ndash 1GB to 4GB of storage ndash WirelessBluetooth receiver
ndash 3 inch by 2 inch form factor
Software components in SmartGate
ndash Informix enterprise edition
ndash Webserver
ndash Debian Linux
ndash Connectivity to the TimeSeries cloud service
ndash Support for common device communication protocols including
bull Enocean KNX Modbus CANOpen Zigbee ZWave DALI MBus SNMP MPBus
Priced around $100
20
Shasparsquos SmartGate Gateway example of edge device for IoT
Informix Database
Inside
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 20
copy 2014 IBM Corporation
Why use a gateway for local analytics
1 Gateways can reduce the cost of the backend cloud
bull Reduces cloud storage by filteringaggregatinganalyzing data locally
bull Reduces cloud CPU requirements by pre-computing values
2 Reduces latency since actions can be taken immediately
bull Intelligent gateways can detect and respond to local events as they happen rather than waiting for transfer to the cloud
3 Many users are not comfortable putting their data in the cloud
bull Gateways allow customers to capture and get value from their sensors without sending data to the cloud
Over time more and more of the processing will move from the cloud to edge (gateway) devices
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 21
copy 2014 IBM Corporation
IBM Internet of Things analytics in the cloud
Analyze
Gateway Local Analytics
Analytics
Analyze other than the time
dimension
Aggregate and join across
data types and attributes
Millions of devices
System of record existing
mountains of data
Database in the cloud
Gateway Local Analytics
Gateways Local Analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 22
copy 2014 IBM Corporation 23
Where we are coming fromhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
A DB2 Customerrsquos Mobile Environment
Web
Server
Current Scenario
bull Simple ldquohome grownrdquo app outgrew its initial purpose and requirements
bull Connected Web application serving hundreds of sales associates
bull Access mostly via smart phone browser but also via laptop browser
bull PHP application
bull DB2 UDB data repository
New Requirements
bull Disconnected Mode
bull Access to local device address book calendar etc
bull Better authentication
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
24
copy 2014 IBM Corporation
DB2
Everyplace
Web
Sphere
JDBC
Replication Tables
Users XML
Sync
3500PDAs Windows mobile 61 and 65 running on PSIONPITION MOTOROLAHTCSANSUMGHHP
Windows Server
Quad Core
04Gb RAM
32Bits Current Scenario
bull DB2E is handling 3500 PDAs
bull DB2 Everyplace to connect field technicians to Informix database with service request data dispatching service orders to mobile users who are equipped with handheld devices improving responsiveness to service outages
bull Currently using Windows mobile 61 and 65 running on PSIONPITION MOTOROLA HTC SAMSUNG and HHP devices
bull Developed home-grown applications using NET
bull Some devices sync online and others offline
Another Customerrsquos Mobile Environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 25
copy 2014 IBM Corporation 26
Cloud and Mobile Applications
Experimental in nature
- Require rapid iteration
- Faster time to market
- May be decommissioned quickly ndash need
environments in minutes versus days or weeks
Are written in multiple languages
- Web JavaScript Ruby Java PHP
- Mobile iOS Android Hybrid
Composed of Services
- Build using a composition model of stitching
capabilities together
- Capabilities often require time to test in app
beyond the scope of a free trial
Integrate with existing systems
- Data is often located in multiple places (public
private traditional data center)
- Existing systems may not scale at the same the
level of cloud applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
WriteUpdate
System Of Record
bull Cloudant JSONDB
bull Mobile Data Services (Bluemix)
bull Integration Services
- Cast IronDataStage
Mobile Data Synchronization Landscape
System Of Record
Enterprise
Data Store (Informix DB2)
bull On Device data persistence (SQLite)
bull Data Sync between devices and to Cloudant
data store
bull UpdateWrite to System Of Record through
the front door (Using Enterprise app APIs)
bull Using Cloudant SDK on device
System Of Engagement
Enterprise App
APIs
Cast Iron
DataStage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 27
copy 2014 IBM Corporation 28
Dojo Mobile Toolkit
The Dojo Mobile toolkit is a powerful JavaScript framework
that provides all of the building blocks required to develop
lightweight high-performance mobile web applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Dojo Mobile Toolkit
One of the choices in the busy HTML5 amp CSS3 category
Mobile toolkit extends the existing Dojo toolkit to deal with
ndash Input device differences
ndash Smaller screen sizes
ndash Reduced processing power and footprint requirements of mobile devices
Excellent option for mobile apps where connectivity is consistent
Database connectivity is standard PHP database driver
Easy to enforce consistency across screens and applications with style sheets
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 29
copy 2014 IBM Corporation
Photo Share demo built using IBM Dojo Mobile Toolkit
Hosted via Softlayer nosqldemocom
Built for IOD 2013 to demonstrate Informix
hybrid (JSON relational and time series)
application support
PHP app using the MongoDB PHP driver for
connectivity to the Informix database
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 30
copy 2014 IBM Corporation 31
Cloudant
A distributed database as a service (DBaaS) allowing
developers of fast-growing web and mobile apps to focus on
building and improving their products instead of worrying
about scaling and managing databases on their own
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Cloudant Overview
ndash Operational JSON data store
ndash RESTful CouchDB API
ndash Advanced APIs
bull Replication amp Sync
bull Lucene Full-text Search
bull Geo-spatial
bull Incremental MapReduce
ndash Scalable Highly Available Performance
bull Cross-data center data distribution amp fail over
bull Geo load balancing
ndash Multi-tenant and dedicated-tenant clusters
ndash Monitoring administration amp development dashboards
ndash Managed 24x7 by big data experts
ndash Available in Rackspace IBMSoftLayer and AWS datacenters
32 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 3
bull Store data on the server
andor the local device
bull Native libraries support
synchronization process
and local storage
management
bull Synchronize data
between devices by
replicating data from
Cloudant
Store and Access Data Everywhere
Local
Storage
Local
Storage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 33
copy 2014 IBM Corporation 4
Putting Data at the Edge
bull Geographically disperse your data across multiple data centers
to allow for easy access depending on location
bull Ability to store data across 35 geographic locations
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 34
copy 2014 IBM Corporation 5
Local
Storage
bull Restored connection will
sync the data with the
server and other devices
connected to same source
bull Data redundancy across
data centers
Always Onhellip
bull Readwrite from local
storage when connection is
unavailable
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 35
copy 2014 IBM Corporation 7
Based on Open Industry Standardshellip
JSON Cloudant
HTTP HTTP
HTTP
bull Any device using HTTP and JSON can interact with Cloudant
HTTP
HTTP
HTTP
JSON
JSON
JSON
JSON
JSON
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 36
copy 2014 IBM Corporation
Cloudant Sync
Available for Android and IOS
Solution leverages devicersquos on-board
SQLite database for persistence
ndash Cloudant defines indexing scheme for
optimizing use of relational SQLite DB
with applicationrsquos JSON storage
requirements
Multi version concurrency control
Replication to the Cloudant server in the
cloud via HTTP
Mobile application does include and
interact with Cloudant SDK software which
resides on the device
ndash Cloudant Code is native (Java for
Android Objective C for IOS)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 37
copy 2014 IBM Corporation
Sync Cloudant with Informix or DB2
Leverage entire Cloudant implementation ndash
Cloudant Sync on the mobile device and
Cloudant in the cloud
Cloudant is the ldquosync serverrdquo with the
mobile application
Solution to sync data between the
Cloudant server and the IBM data server
would be a ldquohome grownrdquo solution
ndash One option would be to use REST API
to ldquopullrdquo data from Cloudant to DB2 via
stored procedures
ndash Standalone REST API based program
to extract from Cloudant and insert into
Informix
ndash Data exchanged as JSON documents
ndash IBM Data Stage supports JSON and
could be leveraged here
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 38
copy 2014 IBM Corporation 39
Bluemix
Bluemix is an open-standards cloud-based platform offering a
single solution environment with the instant resources and
infrastructure you need to develop and deploy apps across
multiple domains mdash fast
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Run Your Apps
The developer can chose any language
runtime or bring their own Just upload
your code and go
DevOps Development monitoring deployment
and logging tools allow the developer to
run the entire application
APIs and Services A catalog of open source IBM and third
party APIs services allow a developer
to stitch together an application in
minutes
Cloud Integration Build hybrid environments Connect to
on-premises systems of record plus other
public and private clouds Expose your
own APIs to your developers
Big Data Manage your Big Data requirements with
BLU Acceleration Hadoop based
analytics and your sensor and device
Internet of Things data
Introducing Bluemix
A rich set of mobile ready APIs that you can mix and match to power your App
NEW
copy 2014 IBM Corporation
Nodejs includes SDK for data
sync ndash Primary development language
for mobile and server side
scripting Includes templates and
SDK for syncing with the
database in the cloud
Mobile Application Security ndash basic app security framework -
enabling the developer to block
access to apps on specific
devices
Push ndash Create and schedule push
notifications for iOS and Android
devices to engage users when
they arent using the app
Mobile Data ndash SDKs to sync mobile shared data
with the scalable managed
Cloudant database as a service
Mobile Cloud BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 41
copy 2014 IBM Corporation
Node-RED ndash A visual tool for wiring your IoT
app
TimeSeries Database ndash Provides a managed data store
for Internet of Things device data
and enables you to do time series
analysis on that data
InternetOfThings ndash APIs allowing Bluemix
applications to access device
data simply and swiftly
Internet of Things (IoT) BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 42
copy 2014 IBM Corporation
43
Bluemix Mobile Services
Simplify app deployment infrastructure maintenance and improve app quality with cloud services for
mobile Accelerates app development with SDKs for iOS and Android
Push
Create and schedule push notifications for
iOS and Android devices to engage users
when they arenrsquot using the app User
tagging enables the user to select desired
push topics
Twilio Build apps that communicate Integrate
voice messaging and VoIP into your web
and mobile apps
Mobile Application Management Centrally manage app access through a
web based console Control and secure
apps through containerization and control
over the operational lifecycle
Mobile Data Enhance your mobile app with a shared
managed database in the Cloud that can
be accessed using native SDKs for iOS
and Android
Mobile Quality Assurance Instrument apps to capture tester and live-
user experiences including context-aware
crash log and in-app bug reports in-app
user feedback and insightful and
streamlined quality metrics
Cloud Services for Mobile in Minutes
Internet of Things Internet of Things APIs allowing Bluemix
applications to access device data simply
and swiftly Build apps for a smarter planet
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 44
Why Bluemix Mobile Services
bull Simplicity and speed for mobile developers to develop
and deploy a mobile backend to share data and
business logic
bull Native SDKs for Android and iOS make coding intuitive
for mobile app developers
bull Reduced cost of maintenance with fully managed
services
bull Integrated App Quality and App Management capability
bull Integrated platform to extend mobile applications with
enterprise data or to new scenarios such as Web APIs
or Internet of Things
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Mobile Data Service
With the Mobile Data service you can store delete update and query objects that are
stored in the cloud
You can use a REST URL to interrogate the data classes and content that is stored in the
cloud
With the Mobile Cloud Services SDK you can embed a special managed directory in your
application Any files that are stored in this managed directory can be monitored and
synchronized The application can share the contents of this managed directory by
connecting to Mobile Data service with the same application ID and user ID By sharing the
directory contents different instances of an application can have synchronized copies of the
files
You can import JSON or tabular data into Mobile Data service
File Sync is a separate plugin and that can be added to your mobile app
ndash Currenty a last write wins policy when multiple applications are updating the same files
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 45
copy 2014 IBM Corporation
Mobile Device
Mobile Data
Service
Mobile
Data API
Cache (SQLite)
Mobile
App
Bluemix
Mobile
Data Service
JSON
Object
Store
Data
Viewer
Bluemix Architecture for shared system of engagement data
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 46
copy 2014 IBM Corporation
Accessing Data in your Bluemix Database
Accessing data in the SQLDB (DB2) service ndash DB2 APIs ndash MongoDB APIs
Accessing data in the BLUAcceleration (DB2 with BLU Acceleration) service
ndash DB2 JDBC Ruby Nodejs Python and PHP APIs
Accessing data in the TimeSeries Database (Informix) service ndash Informix REST APIs ndash Informix SQLI APIs (JDBC ODBC ESQLC etc) ndash MongoDB APIs
Accessing data in the Cloudant JSONDB service ndash Cloudant REST services
copy 2014 IBM Corporation
Accessing your Enterprise Data from Bluemix
Accessing your on-premises enterprise database from your Bluemix app
would be a custom ldquohome grownrdquo application
All of your Bluemix data is resident in the Bluemix Cloud
Enterprise access would be possible if you want to move your enterprise
data to the SQLDB service (DB2) or TimeSeries Database (Informix)
Or access your on-premises enterprise data using REST or web services
from your Bluemix application
Or perhaps use Bluemix as a development sandbox and then shift to
SoftLayer where your Enterprise environment could be hosted
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 48
copy 2014 IBM Corporation 49
WorkLight
IBM Worklight provides an open comprehensive and advanced mobile
application platform for smartphones and tablets It helps organizations
of all sizes to efficiently develop test connect run and manage mobile
applications (apps)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
IBM Worklight A mobile application platform
Speeding the development integration and management of mobile applications and
infrastructure
Accelerate Development bull Web hybrid and native development open flexible
standard-based multi-screenomni-channel bull Functional testing bull Development lifecycle tools and integration
Facilitate App Security and Trust bull Server-enforced authentication bull App authenticity and user-app-device binding bull Secure and syncable on-device storage bull App version enforcement
Enable User Engagement bull Unified push and SMS notifications bull Geolocation and context collections and intelligence bull Mobile-friendly integration
Support Mobile Analytics bull Efficient acquisition of analytics data bull Development operational and business analytics bull Offline and online event management integration
Best Mobile Development Solution
voted by SIIA members 2013 CODiE Awards
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 50
copy 2014 IBM Corporation
Components of the IBM Worklight Mobile Platform
bullplus Worklight Mobile Test Workbench for automated functional testing
bulland Worklight Analytics Platform for an aggregated view of server and
clientmobile information
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 51
copy 2014 IBM Corporation
Worklight Server Procedures amp Adapters
bull Worklight Server resident procedures perform the interaction between the application and the back end applications bull Procedures are written in Javascript and interact with mobile applications over
HTTP using JSON-formatted data bull Procedures perform the conversions between JSON format and the format
required by the back end application
SQL Adapters are procedures which can be configured to execute parameterized SQL queries and stored procedures in order to retrieve or update data in the database
ndash Worklight SQL adapters for DB2 MySQL and Oracle using JDBC connectivity ndash Additional SQL adapters can be created
Other custom adapters can be developed to interact with other data sources ndash New adapter for Cloudant for example
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 52
copy 2014 IBM Corporation
Worklight Adapters
Connect to enterprise applications and
cloud services
Deliver data to and from mobile
applications
Perform any necessary server-side
logic on this data
Query
Update data
DataResult
as JSON
Invoke adapter
procedure
SQL Cast Iron
Worklight
Response
1
2 3
4
SAP JMS HTTP Cloudant
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 53
copy 2014 IBM Corporation
Worklight Server
SQL Adapters would be required to link your enterprise data store with
your mobile application
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 54
copy 2014 IBM Corporation
Bluemix complements Worklight - enabling enterprise application agility
IBM Codename Bluemix IBM Worklight
+ IBM amp Third Party APIs forhellip
Mobile Web
Devops Big Data amp
Analytics
Inte-
gration
and More
Extend your enterprise mobile app platform investment through
Cloud APIs
In Worklight 62 (June 2014)
bull Worklight ready SDK that can be plugged into your project
bull Lifecycle management controls API access for Bluemix services
bull Worklight security framework integrates with Bluemix SSO
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 55
copy 2014 IBM Corporation
Enterprise Data
and Services
Worklight
Server
Cloud Data and
Services
Adapters
bull Server-side logic in
JavaScript
bull Read-only or Txn
bull Secure and Uniform
access to business
data
Worklight Adapters
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 56
copy 2014 IBM Corporation
Genero Mobile
A integrated platform for the rapid development of rich business applications
taking your application ideas to the desktop web and now to mobile devices
while fulfilling the promise of ldquoWrite Once Run Anywhererdquo
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 57
copy 2014 IBM Corporation
Genero Key features - Write once deploy everywhere
bull Rapid Development of rich business applications
bull Modernize legacy 4th generation language (green screen) apps
bull Desktop web and now mobile applications
bull Developed by IBM Business Partner 4Js
bull Native Dynamic Virtual Machine for mobile platforms (iOSamp Android)
bull Native GUI native performance
bull Connecteddisconnected mode
bull SQLite access on mobile device
bull Server database synchronization with Informix DB2 and other RDBMS
bull UTF-8
bull JSON Web Services RESTful services
bull App store or Over the Air installation
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 58
copy 2014 IBM Corporation
Genero Mobile Options Genero Web Client (GWC)
ndash Application is hosted on back end server
ndash Hosted via Genero Application Server through your web browser
ndash ldquoConnectedrdquo application
Genero Hybrid Client (GHC)
ndash Application runs within HTML5 native container
ndash Some access to local device applications amp data
ndash Hosted via Genero Application Server via web browser
ndash Downloaded via App Stores
Genero Mobile Client (GMC)
ndash 4Js announced GMC at 2013 IIUG conference and in ldquoStatement of Directionrdquo on web site
ndash Native DVM for Android and IOS supporting native user interfaces
ndash True ldquodisconnectedrdquo applications
ndash Apps will be native and can thus be hosted via App Stores (iTunes etc)
ndash Local SQLite database utilized ndash syncing with RDBMS planned
ndash Early Access Program (beta) is currently in progress
ndash General availability in June 2014
59 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Genero Mobile applications Application types
Native Advanced UI actions
Best performance
App store distribution
Hybrid Web developer skills
Native access
App store distribution
HTML5 Web developer skills
Cross platform
Instant updates
Unrestricted distribution
No offline mode
Genero Hybrid Client
Genero Web Client
Genero Mobile Client
4Js announced direction
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 60
copy 2014 IBM Corporation
Native application Mobile browser Native container
Native HTML5 Hybrid
Genero Mobile applications Application types
Hybrid
Mobile browser
HTML5
Native container
Hybrid
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 61
copy 2014 IBM Corporation
Flexible deployment Genero Mobile ndash one source code base 90 market coverage
FUNCTION edit_customer(num)
DEFINE num LIKE customercustomer_num
LET int_flag = FALSE
SELECT INTO customer
FROM customer
WHERE customer_num == num
INPUT BY NAME customer WITHOUT DEFAULTS
ON ACTION zoom INFIELD state
LET customerstate =
statesgetState(customerstate)
DISPLAY BY NAME customerstate
END INPUT
IF NOT int_flag THEN
UPDATE customer SET customer = customer
WHERE customer_num = num
ELSE
SELECT INTO customer
FROM customer
WHERE customer_num == num
DISPLAY BY NAME customer
END IF
END FUNCTION
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 62
copy 2014 IBM Corporation
bull Easy and consistent access to local
applications on IOS and Android
ndash Camera
ndash Contacts
ndash Email
ndash Calendar
ndash GPS
ndash Storage
Flexible deployment Genero Mobile ndash no need to choose Objective bdquoC‟ or Java
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 63
copy 2014 IBM Corporation
bull Native widgets
Genero Mobile Native UI combined with power of Genero
bull Native interactions ndash ex swipe left to
delete
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 64
copy 2014 IBM Corporation
Mobile device
iOSAndroid process
GUI
thread
VM
thread
Disconnected mode Device runs application and stores data offline (on the device)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 65
copy 2014 IBM Corporation
Web server
http
Mobile device
iOSAndroid process
GUI
thread
VM
GAS +
PROXY
Connected mode Device connects to a remote corporate server as an online terminal
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 66
copy 2014 IBM Corporation
Web server
JSON
http
Mobile device
iOSAndroid process
GUI
thread
VM
thread
Data synchronization ndash JSON JSON Web Services ndash offline data capture and sync with a remote database when online
VM
DBMS
SQLite
Web
Service
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 67
copy 2014 IBM Corporation
Summary
Back to our customerrsquos mobile applicationhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 68
copy 2014 IBM Corporation
Our DB2 Customerrsquos Mobile Environment ndash One New Scenario
Possible New Scenario
bull IBM Worklight based solution
bull Native iOS and Android mobile applications
bull Native apps can run in disconnected mode using local device data storage
bull Sync between device data storage and DB2 UDB data repository server using SQL Adapter
bull Native apps access local device resources
bull Enterprise authentication and mobile device management
Worklight
Server
Authentication
SQL Adapter
WebSphere
App Server
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 69
copy 2014 IBM Corporation
On Premises
data center
SoftLayer
Cloudant
REST over HTTP
Tables
Users
CloudSync
bull10000+ Android tablets
bullMobile app using Cloudant SDK
Possible New Scenario
bull New Android tablets
bull Cloudant SDK on the mobile device and CloudSync to sync the devices with the Cloudant server(s)
bull Custom REST based sync program to sync the Cloud-based Cloudant server with the on-premises Informix servers
Informix Customerrsquos Mobile Environment ndash One New Scenario
Sync
program
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 70
copy 2014 IBM Corporation 71
DB2 Tech Talk Informix and DB2 for Internet of Things amp Mobile Apps Next Steps Roadmap
Read about mobile app development and Internet of Things
bull Mobile Development on IBM developerWorks links to BlueMix Worklight Check products and tools tab bitlymobiledevdw
bull Mobile development on ibmcom bitly1h4IWo8
bull Bluemix introduction the next cloud platform bitly1pCXZrM
bull IBM Internet of Things page including Redbooks publication bitly1mOlt8G
bull Genero Mobile www4jscom
bull Dojo Mobile bitly1mOmyxf
Test drive the tools
bull Informix software download bitly1oSBm2y
bull BLU Acceleration for Cloud Open Beta googlAkMm8e
bull DB2 105 trial software Ibmcodb2download
bull Bluemix beta software acengbluemixnet
bull Worklight Developer Edition bitly1x1FSy2
Participate in the conversation
developerWorks answers Internet of Things technical forum
bitlyU9nPqT
Reference
Call IBM to schedule a demo or learn more
bull 1 800 966-9875 (US)
bull 1-888-746-7426 (Canada)
bull 1800-425-3333 (India)
bull Or visit httpwwwibmcomplanetwide for contact information worldwide
IBM DB2 105 product page
Ibmcomdb2
IBM DB2 105 Product features
ibmco12c1PJz
IBM Data Studio product page
Ibmcoibmdsinfo
Tech forum on developerWorks
bitlydb2forumluw
SQL Tips Blog
wwwsqltips4db2com
Step Three
Step Two
Step One
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 72
Upcoming Tech Talks Don‟t miss these in-depth DB2 feature talks
Dates and topics subject to change and modification
How to register
DB2 Tech Talks web site
Next DB2 Tech Talk DB2 with BLU Acceleration for SAP
bull July 17 2014 at 1230 PM
bull Guersad kuecuek Technical Specialist
DB2 and SAP in Europe
bull Registration bitlytt2014jul
bullIDUG DB2 Tech Conference Austrailasia
bull Sydney
bull September 10 ndash 12 2014
bull wwwidugorg
bullIBM Insight 2014
former Information on Demand Conference
bull Las Vegas NV
bull October 26 ndash 30 2014
bull bitlyibminsight2014
bullIDUG DB2 Tech Conference EMEA
bull Prague Czech Republic
bull November 9 ndash 14 2014
bull wwwidugorg
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Learn engage and get social new DB2 with BLU Acceleration microsite
wwwibmBLUhubcom
DB2 with BLU Acceleration is for
reporting ndash Fast and simple way to respond to
continual reporting requests
ndash No tuning no tweaking
ndash Gets you back to high-value
projects
BLU Acceleration hub contains ndash Technical information and
ldquoinformation for your bossrdquo
ndash Access to the social conversation
ndash Links to software trial and BLU
Acceleration for Cloud
And more Check it out
73 Need webcast troubleshooting help Click attachments
Need webcast troubleshooting help Click attachments
BLU ndash Cognos Demo bitlydemoblu-cognos
copy 2014 IBM Corporation 74
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 75
Questions
Listening in replay
Questions wwwsqltips4db2com
Click submit a question
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 76
Thanks for attending
Please rate the session
Presentation download bitlyttfilemay14
click Attachments in this webcast environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
What are some key developer tools and languages for mobile
bull Demand for Python Java and Javascript remains strong bull ASPNET and C decreasing bull Objective C demand almost double that of Android bull RESTful APIs in demand bull Limitations of unstructured databases are driving requirements for hybrid SQLNoSQL solution
for speed simplicity and flexibility
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 10
copy 2014 IBM Corporation
Our world is getting smarter
Digital technologies (sensors and other monitoring instruments) are being
embedded into every object system and process
All the data generated by digital technology is providing intelligence
to help us do things better improving our responsiveness and our ability to predict and
optimize for future events
INTELLIGENT
INSTRUMENTED
INTERCONNECTED
In the globalized networked world people systems
objects and processes are connected and they
are communicating with one another in entirely new ways
Internet of Things solutions implement the three basic principles Instrumented Interconnected and Intelligent systems of Smarter Planet
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 11
copy 2014 IBM Corporation
ldquoConnected Liferdquo forecast $45T in 2020
Connected Life is everything that is connected and how they interact cars mobile devices buildings sensors and people
Top Ten in 2020 1 Connected Car $600 billion 2 Clinical Remote Monitoring $350 billion 3 Assisted Living $270 billion 4 Home and Building Security $250 billion 5 Pay-As-You-Drive Car Insurance $245 billion 6 New Business Models for Car Usage $225 billion 7 Smart Meters $105 billion 8 Traffic Management $100 billion 9 Electric Vehicle Charging $75 billion 10 Building Automation $40 billion
NY Times A Messenger for the Internet of Things
Wall Street Journal IBM Tackles Machine to Machine Big Data Deluge
Sourcehttpwwwglobaltelecomsbusinesscomarticle2985699Connected-devices-will-be-worth-45thtml
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 12
copy 2014 IBM Corporation
Nexus mobile devices and IoT
Explosion of mobile has created new opportunities for IoT
Explosion of IoT has created new demand for mobile
Past Present Future
Proprietary and special-purpose
devices for accessing IoT
Mobile devices which most
people have already and apps
Cloud and mobile provides
ldquoeverywhererdquo access to IoT
Expensive gadgetry Affordable IoT devices Commodity pre-integrated
Wide range of protocols mostly
proprietary
Consolidation of protocols and
standards
Internet-ready widgets
Difficult to connect Low-level
programming
Software libraries and gateways
take care of the dirty work
Automated discovery and ldquoplug-in
readyrdquo value
Ad-hoc data models JSON universal internet language Timeseries JSON cloud
Barriers to adoption are
dropping rapidly
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 13
copy 2014 IBM Corporation
Technology shift consumers lead the Internet of Things
Today Tomorrow Integration
A few connected
devices per
personhellip
Almost every device that consumers own will be
connected and many new ones will be created to leverage
the value created by consumer connections
Cross-platform
integrators will
connected devices
and automate
personal activity Door Lock
Dishwasher
Clothes Washer
Clothes Dryer
Window Lock
Garage Door
Toothbrush
Garden Moisture
Coffee Maker
Home Lights
Examples
Iftttcom
Zapiercom
Just as consumers have led enterprises in embracing new mobile services we
believe they will lead the adoption of connected devices amp integrated services
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 14
copy 2014 IBM Corporation
All Internet of Things use cases have a common set of requirements
Requirements
Quickly and easily provision new sensors
Create a real-time communication channel with the sensor
Capture data from the sensor and store it in a time series database
Provide access to the collected data
Pay for the service based on usage
Extended Requirements
Provide analytics on the data in both real-time and historical data
Trigger events based on specific data conditions
Interact with the sensor from business applications andor from mobile devices
1 must provide perceived value ndash quality of
life bottom line societal safety etc
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 15
copy 2014 IBM Corporation
IoT data ldquoWe believe it is better to have application
programmers deal with performance problems
due to overuse of transactions as bottlenecks
arise rather than always coding around the
lack of transactionsrdquo
Paper ndash Spanner Googlersquos Globally-Distributed Database
NoSQL
TimeSeries
Relational
Primary IoT Data Requirements
Geospatial
More than one data access model
is useful
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 16
copy 2014 IBM Corporation
Devices create and require time series
Virtually every IoT device doing real stuff in the real world creates a time series ndash Deploy and configure device (location owner capabilities) metadata NoSQL ndash Take readings (temperature power humidity) time series ndash Trigger events (lights ON place call sound alarm) time series
Time series stored in relational or JSON is unnatural ndash frequent updates ndash new reading = new row in table ndash access is not sequential
TimeSeries data model support helps IoT ndash storage space ndash performance
ID Time Value
1 1000 66
2 1000 20
1 1005 75
5 1010 12
Relational table
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 17
copy 2014 IBM Corporation
Informix Time Series Approach
Device_ID Series
1 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
2 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
3 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
4 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
hellip hellip
Time series storage
bull Each row contains all the data for a single device data append to end of the row
bull Data is not indexed only the device ID column is indexed
bull Data on disk is clustered by device id and kept ordered by time
bull Device IDs stored once rather than with every record
bull Timestamps are not stored on disk instead are calculated by position in series
bull Missing intervals are marked with a placeholder
eg Hildebrand 3 million customers a
reading every six seconds 50k insertss
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 18
copy 2014 IBM Corporation
IBM Products used in IoT Solutions
Collection of data for all sensors
Data from other kinds of
sensors
Consumer Business
Sensors in the home
TimeSeries Service
NoSQL Relational Timeseries amp Spatial storage amp analytics
Acceleration Technology
BLU IWA
SPSSCognos
MessageSight MQTT
SoftLayer BlueMix
BigInsights
Gateways for local analytics
Infosphere Streams
(no gateway)
In-memory analytics
Predictive analytics and dashboard
Cloud infrastructure
Hadoop
Publish Subscribe
Real-time analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 19
copy 2014 IBM Corporation
Developed by business partners Shaspa Tatung and ST-Micro ndash Runs on ARM v7 and Intel Quark chip sets ndash 512MB to 1GB of memory ndash 1GB to 4GB of storage ndash WirelessBluetooth receiver
ndash 3 inch by 2 inch form factor
Software components in SmartGate
ndash Informix enterprise edition
ndash Webserver
ndash Debian Linux
ndash Connectivity to the TimeSeries cloud service
ndash Support for common device communication protocols including
bull Enocean KNX Modbus CANOpen Zigbee ZWave DALI MBus SNMP MPBus
Priced around $100
20
Shasparsquos SmartGate Gateway example of edge device for IoT
Informix Database
Inside
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 20
copy 2014 IBM Corporation
Why use a gateway for local analytics
1 Gateways can reduce the cost of the backend cloud
bull Reduces cloud storage by filteringaggregatinganalyzing data locally
bull Reduces cloud CPU requirements by pre-computing values
2 Reduces latency since actions can be taken immediately
bull Intelligent gateways can detect and respond to local events as they happen rather than waiting for transfer to the cloud
3 Many users are not comfortable putting their data in the cloud
bull Gateways allow customers to capture and get value from their sensors without sending data to the cloud
Over time more and more of the processing will move from the cloud to edge (gateway) devices
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 21
copy 2014 IBM Corporation
IBM Internet of Things analytics in the cloud
Analyze
Gateway Local Analytics
Analytics
Analyze other than the time
dimension
Aggregate and join across
data types and attributes
Millions of devices
System of record existing
mountains of data
Database in the cloud
Gateway Local Analytics
Gateways Local Analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 22
copy 2014 IBM Corporation 23
Where we are coming fromhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
A DB2 Customerrsquos Mobile Environment
Web
Server
Current Scenario
bull Simple ldquohome grownrdquo app outgrew its initial purpose and requirements
bull Connected Web application serving hundreds of sales associates
bull Access mostly via smart phone browser but also via laptop browser
bull PHP application
bull DB2 UDB data repository
New Requirements
bull Disconnected Mode
bull Access to local device address book calendar etc
bull Better authentication
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
24
copy 2014 IBM Corporation
DB2
Everyplace
Web
Sphere
JDBC
Replication Tables
Users XML
Sync
3500PDAs Windows mobile 61 and 65 running on PSIONPITION MOTOROLAHTCSANSUMGHHP
Windows Server
Quad Core
04Gb RAM
32Bits Current Scenario
bull DB2E is handling 3500 PDAs
bull DB2 Everyplace to connect field technicians to Informix database with service request data dispatching service orders to mobile users who are equipped with handheld devices improving responsiveness to service outages
bull Currently using Windows mobile 61 and 65 running on PSIONPITION MOTOROLA HTC SAMSUNG and HHP devices
bull Developed home-grown applications using NET
bull Some devices sync online and others offline
Another Customerrsquos Mobile Environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 25
copy 2014 IBM Corporation 26
Cloud and Mobile Applications
Experimental in nature
- Require rapid iteration
- Faster time to market
- May be decommissioned quickly ndash need
environments in minutes versus days or weeks
Are written in multiple languages
- Web JavaScript Ruby Java PHP
- Mobile iOS Android Hybrid
Composed of Services
- Build using a composition model of stitching
capabilities together
- Capabilities often require time to test in app
beyond the scope of a free trial
Integrate with existing systems
- Data is often located in multiple places (public
private traditional data center)
- Existing systems may not scale at the same the
level of cloud applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
WriteUpdate
System Of Record
bull Cloudant JSONDB
bull Mobile Data Services (Bluemix)
bull Integration Services
- Cast IronDataStage
Mobile Data Synchronization Landscape
System Of Record
Enterprise
Data Store (Informix DB2)
bull On Device data persistence (SQLite)
bull Data Sync between devices and to Cloudant
data store
bull UpdateWrite to System Of Record through
the front door (Using Enterprise app APIs)
bull Using Cloudant SDK on device
System Of Engagement
Enterprise App
APIs
Cast Iron
DataStage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 27
copy 2014 IBM Corporation 28
Dojo Mobile Toolkit
The Dojo Mobile toolkit is a powerful JavaScript framework
that provides all of the building blocks required to develop
lightweight high-performance mobile web applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Dojo Mobile Toolkit
One of the choices in the busy HTML5 amp CSS3 category
Mobile toolkit extends the existing Dojo toolkit to deal with
ndash Input device differences
ndash Smaller screen sizes
ndash Reduced processing power and footprint requirements of mobile devices
Excellent option for mobile apps where connectivity is consistent
Database connectivity is standard PHP database driver
Easy to enforce consistency across screens and applications with style sheets
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 29
copy 2014 IBM Corporation
Photo Share demo built using IBM Dojo Mobile Toolkit
Hosted via Softlayer nosqldemocom
Built for IOD 2013 to demonstrate Informix
hybrid (JSON relational and time series)
application support
PHP app using the MongoDB PHP driver for
connectivity to the Informix database
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 30
copy 2014 IBM Corporation 31
Cloudant
A distributed database as a service (DBaaS) allowing
developers of fast-growing web and mobile apps to focus on
building and improving their products instead of worrying
about scaling and managing databases on their own
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Cloudant Overview
ndash Operational JSON data store
ndash RESTful CouchDB API
ndash Advanced APIs
bull Replication amp Sync
bull Lucene Full-text Search
bull Geo-spatial
bull Incremental MapReduce
ndash Scalable Highly Available Performance
bull Cross-data center data distribution amp fail over
bull Geo load balancing
ndash Multi-tenant and dedicated-tenant clusters
ndash Monitoring administration amp development dashboards
ndash Managed 24x7 by big data experts
ndash Available in Rackspace IBMSoftLayer and AWS datacenters
32 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 3
bull Store data on the server
andor the local device
bull Native libraries support
synchronization process
and local storage
management
bull Synchronize data
between devices by
replicating data from
Cloudant
Store and Access Data Everywhere
Local
Storage
Local
Storage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 33
copy 2014 IBM Corporation 4
Putting Data at the Edge
bull Geographically disperse your data across multiple data centers
to allow for easy access depending on location
bull Ability to store data across 35 geographic locations
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 34
copy 2014 IBM Corporation 5
Local
Storage
bull Restored connection will
sync the data with the
server and other devices
connected to same source
bull Data redundancy across
data centers
Always Onhellip
bull Readwrite from local
storage when connection is
unavailable
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 35
copy 2014 IBM Corporation 7
Based on Open Industry Standardshellip
JSON Cloudant
HTTP HTTP
HTTP
bull Any device using HTTP and JSON can interact with Cloudant
HTTP
HTTP
HTTP
JSON
JSON
JSON
JSON
JSON
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 36
copy 2014 IBM Corporation
Cloudant Sync
Available for Android and IOS
Solution leverages devicersquos on-board
SQLite database for persistence
ndash Cloudant defines indexing scheme for
optimizing use of relational SQLite DB
with applicationrsquos JSON storage
requirements
Multi version concurrency control
Replication to the Cloudant server in the
cloud via HTTP
Mobile application does include and
interact with Cloudant SDK software which
resides on the device
ndash Cloudant Code is native (Java for
Android Objective C for IOS)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 37
copy 2014 IBM Corporation
Sync Cloudant with Informix or DB2
Leverage entire Cloudant implementation ndash
Cloudant Sync on the mobile device and
Cloudant in the cloud
Cloudant is the ldquosync serverrdquo with the
mobile application
Solution to sync data between the
Cloudant server and the IBM data server
would be a ldquohome grownrdquo solution
ndash One option would be to use REST API
to ldquopullrdquo data from Cloudant to DB2 via
stored procedures
ndash Standalone REST API based program
to extract from Cloudant and insert into
Informix
ndash Data exchanged as JSON documents
ndash IBM Data Stage supports JSON and
could be leveraged here
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 38
copy 2014 IBM Corporation 39
Bluemix
Bluemix is an open-standards cloud-based platform offering a
single solution environment with the instant resources and
infrastructure you need to develop and deploy apps across
multiple domains mdash fast
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Run Your Apps
The developer can chose any language
runtime or bring their own Just upload
your code and go
DevOps Development monitoring deployment
and logging tools allow the developer to
run the entire application
APIs and Services A catalog of open source IBM and third
party APIs services allow a developer
to stitch together an application in
minutes
Cloud Integration Build hybrid environments Connect to
on-premises systems of record plus other
public and private clouds Expose your
own APIs to your developers
Big Data Manage your Big Data requirements with
BLU Acceleration Hadoop based
analytics and your sensor and device
Internet of Things data
Introducing Bluemix
A rich set of mobile ready APIs that you can mix and match to power your App
NEW
copy 2014 IBM Corporation
Nodejs includes SDK for data
sync ndash Primary development language
for mobile and server side
scripting Includes templates and
SDK for syncing with the
database in the cloud
Mobile Application Security ndash basic app security framework -
enabling the developer to block
access to apps on specific
devices
Push ndash Create and schedule push
notifications for iOS and Android
devices to engage users when
they arent using the app
Mobile Data ndash SDKs to sync mobile shared data
with the scalable managed
Cloudant database as a service
Mobile Cloud BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 41
copy 2014 IBM Corporation
Node-RED ndash A visual tool for wiring your IoT
app
TimeSeries Database ndash Provides a managed data store
for Internet of Things device data
and enables you to do time series
analysis on that data
InternetOfThings ndash APIs allowing Bluemix
applications to access device
data simply and swiftly
Internet of Things (IoT) BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 42
copy 2014 IBM Corporation
43
Bluemix Mobile Services
Simplify app deployment infrastructure maintenance and improve app quality with cloud services for
mobile Accelerates app development with SDKs for iOS and Android
Push
Create and schedule push notifications for
iOS and Android devices to engage users
when they arenrsquot using the app User
tagging enables the user to select desired
push topics
Twilio Build apps that communicate Integrate
voice messaging and VoIP into your web
and mobile apps
Mobile Application Management Centrally manage app access through a
web based console Control and secure
apps through containerization and control
over the operational lifecycle
Mobile Data Enhance your mobile app with a shared
managed database in the Cloud that can
be accessed using native SDKs for iOS
and Android
Mobile Quality Assurance Instrument apps to capture tester and live-
user experiences including context-aware
crash log and in-app bug reports in-app
user feedback and insightful and
streamlined quality metrics
Cloud Services for Mobile in Minutes
Internet of Things Internet of Things APIs allowing Bluemix
applications to access device data simply
and swiftly Build apps for a smarter planet
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 44
Why Bluemix Mobile Services
bull Simplicity and speed for mobile developers to develop
and deploy a mobile backend to share data and
business logic
bull Native SDKs for Android and iOS make coding intuitive
for mobile app developers
bull Reduced cost of maintenance with fully managed
services
bull Integrated App Quality and App Management capability
bull Integrated platform to extend mobile applications with
enterprise data or to new scenarios such as Web APIs
or Internet of Things
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Mobile Data Service
With the Mobile Data service you can store delete update and query objects that are
stored in the cloud
You can use a REST URL to interrogate the data classes and content that is stored in the
cloud
With the Mobile Cloud Services SDK you can embed a special managed directory in your
application Any files that are stored in this managed directory can be monitored and
synchronized The application can share the contents of this managed directory by
connecting to Mobile Data service with the same application ID and user ID By sharing the
directory contents different instances of an application can have synchronized copies of the
files
You can import JSON or tabular data into Mobile Data service
File Sync is a separate plugin and that can be added to your mobile app
ndash Currenty a last write wins policy when multiple applications are updating the same files
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 45
copy 2014 IBM Corporation
Mobile Device
Mobile Data
Service
Mobile
Data API
Cache (SQLite)
Mobile
App
Bluemix
Mobile
Data Service
JSON
Object
Store
Data
Viewer
Bluemix Architecture for shared system of engagement data
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 46
copy 2014 IBM Corporation
Accessing Data in your Bluemix Database
Accessing data in the SQLDB (DB2) service ndash DB2 APIs ndash MongoDB APIs
Accessing data in the BLUAcceleration (DB2 with BLU Acceleration) service
ndash DB2 JDBC Ruby Nodejs Python and PHP APIs
Accessing data in the TimeSeries Database (Informix) service ndash Informix REST APIs ndash Informix SQLI APIs (JDBC ODBC ESQLC etc) ndash MongoDB APIs
Accessing data in the Cloudant JSONDB service ndash Cloudant REST services
copy 2014 IBM Corporation
Accessing your Enterprise Data from Bluemix
Accessing your on-premises enterprise database from your Bluemix app
would be a custom ldquohome grownrdquo application
All of your Bluemix data is resident in the Bluemix Cloud
Enterprise access would be possible if you want to move your enterprise
data to the SQLDB service (DB2) or TimeSeries Database (Informix)
Or access your on-premises enterprise data using REST or web services
from your Bluemix application
Or perhaps use Bluemix as a development sandbox and then shift to
SoftLayer where your Enterprise environment could be hosted
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 48
copy 2014 IBM Corporation 49
WorkLight
IBM Worklight provides an open comprehensive and advanced mobile
application platform for smartphones and tablets It helps organizations
of all sizes to efficiently develop test connect run and manage mobile
applications (apps)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
IBM Worklight A mobile application platform
Speeding the development integration and management of mobile applications and
infrastructure
Accelerate Development bull Web hybrid and native development open flexible
standard-based multi-screenomni-channel bull Functional testing bull Development lifecycle tools and integration
Facilitate App Security and Trust bull Server-enforced authentication bull App authenticity and user-app-device binding bull Secure and syncable on-device storage bull App version enforcement
Enable User Engagement bull Unified push and SMS notifications bull Geolocation and context collections and intelligence bull Mobile-friendly integration
Support Mobile Analytics bull Efficient acquisition of analytics data bull Development operational and business analytics bull Offline and online event management integration
Best Mobile Development Solution
voted by SIIA members 2013 CODiE Awards
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 50
copy 2014 IBM Corporation
Components of the IBM Worklight Mobile Platform
bullplus Worklight Mobile Test Workbench for automated functional testing
bulland Worklight Analytics Platform for an aggregated view of server and
clientmobile information
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 51
copy 2014 IBM Corporation
Worklight Server Procedures amp Adapters
bull Worklight Server resident procedures perform the interaction between the application and the back end applications bull Procedures are written in Javascript and interact with mobile applications over
HTTP using JSON-formatted data bull Procedures perform the conversions between JSON format and the format
required by the back end application
SQL Adapters are procedures which can be configured to execute parameterized SQL queries and stored procedures in order to retrieve or update data in the database
ndash Worklight SQL adapters for DB2 MySQL and Oracle using JDBC connectivity ndash Additional SQL adapters can be created
Other custom adapters can be developed to interact with other data sources ndash New adapter for Cloudant for example
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 52
copy 2014 IBM Corporation
Worklight Adapters
Connect to enterprise applications and
cloud services
Deliver data to and from mobile
applications
Perform any necessary server-side
logic on this data
Query
Update data
DataResult
as JSON
Invoke adapter
procedure
SQL Cast Iron
Worklight
Response
1
2 3
4
SAP JMS HTTP Cloudant
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 53
copy 2014 IBM Corporation
Worklight Server
SQL Adapters would be required to link your enterprise data store with
your mobile application
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 54
copy 2014 IBM Corporation
Bluemix complements Worklight - enabling enterprise application agility
IBM Codename Bluemix IBM Worklight
+ IBM amp Third Party APIs forhellip
Mobile Web
Devops Big Data amp
Analytics
Inte-
gration
and More
Extend your enterprise mobile app platform investment through
Cloud APIs
In Worklight 62 (June 2014)
bull Worklight ready SDK that can be plugged into your project
bull Lifecycle management controls API access for Bluemix services
bull Worklight security framework integrates with Bluemix SSO
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 55
copy 2014 IBM Corporation
Enterprise Data
and Services
Worklight
Server
Cloud Data and
Services
Adapters
bull Server-side logic in
JavaScript
bull Read-only or Txn
bull Secure and Uniform
access to business
data
Worklight Adapters
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 56
copy 2014 IBM Corporation
Genero Mobile
A integrated platform for the rapid development of rich business applications
taking your application ideas to the desktop web and now to mobile devices
while fulfilling the promise of ldquoWrite Once Run Anywhererdquo
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 57
copy 2014 IBM Corporation
Genero Key features - Write once deploy everywhere
bull Rapid Development of rich business applications
bull Modernize legacy 4th generation language (green screen) apps
bull Desktop web and now mobile applications
bull Developed by IBM Business Partner 4Js
bull Native Dynamic Virtual Machine for mobile platforms (iOSamp Android)
bull Native GUI native performance
bull Connecteddisconnected mode
bull SQLite access on mobile device
bull Server database synchronization with Informix DB2 and other RDBMS
bull UTF-8
bull JSON Web Services RESTful services
bull App store or Over the Air installation
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 58
copy 2014 IBM Corporation
Genero Mobile Options Genero Web Client (GWC)
ndash Application is hosted on back end server
ndash Hosted via Genero Application Server through your web browser
ndash ldquoConnectedrdquo application
Genero Hybrid Client (GHC)
ndash Application runs within HTML5 native container
ndash Some access to local device applications amp data
ndash Hosted via Genero Application Server via web browser
ndash Downloaded via App Stores
Genero Mobile Client (GMC)
ndash 4Js announced GMC at 2013 IIUG conference and in ldquoStatement of Directionrdquo on web site
ndash Native DVM for Android and IOS supporting native user interfaces
ndash True ldquodisconnectedrdquo applications
ndash Apps will be native and can thus be hosted via App Stores (iTunes etc)
ndash Local SQLite database utilized ndash syncing with RDBMS planned
ndash Early Access Program (beta) is currently in progress
ndash General availability in June 2014
59 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Genero Mobile applications Application types
Native Advanced UI actions
Best performance
App store distribution
Hybrid Web developer skills
Native access
App store distribution
HTML5 Web developer skills
Cross platform
Instant updates
Unrestricted distribution
No offline mode
Genero Hybrid Client
Genero Web Client
Genero Mobile Client
4Js announced direction
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 60
copy 2014 IBM Corporation
Native application Mobile browser Native container
Native HTML5 Hybrid
Genero Mobile applications Application types
Hybrid
Mobile browser
HTML5
Native container
Hybrid
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 61
copy 2014 IBM Corporation
Flexible deployment Genero Mobile ndash one source code base 90 market coverage
FUNCTION edit_customer(num)
DEFINE num LIKE customercustomer_num
LET int_flag = FALSE
SELECT INTO customer
FROM customer
WHERE customer_num == num
INPUT BY NAME customer WITHOUT DEFAULTS
ON ACTION zoom INFIELD state
LET customerstate =
statesgetState(customerstate)
DISPLAY BY NAME customerstate
END INPUT
IF NOT int_flag THEN
UPDATE customer SET customer = customer
WHERE customer_num = num
ELSE
SELECT INTO customer
FROM customer
WHERE customer_num == num
DISPLAY BY NAME customer
END IF
END FUNCTION
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 62
copy 2014 IBM Corporation
bull Easy and consistent access to local
applications on IOS and Android
ndash Camera
ndash Contacts
ndash Email
ndash Calendar
ndash GPS
ndash Storage
Flexible deployment Genero Mobile ndash no need to choose Objective bdquoC‟ or Java
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 63
copy 2014 IBM Corporation
bull Native widgets
Genero Mobile Native UI combined with power of Genero
bull Native interactions ndash ex swipe left to
delete
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 64
copy 2014 IBM Corporation
Mobile device
iOSAndroid process
GUI
thread
VM
thread
Disconnected mode Device runs application and stores data offline (on the device)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 65
copy 2014 IBM Corporation
Web server
http
Mobile device
iOSAndroid process
GUI
thread
VM
GAS +
PROXY
Connected mode Device connects to a remote corporate server as an online terminal
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 66
copy 2014 IBM Corporation
Web server
JSON
http
Mobile device
iOSAndroid process
GUI
thread
VM
thread
Data synchronization ndash JSON JSON Web Services ndash offline data capture and sync with a remote database when online
VM
DBMS
SQLite
Web
Service
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 67
copy 2014 IBM Corporation
Summary
Back to our customerrsquos mobile applicationhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 68
copy 2014 IBM Corporation
Our DB2 Customerrsquos Mobile Environment ndash One New Scenario
Possible New Scenario
bull IBM Worklight based solution
bull Native iOS and Android mobile applications
bull Native apps can run in disconnected mode using local device data storage
bull Sync between device data storage and DB2 UDB data repository server using SQL Adapter
bull Native apps access local device resources
bull Enterprise authentication and mobile device management
Worklight
Server
Authentication
SQL Adapter
WebSphere
App Server
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 69
copy 2014 IBM Corporation
On Premises
data center
SoftLayer
Cloudant
REST over HTTP
Tables
Users
CloudSync
bull10000+ Android tablets
bullMobile app using Cloudant SDK
Possible New Scenario
bull New Android tablets
bull Cloudant SDK on the mobile device and CloudSync to sync the devices with the Cloudant server(s)
bull Custom REST based sync program to sync the Cloud-based Cloudant server with the on-premises Informix servers
Informix Customerrsquos Mobile Environment ndash One New Scenario
Sync
program
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 70
copy 2014 IBM Corporation 71
DB2 Tech Talk Informix and DB2 for Internet of Things amp Mobile Apps Next Steps Roadmap
Read about mobile app development and Internet of Things
bull Mobile Development on IBM developerWorks links to BlueMix Worklight Check products and tools tab bitlymobiledevdw
bull Mobile development on ibmcom bitly1h4IWo8
bull Bluemix introduction the next cloud platform bitly1pCXZrM
bull IBM Internet of Things page including Redbooks publication bitly1mOlt8G
bull Genero Mobile www4jscom
bull Dojo Mobile bitly1mOmyxf
Test drive the tools
bull Informix software download bitly1oSBm2y
bull BLU Acceleration for Cloud Open Beta googlAkMm8e
bull DB2 105 trial software Ibmcodb2download
bull Bluemix beta software acengbluemixnet
bull Worklight Developer Edition bitly1x1FSy2
Participate in the conversation
developerWorks answers Internet of Things technical forum
bitlyU9nPqT
Reference
Call IBM to schedule a demo or learn more
bull 1 800 966-9875 (US)
bull 1-888-746-7426 (Canada)
bull 1800-425-3333 (India)
bull Or visit httpwwwibmcomplanetwide for contact information worldwide
IBM DB2 105 product page
Ibmcomdb2
IBM DB2 105 Product features
ibmco12c1PJz
IBM Data Studio product page
Ibmcoibmdsinfo
Tech forum on developerWorks
bitlydb2forumluw
SQL Tips Blog
wwwsqltips4db2com
Step Three
Step Two
Step One
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 72
Upcoming Tech Talks Don‟t miss these in-depth DB2 feature talks
Dates and topics subject to change and modification
How to register
DB2 Tech Talks web site
Next DB2 Tech Talk DB2 with BLU Acceleration for SAP
bull July 17 2014 at 1230 PM
bull Guersad kuecuek Technical Specialist
DB2 and SAP in Europe
bull Registration bitlytt2014jul
bullIDUG DB2 Tech Conference Austrailasia
bull Sydney
bull September 10 ndash 12 2014
bull wwwidugorg
bullIBM Insight 2014
former Information on Demand Conference
bull Las Vegas NV
bull October 26 ndash 30 2014
bull bitlyibminsight2014
bullIDUG DB2 Tech Conference EMEA
bull Prague Czech Republic
bull November 9 ndash 14 2014
bull wwwidugorg
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Learn engage and get social new DB2 with BLU Acceleration microsite
wwwibmBLUhubcom
DB2 with BLU Acceleration is for
reporting ndash Fast and simple way to respond to
continual reporting requests
ndash No tuning no tweaking
ndash Gets you back to high-value
projects
BLU Acceleration hub contains ndash Technical information and
ldquoinformation for your bossrdquo
ndash Access to the social conversation
ndash Links to software trial and BLU
Acceleration for Cloud
And more Check it out
73 Need webcast troubleshooting help Click attachments
Need webcast troubleshooting help Click attachments
BLU ndash Cognos Demo bitlydemoblu-cognos
copy 2014 IBM Corporation 74
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 75
Questions
Listening in replay
Questions wwwsqltips4db2com
Click submit a question
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 76
Thanks for attending
Please rate the session
Presentation download bitlyttfilemay14
click Attachments in this webcast environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Our world is getting smarter
Digital technologies (sensors and other monitoring instruments) are being
embedded into every object system and process
All the data generated by digital technology is providing intelligence
to help us do things better improving our responsiveness and our ability to predict and
optimize for future events
INTELLIGENT
INSTRUMENTED
INTERCONNECTED
In the globalized networked world people systems
objects and processes are connected and they
are communicating with one another in entirely new ways
Internet of Things solutions implement the three basic principles Instrumented Interconnected and Intelligent systems of Smarter Planet
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 11
copy 2014 IBM Corporation
ldquoConnected Liferdquo forecast $45T in 2020
Connected Life is everything that is connected and how they interact cars mobile devices buildings sensors and people
Top Ten in 2020 1 Connected Car $600 billion 2 Clinical Remote Monitoring $350 billion 3 Assisted Living $270 billion 4 Home and Building Security $250 billion 5 Pay-As-You-Drive Car Insurance $245 billion 6 New Business Models for Car Usage $225 billion 7 Smart Meters $105 billion 8 Traffic Management $100 billion 9 Electric Vehicle Charging $75 billion 10 Building Automation $40 billion
NY Times A Messenger for the Internet of Things
Wall Street Journal IBM Tackles Machine to Machine Big Data Deluge
Sourcehttpwwwglobaltelecomsbusinesscomarticle2985699Connected-devices-will-be-worth-45thtml
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 12
copy 2014 IBM Corporation
Nexus mobile devices and IoT
Explosion of mobile has created new opportunities for IoT
Explosion of IoT has created new demand for mobile
Past Present Future
Proprietary and special-purpose
devices for accessing IoT
Mobile devices which most
people have already and apps
Cloud and mobile provides
ldquoeverywhererdquo access to IoT
Expensive gadgetry Affordable IoT devices Commodity pre-integrated
Wide range of protocols mostly
proprietary
Consolidation of protocols and
standards
Internet-ready widgets
Difficult to connect Low-level
programming
Software libraries and gateways
take care of the dirty work
Automated discovery and ldquoplug-in
readyrdquo value
Ad-hoc data models JSON universal internet language Timeseries JSON cloud
Barriers to adoption are
dropping rapidly
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 13
copy 2014 IBM Corporation
Technology shift consumers lead the Internet of Things
Today Tomorrow Integration
A few connected
devices per
personhellip
Almost every device that consumers own will be
connected and many new ones will be created to leverage
the value created by consumer connections
Cross-platform
integrators will
connected devices
and automate
personal activity Door Lock
Dishwasher
Clothes Washer
Clothes Dryer
Window Lock
Garage Door
Toothbrush
Garden Moisture
Coffee Maker
Home Lights
Examples
Iftttcom
Zapiercom
Just as consumers have led enterprises in embracing new mobile services we
believe they will lead the adoption of connected devices amp integrated services
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 14
copy 2014 IBM Corporation
All Internet of Things use cases have a common set of requirements
Requirements
Quickly and easily provision new sensors
Create a real-time communication channel with the sensor
Capture data from the sensor and store it in a time series database
Provide access to the collected data
Pay for the service based on usage
Extended Requirements
Provide analytics on the data in both real-time and historical data
Trigger events based on specific data conditions
Interact with the sensor from business applications andor from mobile devices
1 must provide perceived value ndash quality of
life bottom line societal safety etc
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 15
copy 2014 IBM Corporation
IoT data ldquoWe believe it is better to have application
programmers deal with performance problems
due to overuse of transactions as bottlenecks
arise rather than always coding around the
lack of transactionsrdquo
Paper ndash Spanner Googlersquos Globally-Distributed Database
NoSQL
TimeSeries
Relational
Primary IoT Data Requirements
Geospatial
More than one data access model
is useful
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 16
copy 2014 IBM Corporation
Devices create and require time series
Virtually every IoT device doing real stuff in the real world creates a time series ndash Deploy and configure device (location owner capabilities) metadata NoSQL ndash Take readings (temperature power humidity) time series ndash Trigger events (lights ON place call sound alarm) time series
Time series stored in relational or JSON is unnatural ndash frequent updates ndash new reading = new row in table ndash access is not sequential
TimeSeries data model support helps IoT ndash storage space ndash performance
ID Time Value
1 1000 66
2 1000 20
1 1005 75
5 1010 12
Relational table
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 17
copy 2014 IBM Corporation
Informix Time Series Approach
Device_ID Series
1 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
2 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
3 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
4 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
hellip hellip
Time series storage
bull Each row contains all the data for a single device data append to end of the row
bull Data is not indexed only the device ID column is indexed
bull Data on disk is clustered by device id and kept ordered by time
bull Device IDs stored once rather than with every record
bull Timestamps are not stored on disk instead are calculated by position in series
bull Missing intervals are marked with a placeholder
eg Hildebrand 3 million customers a
reading every six seconds 50k insertss
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 18
copy 2014 IBM Corporation
IBM Products used in IoT Solutions
Collection of data for all sensors
Data from other kinds of
sensors
Consumer Business
Sensors in the home
TimeSeries Service
NoSQL Relational Timeseries amp Spatial storage amp analytics
Acceleration Technology
BLU IWA
SPSSCognos
MessageSight MQTT
SoftLayer BlueMix
BigInsights
Gateways for local analytics
Infosphere Streams
(no gateway)
In-memory analytics
Predictive analytics and dashboard
Cloud infrastructure
Hadoop
Publish Subscribe
Real-time analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 19
copy 2014 IBM Corporation
Developed by business partners Shaspa Tatung and ST-Micro ndash Runs on ARM v7 and Intel Quark chip sets ndash 512MB to 1GB of memory ndash 1GB to 4GB of storage ndash WirelessBluetooth receiver
ndash 3 inch by 2 inch form factor
Software components in SmartGate
ndash Informix enterprise edition
ndash Webserver
ndash Debian Linux
ndash Connectivity to the TimeSeries cloud service
ndash Support for common device communication protocols including
bull Enocean KNX Modbus CANOpen Zigbee ZWave DALI MBus SNMP MPBus
Priced around $100
20
Shasparsquos SmartGate Gateway example of edge device for IoT
Informix Database
Inside
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 20
copy 2014 IBM Corporation
Why use a gateway for local analytics
1 Gateways can reduce the cost of the backend cloud
bull Reduces cloud storage by filteringaggregatinganalyzing data locally
bull Reduces cloud CPU requirements by pre-computing values
2 Reduces latency since actions can be taken immediately
bull Intelligent gateways can detect and respond to local events as they happen rather than waiting for transfer to the cloud
3 Many users are not comfortable putting their data in the cloud
bull Gateways allow customers to capture and get value from their sensors without sending data to the cloud
Over time more and more of the processing will move from the cloud to edge (gateway) devices
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 21
copy 2014 IBM Corporation
IBM Internet of Things analytics in the cloud
Analyze
Gateway Local Analytics
Analytics
Analyze other than the time
dimension
Aggregate and join across
data types and attributes
Millions of devices
System of record existing
mountains of data
Database in the cloud
Gateway Local Analytics
Gateways Local Analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 22
copy 2014 IBM Corporation 23
Where we are coming fromhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
A DB2 Customerrsquos Mobile Environment
Web
Server
Current Scenario
bull Simple ldquohome grownrdquo app outgrew its initial purpose and requirements
bull Connected Web application serving hundreds of sales associates
bull Access mostly via smart phone browser but also via laptop browser
bull PHP application
bull DB2 UDB data repository
New Requirements
bull Disconnected Mode
bull Access to local device address book calendar etc
bull Better authentication
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
24
copy 2014 IBM Corporation
DB2
Everyplace
Web
Sphere
JDBC
Replication Tables
Users XML
Sync
3500PDAs Windows mobile 61 and 65 running on PSIONPITION MOTOROLAHTCSANSUMGHHP
Windows Server
Quad Core
04Gb RAM
32Bits Current Scenario
bull DB2E is handling 3500 PDAs
bull DB2 Everyplace to connect field technicians to Informix database with service request data dispatching service orders to mobile users who are equipped with handheld devices improving responsiveness to service outages
bull Currently using Windows mobile 61 and 65 running on PSIONPITION MOTOROLA HTC SAMSUNG and HHP devices
bull Developed home-grown applications using NET
bull Some devices sync online and others offline
Another Customerrsquos Mobile Environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 25
copy 2014 IBM Corporation 26
Cloud and Mobile Applications
Experimental in nature
- Require rapid iteration
- Faster time to market
- May be decommissioned quickly ndash need
environments in minutes versus days or weeks
Are written in multiple languages
- Web JavaScript Ruby Java PHP
- Mobile iOS Android Hybrid
Composed of Services
- Build using a composition model of stitching
capabilities together
- Capabilities often require time to test in app
beyond the scope of a free trial
Integrate with existing systems
- Data is often located in multiple places (public
private traditional data center)
- Existing systems may not scale at the same the
level of cloud applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
WriteUpdate
System Of Record
bull Cloudant JSONDB
bull Mobile Data Services (Bluemix)
bull Integration Services
- Cast IronDataStage
Mobile Data Synchronization Landscape
System Of Record
Enterprise
Data Store (Informix DB2)
bull On Device data persistence (SQLite)
bull Data Sync between devices and to Cloudant
data store
bull UpdateWrite to System Of Record through
the front door (Using Enterprise app APIs)
bull Using Cloudant SDK on device
System Of Engagement
Enterprise App
APIs
Cast Iron
DataStage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 27
copy 2014 IBM Corporation 28
Dojo Mobile Toolkit
The Dojo Mobile toolkit is a powerful JavaScript framework
that provides all of the building blocks required to develop
lightweight high-performance mobile web applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Dojo Mobile Toolkit
One of the choices in the busy HTML5 amp CSS3 category
Mobile toolkit extends the existing Dojo toolkit to deal with
ndash Input device differences
ndash Smaller screen sizes
ndash Reduced processing power and footprint requirements of mobile devices
Excellent option for mobile apps where connectivity is consistent
Database connectivity is standard PHP database driver
Easy to enforce consistency across screens and applications with style sheets
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 29
copy 2014 IBM Corporation
Photo Share demo built using IBM Dojo Mobile Toolkit
Hosted via Softlayer nosqldemocom
Built for IOD 2013 to demonstrate Informix
hybrid (JSON relational and time series)
application support
PHP app using the MongoDB PHP driver for
connectivity to the Informix database
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 30
copy 2014 IBM Corporation 31
Cloudant
A distributed database as a service (DBaaS) allowing
developers of fast-growing web and mobile apps to focus on
building and improving their products instead of worrying
about scaling and managing databases on their own
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Cloudant Overview
ndash Operational JSON data store
ndash RESTful CouchDB API
ndash Advanced APIs
bull Replication amp Sync
bull Lucene Full-text Search
bull Geo-spatial
bull Incremental MapReduce
ndash Scalable Highly Available Performance
bull Cross-data center data distribution amp fail over
bull Geo load balancing
ndash Multi-tenant and dedicated-tenant clusters
ndash Monitoring administration amp development dashboards
ndash Managed 24x7 by big data experts
ndash Available in Rackspace IBMSoftLayer and AWS datacenters
32 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 3
bull Store data on the server
andor the local device
bull Native libraries support
synchronization process
and local storage
management
bull Synchronize data
between devices by
replicating data from
Cloudant
Store and Access Data Everywhere
Local
Storage
Local
Storage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 33
copy 2014 IBM Corporation 4
Putting Data at the Edge
bull Geographically disperse your data across multiple data centers
to allow for easy access depending on location
bull Ability to store data across 35 geographic locations
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 34
copy 2014 IBM Corporation 5
Local
Storage
bull Restored connection will
sync the data with the
server and other devices
connected to same source
bull Data redundancy across
data centers
Always Onhellip
bull Readwrite from local
storage when connection is
unavailable
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 35
copy 2014 IBM Corporation 7
Based on Open Industry Standardshellip
JSON Cloudant
HTTP HTTP
HTTP
bull Any device using HTTP and JSON can interact with Cloudant
HTTP
HTTP
HTTP
JSON
JSON
JSON
JSON
JSON
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 36
copy 2014 IBM Corporation
Cloudant Sync
Available for Android and IOS
Solution leverages devicersquos on-board
SQLite database for persistence
ndash Cloudant defines indexing scheme for
optimizing use of relational SQLite DB
with applicationrsquos JSON storage
requirements
Multi version concurrency control
Replication to the Cloudant server in the
cloud via HTTP
Mobile application does include and
interact with Cloudant SDK software which
resides on the device
ndash Cloudant Code is native (Java for
Android Objective C for IOS)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 37
copy 2014 IBM Corporation
Sync Cloudant with Informix or DB2
Leverage entire Cloudant implementation ndash
Cloudant Sync on the mobile device and
Cloudant in the cloud
Cloudant is the ldquosync serverrdquo with the
mobile application
Solution to sync data between the
Cloudant server and the IBM data server
would be a ldquohome grownrdquo solution
ndash One option would be to use REST API
to ldquopullrdquo data from Cloudant to DB2 via
stored procedures
ndash Standalone REST API based program
to extract from Cloudant and insert into
Informix
ndash Data exchanged as JSON documents
ndash IBM Data Stage supports JSON and
could be leveraged here
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 38
copy 2014 IBM Corporation 39
Bluemix
Bluemix is an open-standards cloud-based platform offering a
single solution environment with the instant resources and
infrastructure you need to develop and deploy apps across
multiple domains mdash fast
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Run Your Apps
The developer can chose any language
runtime or bring their own Just upload
your code and go
DevOps Development monitoring deployment
and logging tools allow the developer to
run the entire application
APIs and Services A catalog of open source IBM and third
party APIs services allow a developer
to stitch together an application in
minutes
Cloud Integration Build hybrid environments Connect to
on-premises systems of record plus other
public and private clouds Expose your
own APIs to your developers
Big Data Manage your Big Data requirements with
BLU Acceleration Hadoop based
analytics and your sensor and device
Internet of Things data
Introducing Bluemix
A rich set of mobile ready APIs that you can mix and match to power your App
NEW
copy 2014 IBM Corporation
Nodejs includes SDK for data
sync ndash Primary development language
for mobile and server side
scripting Includes templates and
SDK for syncing with the
database in the cloud
Mobile Application Security ndash basic app security framework -
enabling the developer to block
access to apps on specific
devices
Push ndash Create and schedule push
notifications for iOS and Android
devices to engage users when
they arent using the app
Mobile Data ndash SDKs to sync mobile shared data
with the scalable managed
Cloudant database as a service
Mobile Cloud BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 41
copy 2014 IBM Corporation
Node-RED ndash A visual tool for wiring your IoT
app
TimeSeries Database ndash Provides a managed data store
for Internet of Things device data
and enables you to do time series
analysis on that data
InternetOfThings ndash APIs allowing Bluemix
applications to access device
data simply and swiftly
Internet of Things (IoT) BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 42
copy 2014 IBM Corporation
43
Bluemix Mobile Services
Simplify app deployment infrastructure maintenance and improve app quality with cloud services for
mobile Accelerates app development with SDKs for iOS and Android
Push
Create and schedule push notifications for
iOS and Android devices to engage users
when they arenrsquot using the app User
tagging enables the user to select desired
push topics
Twilio Build apps that communicate Integrate
voice messaging and VoIP into your web
and mobile apps
Mobile Application Management Centrally manage app access through a
web based console Control and secure
apps through containerization and control
over the operational lifecycle
Mobile Data Enhance your mobile app with a shared
managed database in the Cloud that can
be accessed using native SDKs for iOS
and Android
Mobile Quality Assurance Instrument apps to capture tester and live-
user experiences including context-aware
crash log and in-app bug reports in-app
user feedback and insightful and
streamlined quality metrics
Cloud Services for Mobile in Minutes
Internet of Things Internet of Things APIs allowing Bluemix
applications to access device data simply
and swiftly Build apps for a smarter planet
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 44
Why Bluemix Mobile Services
bull Simplicity and speed for mobile developers to develop
and deploy a mobile backend to share data and
business logic
bull Native SDKs for Android and iOS make coding intuitive
for mobile app developers
bull Reduced cost of maintenance with fully managed
services
bull Integrated App Quality and App Management capability
bull Integrated platform to extend mobile applications with
enterprise data or to new scenarios such as Web APIs
or Internet of Things
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Mobile Data Service
With the Mobile Data service you can store delete update and query objects that are
stored in the cloud
You can use a REST URL to interrogate the data classes and content that is stored in the
cloud
With the Mobile Cloud Services SDK you can embed a special managed directory in your
application Any files that are stored in this managed directory can be monitored and
synchronized The application can share the contents of this managed directory by
connecting to Mobile Data service with the same application ID and user ID By sharing the
directory contents different instances of an application can have synchronized copies of the
files
You can import JSON or tabular data into Mobile Data service
File Sync is a separate plugin and that can be added to your mobile app
ndash Currenty a last write wins policy when multiple applications are updating the same files
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 45
copy 2014 IBM Corporation
Mobile Device
Mobile Data
Service
Mobile
Data API
Cache (SQLite)
Mobile
App
Bluemix
Mobile
Data Service
JSON
Object
Store
Data
Viewer
Bluemix Architecture for shared system of engagement data
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 46
copy 2014 IBM Corporation
Accessing Data in your Bluemix Database
Accessing data in the SQLDB (DB2) service ndash DB2 APIs ndash MongoDB APIs
Accessing data in the BLUAcceleration (DB2 with BLU Acceleration) service
ndash DB2 JDBC Ruby Nodejs Python and PHP APIs
Accessing data in the TimeSeries Database (Informix) service ndash Informix REST APIs ndash Informix SQLI APIs (JDBC ODBC ESQLC etc) ndash MongoDB APIs
Accessing data in the Cloudant JSONDB service ndash Cloudant REST services
copy 2014 IBM Corporation
Accessing your Enterprise Data from Bluemix
Accessing your on-premises enterprise database from your Bluemix app
would be a custom ldquohome grownrdquo application
All of your Bluemix data is resident in the Bluemix Cloud
Enterprise access would be possible if you want to move your enterprise
data to the SQLDB service (DB2) or TimeSeries Database (Informix)
Or access your on-premises enterprise data using REST or web services
from your Bluemix application
Or perhaps use Bluemix as a development sandbox and then shift to
SoftLayer where your Enterprise environment could be hosted
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 48
copy 2014 IBM Corporation 49
WorkLight
IBM Worklight provides an open comprehensive and advanced mobile
application platform for smartphones and tablets It helps organizations
of all sizes to efficiently develop test connect run and manage mobile
applications (apps)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
IBM Worklight A mobile application platform
Speeding the development integration and management of mobile applications and
infrastructure
Accelerate Development bull Web hybrid and native development open flexible
standard-based multi-screenomni-channel bull Functional testing bull Development lifecycle tools and integration
Facilitate App Security and Trust bull Server-enforced authentication bull App authenticity and user-app-device binding bull Secure and syncable on-device storage bull App version enforcement
Enable User Engagement bull Unified push and SMS notifications bull Geolocation and context collections and intelligence bull Mobile-friendly integration
Support Mobile Analytics bull Efficient acquisition of analytics data bull Development operational and business analytics bull Offline and online event management integration
Best Mobile Development Solution
voted by SIIA members 2013 CODiE Awards
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 50
copy 2014 IBM Corporation
Components of the IBM Worklight Mobile Platform
bullplus Worklight Mobile Test Workbench for automated functional testing
bulland Worklight Analytics Platform for an aggregated view of server and
clientmobile information
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 51
copy 2014 IBM Corporation
Worklight Server Procedures amp Adapters
bull Worklight Server resident procedures perform the interaction between the application and the back end applications bull Procedures are written in Javascript and interact with mobile applications over
HTTP using JSON-formatted data bull Procedures perform the conversions between JSON format and the format
required by the back end application
SQL Adapters are procedures which can be configured to execute parameterized SQL queries and stored procedures in order to retrieve or update data in the database
ndash Worklight SQL adapters for DB2 MySQL and Oracle using JDBC connectivity ndash Additional SQL adapters can be created
Other custom adapters can be developed to interact with other data sources ndash New adapter for Cloudant for example
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 52
copy 2014 IBM Corporation
Worklight Adapters
Connect to enterprise applications and
cloud services
Deliver data to and from mobile
applications
Perform any necessary server-side
logic on this data
Query
Update data
DataResult
as JSON
Invoke adapter
procedure
SQL Cast Iron
Worklight
Response
1
2 3
4
SAP JMS HTTP Cloudant
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 53
copy 2014 IBM Corporation
Worklight Server
SQL Adapters would be required to link your enterprise data store with
your mobile application
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 54
copy 2014 IBM Corporation
Bluemix complements Worklight - enabling enterprise application agility
IBM Codename Bluemix IBM Worklight
+ IBM amp Third Party APIs forhellip
Mobile Web
Devops Big Data amp
Analytics
Inte-
gration
and More
Extend your enterprise mobile app platform investment through
Cloud APIs
In Worklight 62 (June 2014)
bull Worklight ready SDK that can be plugged into your project
bull Lifecycle management controls API access for Bluemix services
bull Worklight security framework integrates with Bluemix SSO
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 55
copy 2014 IBM Corporation
Enterprise Data
and Services
Worklight
Server
Cloud Data and
Services
Adapters
bull Server-side logic in
JavaScript
bull Read-only or Txn
bull Secure and Uniform
access to business
data
Worklight Adapters
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 56
copy 2014 IBM Corporation
Genero Mobile
A integrated platform for the rapid development of rich business applications
taking your application ideas to the desktop web and now to mobile devices
while fulfilling the promise of ldquoWrite Once Run Anywhererdquo
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 57
copy 2014 IBM Corporation
Genero Key features - Write once deploy everywhere
bull Rapid Development of rich business applications
bull Modernize legacy 4th generation language (green screen) apps
bull Desktop web and now mobile applications
bull Developed by IBM Business Partner 4Js
bull Native Dynamic Virtual Machine for mobile platforms (iOSamp Android)
bull Native GUI native performance
bull Connecteddisconnected mode
bull SQLite access on mobile device
bull Server database synchronization with Informix DB2 and other RDBMS
bull UTF-8
bull JSON Web Services RESTful services
bull App store or Over the Air installation
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 58
copy 2014 IBM Corporation
Genero Mobile Options Genero Web Client (GWC)
ndash Application is hosted on back end server
ndash Hosted via Genero Application Server through your web browser
ndash ldquoConnectedrdquo application
Genero Hybrid Client (GHC)
ndash Application runs within HTML5 native container
ndash Some access to local device applications amp data
ndash Hosted via Genero Application Server via web browser
ndash Downloaded via App Stores
Genero Mobile Client (GMC)
ndash 4Js announced GMC at 2013 IIUG conference and in ldquoStatement of Directionrdquo on web site
ndash Native DVM for Android and IOS supporting native user interfaces
ndash True ldquodisconnectedrdquo applications
ndash Apps will be native and can thus be hosted via App Stores (iTunes etc)
ndash Local SQLite database utilized ndash syncing with RDBMS planned
ndash Early Access Program (beta) is currently in progress
ndash General availability in June 2014
59 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Genero Mobile applications Application types
Native Advanced UI actions
Best performance
App store distribution
Hybrid Web developer skills
Native access
App store distribution
HTML5 Web developer skills
Cross platform
Instant updates
Unrestricted distribution
No offline mode
Genero Hybrid Client
Genero Web Client
Genero Mobile Client
4Js announced direction
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 60
copy 2014 IBM Corporation
Native application Mobile browser Native container
Native HTML5 Hybrid
Genero Mobile applications Application types
Hybrid
Mobile browser
HTML5
Native container
Hybrid
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 61
copy 2014 IBM Corporation
Flexible deployment Genero Mobile ndash one source code base 90 market coverage
FUNCTION edit_customer(num)
DEFINE num LIKE customercustomer_num
LET int_flag = FALSE
SELECT INTO customer
FROM customer
WHERE customer_num == num
INPUT BY NAME customer WITHOUT DEFAULTS
ON ACTION zoom INFIELD state
LET customerstate =
statesgetState(customerstate)
DISPLAY BY NAME customerstate
END INPUT
IF NOT int_flag THEN
UPDATE customer SET customer = customer
WHERE customer_num = num
ELSE
SELECT INTO customer
FROM customer
WHERE customer_num == num
DISPLAY BY NAME customer
END IF
END FUNCTION
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 62
copy 2014 IBM Corporation
bull Easy and consistent access to local
applications on IOS and Android
ndash Camera
ndash Contacts
ndash Email
ndash Calendar
ndash GPS
ndash Storage
Flexible deployment Genero Mobile ndash no need to choose Objective bdquoC‟ or Java
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 63
copy 2014 IBM Corporation
bull Native widgets
Genero Mobile Native UI combined with power of Genero
bull Native interactions ndash ex swipe left to
delete
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 64
copy 2014 IBM Corporation
Mobile device
iOSAndroid process
GUI
thread
VM
thread
Disconnected mode Device runs application and stores data offline (on the device)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 65
copy 2014 IBM Corporation
Web server
http
Mobile device
iOSAndroid process
GUI
thread
VM
GAS +
PROXY
Connected mode Device connects to a remote corporate server as an online terminal
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 66
copy 2014 IBM Corporation
Web server
JSON
http
Mobile device
iOSAndroid process
GUI
thread
VM
thread
Data synchronization ndash JSON JSON Web Services ndash offline data capture and sync with a remote database when online
VM
DBMS
SQLite
Web
Service
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 67
copy 2014 IBM Corporation
Summary
Back to our customerrsquos mobile applicationhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 68
copy 2014 IBM Corporation
Our DB2 Customerrsquos Mobile Environment ndash One New Scenario
Possible New Scenario
bull IBM Worklight based solution
bull Native iOS and Android mobile applications
bull Native apps can run in disconnected mode using local device data storage
bull Sync between device data storage and DB2 UDB data repository server using SQL Adapter
bull Native apps access local device resources
bull Enterprise authentication and mobile device management
Worklight
Server
Authentication
SQL Adapter
WebSphere
App Server
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 69
copy 2014 IBM Corporation
On Premises
data center
SoftLayer
Cloudant
REST over HTTP
Tables
Users
CloudSync
bull10000+ Android tablets
bullMobile app using Cloudant SDK
Possible New Scenario
bull New Android tablets
bull Cloudant SDK on the mobile device and CloudSync to sync the devices with the Cloudant server(s)
bull Custom REST based sync program to sync the Cloud-based Cloudant server with the on-premises Informix servers
Informix Customerrsquos Mobile Environment ndash One New Scenario
Sync
program
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 70
copy 2014 IBM Corporation 71
DB2 Tech Talk Informix and DB2 for Internet of Things amp Mobile Apps Next Steps Roadmap
Read about mobile app development and Internet of Things
bull Mobile Development on IBM developerWorks links to BlueMix Worklight Check products and tools tab bitlymobiledevdw
bull Mobile development on ibmcom bitly1h4IWo8
bull Bluemix introduction the next cloud platform bitly1pCXZrM
bull IBM Internet of Things page including Redbooks publication bitly1mOlt8G
bull Genero Mobile www4jscom
bull Dojo Mobile bitly1mOmyxf
Test drive the tools
bull Informix software download bitly1oSBm2y
bull BLU Acceleration for Cloud Open Beta googlAkMm8e
bull DB2 105 trial software Ibmcodb2download
bull Bluemix beta software acengbluemixnet
bull Worklight Developer Edition bitly1x1FSy2
Participate in the conversation
developerWorks answers Internet of Things technical forum
bitlyU9nPqT
Reference
Call IBM to schedule a demo or learn more
bull 1 800 966-9875 (US)
bull 1-888-746-7426 (Canada)
bull 1800-425-3333 (India)
bull Or visit httpwwwibmcomplanetwide for contact information worldwide
IBM DB2 105 product page
Ibmcomdb2
IBM DB2 105 Product features
ibmco12c1PJz
IBM Data Studio product page
Ibmcoibmdsinfo
Tech forum on developerWorks
bitlydb2forumluw
SQL Tips Blog
wwwsqltips4db2com
Step Three
Step Two
Step One
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 72
Upcoming Tech Talks Don‟t miss these in-depth DB2 feature talks
Dates and topics subject to change and modification
How to register
DB2 Tech Talks web site
Next DB2 Tech Talk DB2 with BLU Acceleration for SAP
bull July 17 2014 at 1230 PM
bull Guersad kuecuek Technical Specialist
DB2 and SAP in Europe
bull Registration bitlytt2014jul
bullIDUG DB2 Tech Conference Austrailasia
bull Sydney
bull September 10 ndash 12 2014
bull wwwidugorg
bullIBM Insight 2014
former Information on Demand Conference
bull Las Vegas NV
bull October 26 ndash 30 2014
bull bitlyibminsight2014
bullIDUG DB2 Tech Conference EMEA
bull Prague Czech Republic
bull November 9 ndash 14 2014
bull wwwidugorg
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Learn engage and get social new DB2 with BLU Acceleration microsite
wwwibmBLUhubcom
DB2 with BLU Acceleration is for
reporting ndash Fast and simple way to respond to
continual reporting requests
ndash No tuning no tweaking
ndash Gets you back to high-value
projects
BLU Acceleration hub contains ndash Technical information and
ldquoinformation for your bossrdquo
ndash Access to the social conversation
ndash Links to software trial and BLU
Acceleration for Cloud
And more Check it out
73 Need webcast troubleshooting help Click attachments
Need webcast troubleshooting help Click attachments
BLU ndash Cognos Demo bitlydemoblu-cognos
copy 2014 IBM Corporation 74
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 75
Questions
Listening in replay
Questions wwwsqltips4db2com
Click submit a question
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 76
Thanks for attending
Please rate the session
Presentation download bitlyttfilemay14
click Attachments in this webcast environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
ldquoConnected Liferdquo forecast $45T in 2020
Connected Life is everything that is connected and how they interact cars mobile devices buildings sensors and people
Top Ten in 2020 1 Connected Car $600 billion 2 Clinical Remote Monitoring $350 billion 3 Assisted Living $270 billion 4 Home and Building Security $250 billion 5 Pay-As-You-Drive Car Insurance $245 billion 6 New Business Models for Car Usage $225 billion 7 Smart Meters $105 billion 8 Traffic Management $100 billion 9 Electric Vehicle Charging $75 billion 10 Building Automation $40 billion
NY Times A Messenger for the Internet of Things
Wall Street Journal IBM Tackles Machine to Machine Big Data Deluge
Sourcehttpwwwglobaltelecomsbusinesscomarticle2985699Connected-devices-will-be-worth-45thtml
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 12
copy 2014 IBM Corporation
Nexus mobile devices and IoT
Explosion of mobile has created new opportunities for IoT
Explosion of IoT has created new demand for mobile
Past Present Future
Proprietary and special-purpose
devices for accessing IoT
Mobile devices which most
people have already and apps
Cloud and mobile provides
ldquoeverywhererdquo access to IoT
Expensive gadgetry Affordable IoT devices Commodity pre-integrated
Wide range of protocols mostly
proprietary
Consolidation of protocols and
standards
Internet-ready widgets
Difficult to connect Low-level
programming
Software libraries and gateways
take care of the dirty work
Automated discovery and ldquoplug-in
readyrdquo value
Ad-hoc data models JSON universal internet language Timeseries JSON cloud
Barriers to adoption are
dropping rapidly
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 13
copy 2014 IBM Corporation
Technology shift consumers lead the Internet of Things
Today Tomorrow Integration
A few connected
devices per
personhellip
Almost every device that consumers own will be
connected and many new ones will be created to leverage
the value created by consumer connections
Cross-platform
integrators will
connected devices
and automate
personal activity Door Lock
Dishwasher
Clothes Washer
Clothes Dryer
Window Lock
Garage Door
Toothbrush
Garden Moisture
Coffee Maker
Home Lights
Examples
Iftttcom
Zapiercom
Just as consumers have led enterprises in embracing new mobile services we
believe they will lead the adoption of connected devices amp integrated services
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 14
copy 2014 IBM Corporation
All Internet of Things use cases have a common set of requirements
Requirements
Quickly and easily provision new sensors
Create a real-time communication channel with the sensor
Capture data from the sensor and store it in a time series database
Provide access to the collected data
Pay for the service based on usage
Extended Requirements
Provide analytics on the data in both real-time and historical data
Trigger events based on specific data conditions
Interact with the sensor from business applications andor from mobile devices
1 must provide perceived value ndash quality of
life bottom line societal safety etc
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 15
copy 2014 IBM Corporation
IoT data ldquoWe believe it is better to have application
programmers deal with performance problems
due to overuse of transactions as bottlenecks
arise rather than always coding around the
lack of transactionsrdquo
Paper ndash Spanner Googlersquos Globally-Distributed Database
NoSQL
TimeSeries
Relational
Primary IoT Data Requirements
Geospatial
More than one data access model
is useful
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 16
copy 2014 IBM Corporation
Devices create and require time series
Virtually every IoT device doing real stuff in the real world creates a time series ndash Deploy and configure device (location owner capabilities) metadata NoSQL ndash Take readings (temperature power humidity) time series ndash Trigger events (lights ON place call sound alarm) time series
Time series stored in relational or JSON is unnatural ndash frequent updates ndash new reading = new row in table ndash access is not sequential
TimeSeries data model support helps IoT ndash storage space ndash performance
ID Time Value
1 1000 66
2 1000 20
1 1005 75
5 1010 12
Relational table
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 17
copy 2014 IBM Corporation
Informix Time Series Approach
Device_ID Series
1 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
2 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
3 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
4 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
hellip hellip
Time series storage
bull Each row contains all the data for a single device data append to end of the row
bull Data is not indexed only the device ID column is indexed
bull Data on disk is clustered by device id and kept ordered by time
bull Device IDs stored once rather than with every record
bull Timestamps are not stored on disk instead are calculated by position in series
bull Missing intervals are marked with a placeholder
eg Hildebrand 3 million customers a
reading every six seconds 50k insertss
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 18
copy 2014 IBM Corporation
IBM Products used in IoT Solutions
Collection of data for all sensors
Data from other kinds of
sensors
Consumer Business
Sensors in the home
TimeSeries Service
NoSQL Relational Timeseries amp Spatial storage amp analytics
Acceleration Technology
BLU IWA
SPSSCognos
MessageSight MQTT
SoftLayer BlueMix
BigInsights
Gateways for local analytics
Infosphere Streams
(no gateway)
In-memory analytics
Predictive analytics and dashboard
Cloud infrastructure
Hadoop
Publish Subscribe
Real-time analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 19
copy 2014 IBM Corporation
Developed by business partners Shaspa Tatung and ST-Micro ndash Runs on ARM v7 and Intel Quark chip sets ndash 512MB to 1GB of memory ndash 1GB to 4GB of storage ndash WirelessBluetooth receiver
ndash 3 inch by 2 inch form factor
Software components in SmartGate
ndash Informix enterprise edition
ndash Webserver
ndash Debian Linux
ndash Connectivity to the TimeSeries cloud service
ndash Support for common device communication protocols including
bull Enocean KNX Modbus CANOpen Zigbee ZWave DALI MBus SNMP MPBus
Priced around $100
20
Shasparsquos SmartGate Gateway example of edge device for IoT
Informix Database
Inside
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 20
copy 2014 IBM Corporation
Why use a gateway for local analytics
1 Gateways can reduce the cost of the backend cloud
bull Reduces cloud storage by filteringaggregatinganalyzing data locally
bull Reduces cloud CPU requirements by pre-computing values
2 Reduces latency since actions can be taken immediately
bull Intelligent gateways can detect and respond to local events as they happen rather than waiting for transfer to the cloud
3 Many users are not comfortable putting their data in the cloud
bull Gateways allow customers to capture and get value from their sensors without sending data to the cloud
Over time more and more of the processing will move from the cloud to edge (gateway) devices
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 21
copy 2014 IBM Corporation
IBM Internet of Things analytics in the cloud
Analyze
Gateway Local Analytics
Analytics
Analyze other than the time
dimension
Aggregate and join across
data types and attributes
Millions of devices
System of record existing
mountains of data
Database in the cloud
Gateway Local Analytics
Gateways Local Analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 22
copy 2014 IBM Corporation 23
Where we are coming fromhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
A DB2 Customerrsquos Mobile Environment
Web
Server
Current Scenario
bull Simple ldquohome grownrdquo app outgrew its initial purpose and requirements
bull Connected Web application serving hundreds of sales associates
bull Access mostly via smart phone browser but also via laptop browser
bull PHP application
bull DB2 UDB data repository
New Requirements
bull Disconnected Mode
bull Access to local device address book calendar etc
bull Better authentication
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
24
copy 2014 IBM Corporation
DB2
Everyplace
Web
Sphere
JDBC
Replication Tables
Users XML
Sync
3500PDAs Windows mobile 61 and 65 running on PSIONPITION MOTOROLAHTCSANSUMGHHP
Windows Server
Quad Core
04Gb RAM
32Bits Current Scenario
bull DB2E is handling 3500 PDAs
bull DB2 Everyplace to connect field technicians to Informix database with service request data dispatching service orders to mobile users who are equipped with handheld devices improving responsiveness to service outages
bull Currently using Windows mobile 61 and 65 running on PSIONPITION MOTOROLA HTC SAMSUNG and HHP devices
bull Developed home-grown applications using NET
bull Some devices sync online and others offline
Another Customerrsquos Mobile Environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 25
copy 2014 IBM Corporation 26
Cloud and Mobile Applications
Experimental in nature
- Require rapid iteration
- Faster time to market
- May be decommissioned quickly ndash need
environments in minutes versus days or weeks
Are written in multiple languages
- Web JavaScript Ruby Java PHP
- Mobile iOS Android Hybrid
Composed of Services
- Build using a composition model of stitching
capabilities together
- Capabilities often require time to test in app
beyond the scope of a free trial
Integrate with existing systems
- Data is often located in multiple places (public
private traditional data center)
- Existing systems may not scale at the same the
level of cloud applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
WriteUpdate
System Of Record
bull Cloudant JSONDB
bull Mobile Data Services (Bluemix)
bull Integration Services
- Cast IronDataStage
Mobile Data Synchronization Landscape
System Of Record
Enterprise
Data Store (Informix DB2)
bull On Device data persistence (SQLite)
bull Data Sync between devices and to Cloudant
data store
bull UpdateWrite to System Of Record through
the front door (Using Enterprise app APIs)
bull Using Cloudant SDK on device
System Of Engagement
Enterprise App
APIs
Cast Iron
DataStage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 27
copy 2014 IBM Corporation 28
Dojo Mobile Toolkit
The Dojo Mobile toolkit is a powerful JavaScript framework
that provides all of the building blocks required to develop
lightweight high-performance mobile web applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Dojo Mobile Toolkit
One of the choices in the busy HTML5 amp CSS3 category
Mobile toolkit extends the existing Dojo toolkit to deal with
ndash Input device differences
ndash Smaller screen sizes
ndash Reduced processing power and footprint requirements of mobile devices
Excellent option for mobile apps where connectivity is consistent
Database connectivity is standard PHP database driver
Easy to enforce consistency across screens and applications with style sheets
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 29
copy 2014 IBM Corporation
Photo Share demo built using IBM Dojo Mobile Toolkit
Hosted via Softlayer nosqldemocom
Built for IOD 2013 to demonstrate Informix
hybrid (JSON relational and time series)
application support
PHP app using the MongoDB PHP driver for
connectivity to the Informix database
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 30
copy 2014 IBM Corporation 31
Cloudant
A distributed database as a service (DBaaS) allowing
developers of fast-growing web and mobile apps to focus on
building and improving their products instead of worrying
about scaling and managing databases on their own
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Cloudant Overview
ndash Operational JSON data store
ndash RESTful CouchDB API
ndash Advanced APIs
bull Replication amp Sync
bull Lucene Full-text Search
bull Geo-spatial
bull Incremental MapReduce
ndash Scalable Highly Available Performance
bull Cross-data center data distribution amp fail over
bull Geo load balancing
ndash Multi-tenant and dedicated-tenant clusters
ndash Monitoring administration amp development dashboards
ndash Managed 24x7 by big data experts
ndash Available in Rackspace IBMSoftLayer and AWS datacenters
32 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 3
bull Store data on the server
andor the local device
bull Native libraries support
synchronization process
and local storage
management
bull Synchronize data
between devices by
replicating data from
Cloudant
Store and Access Data Everywhere
Local
Storage
Local
Storage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 33
copy 2014 IBM Corporation 4
Putting Data at the Edge
bull Geographically disperse your data across multiple data centers
to allow for easy access depending on location
bull Ability to store data across 35 geographic locations
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 34
copy 2014 IBM Corporation 5
Local
Storage
bull Restored connection will
sync the data with the
server and other devices
connected to same source
bull Data redundancy across
data centers
Always Onhellip
bull Readwrite from local
storage when connection is
unavailable
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 35
copy 2014 IBM Corporation 7
Based on Open Industry Standardshellip
JSON Cloudant
HTTP HTTP
HTTP
bull Any device using HTTP and JSON can interact with Cloudant
HTTP
HTTP
HTTP
JSON
JSON
JSON
JSON
JSON
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 36
copy 2014 IBM Corporation
Cloudant Sync
Available for Android and IOS
Solution leverages devicersquos on-board
SQLite database for persistence
ndash Cloudant defines indexing scheme for
optimizing use of relational SQLite DB
with applicationrsquos JSON storage
requirements
Multi version concurrency control
Replication to the Cloudant server in the
cloud via HTTP
Mobile application does include and
interact with Cloudant SDK software which
resides on the device
ndash Cloudant Code is native (Java for
Android Objective C for IOS)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 37
copy 2014 IBM Corporation
Sync Cloudant with Informix or DB2
Leverage entire Cloudant implementation ndash
Cloudant Sync on the mobile device and
Cloudant in the cloud
Cloudant is the ldquosync serverrdquo with the
mobile application
Solution to sync data between the
Cloudant server and the IBM data server
would be a ldquohome grownrdquo solution
ndash One option would be to use REST API
to ldquopullrdquo data from Cloudant to DB2 via
stored procedures
ndash Standalone REST API based program
to extract from Cloudant and insert into
Informix
ndash Data exchanged as JSON documents
ndash IBM Data Stage supports JSON and
could be leveraged here
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 38
copy 2014 IBM Corporation 39
Bluemix
Bluemix is an open-standards cloud-based platform offering a
single solution environment with the instant resources and
infrastructure you need to develop and deploy apps across
multiple domains mdash fast
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Run Your Apps
The developer can chose any language
runtime or bring their own Just upload
your code and go
DevOps Development monitoring deployment
and logging tools allow the developer to
run the entire application
APIs and Services A catalog of open source IBM and third
party APIs services allow a developer
to stitch together an application in
minutes
Cloud Integration Build hybrid environments Connect to
on-premises systems of record plus other
public and private clouds Expose your
own APIs to your developers
Big Data Manage your Big Data requirements with
BLU Acceleration Hadoop based
analytics and your sensor and device
Internet of Things data
Introducing Bluemix
A rich set of mobile ready APIs that you can mix and match to power your App
NEW
copy 2014 IBM Corporation
Nodejs includes SDK for data
sync ndash Primary development language
for mobile and server side
scripting Includes templates and
SDK for syncing with the
database in the cloud
Mobile Application Security ndash basic app security framework -
enabling the developer to block
access to apps on specific
devices
Push ndash Create and schedule push
notifications for iOS and Android
devices to engage users when
they arent using the app
Mobile Data ndash SDKs to sync mobile shared data
with the scalable managed
Cloudant database as a service
Mobile Cloud BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 41
copy 2014 IBM Corporation
Node-RED ndash A visual tool for wiring your IoT
app
TimeSeries Database ndash Provides a managed data store
for Internet of Things device data
and enables you to do time series
analysis on that data
InternetOfThings ndash APIs allowing Bluemix
applications to access device
data simply and swiftly
Internet of Things (IoT) BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 42
copy 2014 IBM Corporation
43
Bluemix Mobile Services
Simplify app deployment infrastructure maintenance and improve app quality with cloud services for
mobile Accelerates app development with SDKs for iOS and Android
Push
Create and schedule push notifications for
iOS and Android devices to engage users
when they arenrsquot using the app User
tagging enables the user to select desired
push topics
Twilio Build apps that communicate Integrate
voice messaging and VoIP into your web
and mobile apps
Mobile Application Management Centrally manage app access through a
web based console Control and secure
apps through containerization and control
over the operational lifecycle
Mobile Data Enhance your mobile app with a shared
managed database in the Cloud that can
be accessed using native SDKs for iOS
and Android
Mobile Quality Assurance Instrument apps to capture tester and live-
user experiences including context-aware
crash log and in-app bug reports in-app
user feedback and insightful and
streamlined quality metrics
Cloud Services for Mobile in Minutes
Internet of Things Internet of Things APIs allowing Bluemix
applications to access device data simply
and swiftly Build apps for a smarter planet
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 44
Why Bluemix Mobile Services
bull Simplicity and speed for mobile developers to develop
and deploy a mobile backend to share data and
business logic
bull Native SDKs for Android and iOS make coding intuitive
for mobile app developers
bull Reduced cost of maintenance with fully managed
services
bull Integrated App Quality and App Management capability
bull Integrated platform to extend mobile applications with
enterprise data or to new scenarios such as Web APIs
or Internet of Things
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Mobile Data Service
With the Mobile Data service you can store delete update and query objects that are
stored in the cloud
You can use a REST URL to interrogate the data classes and content that is stored in the
cloud
With the Mobile Cloud Services SDK you can embed a special managed directory in your
application Any files that are stored in this managed directory can be monitored and
synchronized The application can share the contents of this managed directory by
connecting to Mobile Data service with the same application ID and user ID By sharing the
directory contents different instances of an application can have synchronized copies of the
files
You can import JSON or tabular data into Mobile Data service
File Sync is a separate plugin and that can be added to your mobile app
ndash Currenty a last write wins policy when multiple applications are updating the same files
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 45
copy 2014 IBM Corporation
Mobile Device
Mobile Data
Service
Mobile
Data API
Cache (SQLite)
Mobile
App
Bluemix
Mobile
Data Service
JSON
Object
Store
Data
Viewer
Bluemix Architecture for shared system of engagement data
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 46
copy 2014 IBM Corporation
Accessing Data in your Bluemix Database
Accessing data in the SQLDB (DB2) service ndash DB2 APIs ndash MongoDB APIs
Accessing data in the BLUAcceleration (DB2 with BLU Acceleration) service
ndash DB2 JDBC Ruby Nodejs Python and PHP APIs
Accessing data in the TimeSeries Database (Informix) service ndash Informix REST APIs ndash Informix SQLI APIs (JDBC ODBC ESQLC etc) ndash MongoDB APIs
Accessing data in the Cloudant JSONDB service ndash Cloudant REST services
copy 2014 IBM Corporation
Accessing your Enterprise Data from Bluemix
Accessing your on-premises enterprise database from your Bluemix app
would be a custom ldquohome grownrdquo application
All of your Bluemix data is resident in the Bluemix Cloud
Enterprise access would be possible if you want to move your enterprise
data to the SQLDB service (DB2) or TimeSeries Database (Informix)
Or access your on-premises enterprise data using REST or web services
from your Bluemix application
Or perhaps use Bluemix as a development sandbox and then shift to
SoftLayer where your Enterprise environment could be hosted
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 48
copy 2014 IBM Corporation 49
WorkLight
IBM Worklight provides an open comprehensive and advanced mobile
application platform for smartphones and tablets It helps organizations
of all sizes to efficiently develop test connect run and manage mobile
applications (apps)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
IBM Worklight A mobile application platform
Speeding the development integration and management of mobile applications and
infrastructure
Accelerate Development bull Web hybrid and native development open flexible
standard-based multi-screenomni-channel bull Functional testing bull Development lifecycle tools and integration
Facilitate App Security and Trust bull Server-enforced authentication bull App authenticity and user-app-device binding bull Secure and syncable on-device storage bull App version enforcement
Enable User Engagement bull Unified push and SMS notifications bull Geolocation and context collections and intelligence bull Mobile-friendly integration
Support Mobile Analytics bull Efficient acquisition of analytics data bull Development operational and business analytics bull Offline and online event management integration
Best Mobile Development Solution
voted by SIIA members 2013 CODiE Awards
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 50
copy 2014 IBM Corporation
Components of the IBM Worklight Mobile Platform
bullplus Worklight Mobile Test Workbench for automated functional testing
bulland Worklight Analytics Platform for an aggregated view of server and
clientmobile information
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 51
copy 2014 IBM Corporation
Worklight Server Procedures amp Adapters
bull Worklight Server resident procedures perform the interaction between the application and the back end applications bull Procedures are written in Javascript and interact with mobile applications over
HTTP using JSON-formatted data bull Procedures perform the conversions between JSON format and the format
required by the back end application
SQL Adapters are procedures which can be configured to execute parameterized SQL queries and stored procedures in order to retrieve or update data in the database
ndash Worklight SQL adapters for DB2 MySQL and Oracle using JDBC connectivity ndash Additional SQL adapters can be created
Other custom adapters can be developed to interact with other data sources ndash New adapter for Cloudant for example
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 52
copy 2014 IBM Corporation
Worklight Adapters
Connect to enterprise applications and
cloud services
Deliver data to and from mobile
applications
Perform any necessary server-side
logic on this data
Query
Update data
DataResult
as JSON
Invoke adapter
procedure
SQL Cast Iron
Worklight
Response
1
2 3
4
SAP JMS HTTP Cloudant
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 53
copy 2014 IBM Corporation
Worklight Server
SQL Adapters would be required to link your enterprise data store with
your mobile application
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 54
copy 2014 IBM Corporation
Bluemix complements Worklight - enabling enterprise application agility
IBM Codename Bluemix IBM Worklight
+ IBM amp Third Party APIs forhellip
Mobile Web
Devops Big Data amp
Analytics
Inte-
gration
and More
Extend your enterprise mobile app platform investment through
Cloud APIs
In Worklight 62 (June 2014)
bull Worklight ready SDK that can be plugged into your project
bull Lifecycle management controls API access for Bluemix services
bull Worklight security framework integrates with Bluemix SSO
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 55
copy 2014 IBM Corporation
Enterprise Data
and Services
Worklight
Server
Cloud Data and
Services
Adapters
bull Server-side logic in
JavaScript
bull Read-only or Txn
bull Secure and Uniform
access to business
data
Worklight Adapters
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 56
copy 2014 IBM Corporation
Genero Mobile
A integrated platform for the rapid development of rich business applications
taking your application ideas to the desktop web and now to mobile devices
while fulfilling the promise of ldquoWrite Once Run Anywhererdquo
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 57
copy 2014 IBM Corporation
Genero Key features - Write once deploy everywhere
bull Rapid Development of rich business applications
bull Modernize legacy 4th generation language (green screen) apps
bull Desktop web and now mobile applications
bull Developed by IBM Business Partner 4Js
bull Native Dynamic Virtual Machine for mobile platforms (iOSamp Android)
bull Native GUI native performance
bull Connecteddisconnected mode
bull SQLite access on mobile device
bull Server database synchronization with Informix DB2 and other RDBMS
bull UTF-8
bull JSON Web Services RESTful services
bull App store or Over the Air installation
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 58
copy 2014 IBM Corporation
Genero Mobile Options Genero Web Client (GWC)
ndash Application is hosted on back end server
ndash Hosted via Genero Application Server through your web browser
ndash ldquoConnectedrdquo application
Genero Hybrid Client (GHC)
ndash Application runs within HTML5 native container
ndash Some access to local device applications amp data
ndash Hosted via Genero Application Server via web browser
ndash Downloaded via App Stores
Genero Mobile Client (GMC)
ndash 4Js announced GMC at 2013 IIUG conference and in ldquoStatement of Directionrdquo on web site
ndash Native DVM for Android and IOS supporting native user interfaces
ndash True ldquodisconnectedrdquo applications
ndash Apps will be native and can thus be hosted via App Stores (iTunes etc)
ndash Local SQLite database utilized ndash syncing with RDBMS planned
ndash Early Access Program (beta) is currently in progress
ndash General availability in June 2014
59 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Genero Mobile applications Application types
Native Advanced UI actions
Best performance
App store distribution
Hybrid Web developer skills
Native access
App store distribution
HTML5 Web developer skills
Cross platform
Instant updates
Unrestricted distribution
No offline mode
Genero Hybrid Client
Genero Web Client
Genero Mobile Client
4Js announced direction
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 60
copy 2014 IBM Corporation
Native application Mobile browser Native container
Native HTML5 Hybrid
Genero Mobile applications Application types
Hybrid
Mobile browser
HTML5
Native container
Hybrid
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 61
copy 2014 IBM Corporation
Flexible deployment Genero Mobile ndash one source code base 90 market coverage
FUNCTION edit_customer(num)
DEFINE num LIKE customercustomer_num
LET int_flag = FALSE
SELECT INTO customer
FROM customer
WHERE customer_num == num
INPUT BY NAME customer WITHOUT DEFAULTS
ON ACTION zoom INFIELD state
LET customerstate =
statesgetState(customerstate)
DISPLAY BY NAME customerstate
END INPUT
IF NOT int_flag THEN
UPDATE customer SET customer = customer
WHERE customer_num = num
ELSE
SELECT INTO customer
FROM customer
WHERE customer_num == num
DISPLAY BY NAME customer
END IF
END FUNCTION
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 62
copy 2014 IBM Corporation
bull Easy and consistent access to local
applications on IOS and Android
ndash Camera
ndash Contacts
ndash Email
ndash Calendar
ndash GPS
ndash Storage
Flexible deployment Genero Mobile ndash no need to choose Objective bdquoC‟ or Java
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 63
copy 2014 IBM Corporation
bull Native widgets
Genero Mobile Native UI combined with power of Genero
bull Native interactions ndash ex swipe left to
delete
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 64
copy 2014 IBM Corporation
Mobile device
iOSAndroid process
GUI
thread
VM
thread
Disconnected mode Device runs application and stores data offline (on the device)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 65
copy 2014 IBM Corporation
Web server
http
Mobile device
iOSAndroid process
GUI
thread
VM
GAS +
PROXY
Connected mode Device connects to a remote corporate server as an online terminal
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 66
copy 2014 IBM Corporation
Web server
JSON
http
Mobile device
iOSAndroid process
GUI
thread
VM
thread
Data synchronization ndash JSON JSON Web Services ndash offline data capture and sync with a remote database when online
VM
DBMS
SQLite
Web
Service
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 67
copy 2014 IBM Corporation
Summary
Back to our customerrsquos mobile applicationhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 68
copy 2014 IBM Corporation
Our DB2 Customerrsquos Mobile Environment ndash One New Scenario
Possible New Scenario
bull IBM Worklight based solution
bull Native iOS and Android mobile applications
bull Native apps can run in disconnected mode using local device data storage
bull Sync between device data storage and DB2 UDB data repository server using SQL Adapter
bull Native apps access local device resources
bull Enterprise authentication and mobile device management
Worklight
Server
Authentication
SQL Adapter
WebSphere
App Server
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 69
copy 2014 IBM Corporation
On Premises
data center
SoftLayer
Cloudant
REST over HTTP
Tables
Users
CloudSync
bull10000+ Android tablets
bullMobile app using Cloudant SDK
Possible New Scenario
bull New Android tablets
bull Cloudant SDK on the mobile device and CloudSync to sync the devices with the Cloudant server(s)
bull Custom REST based sync program to sync the Cloud-based Cloudant server with the on-premises Informix servers
Informix Customerrsquos Mobile Environment ndash One New Scenario
Sync
program
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 70
copy 2014 IBM Corporation 71
DB2 Tech Talk Informix and DB2 for Internet of Things amp Mobile Apps Next Steps Roadmap
Read about mobile app development and Internet of Things
bull Mobile Development on IBM developerWorks links to BlueMix Worklight Check products and tools tab bitlymobiledevdw
bull Mobile development on ibmcom bitly1h4IWo8
bull Bluemix introduction the next cloud platform bitly1pCXZrM
bull IBM Internet of Things page including Redbooks publication bitly1mOlt8G
bull Genero Mobile www4jscom
bull Dojo Mobile bitly1mOmyxf
Test drive the tools
bull Informix software download bitly1oSBm2y
bull BLU Acceleration for Cloud Open Beta googlAkMm8e
bull DB2 105 trial software Ibmcodb2download
bull Bluemix beta software acengbluemixnet
bull Worklight Developer Edition bitly1x1FSy2
Participate in the conversation
developerWorks answers Internet of Things technical forum
bitlyU9nPqT
Reference
Call IBM to schedule a demo or learn more
bull 1 800 966-9875 (US)
bull 1-888-746-7426 (Canada)
bull 1800-425-3333 (India)
bull Or visit httpwwwibmcomplanetwide for contact information worldwide
IBM DB2 105 product page
Ibmcomdb2
IBM DB2 105 Product features
ibmco12c1PJz
IBM Data Studio product page
Ibmcoibmdsinfo
Tech forum on developerWorks
bitlydb2forumluw
SQL Tips Blog
wwwsqltips4db2com
Step Three
Step Two
Step One
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 72
Upcoming Tech Talks Don‟t miss these in-depth DB2 feature talks
Dates and topics subject to change and modification
How to register
DB2 Tech Talks web site
Next DB2 Tech Talk DB2 with BLU Acceleration for SAP
bull July 17 2014 at 1230 PM
bull Guersad kuecuek Technical Specialist
DB2 and SAP in Europe
bull Registration bitlytt2014jul
bullIDUG DB2 Tech Conference Austrailasia
bull Sydney
bull September 10 ndash 12 2014
bull wwwidugorg
bullIBM Insight 2014
former Information on Demand Conference
bull Las Vegas NV
bull October 26 ndash 30 2014
bull bitlyibminsight2014
bullIDUG DB2 Tech Conference EMEA
bull Prague Czech Republic
bull November 9 ndash 14 2014
bull wwwidugorg
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Learn engage and get social new DB2 with BLU Acceleration microsite
wwwibmBLUhubcom
DB2 with BLU Acceleration is for
reporting ndash Fast and simple way to respond to
continual reporting requests
ndash No tuning no tweaking
ndash Gets you back to high-value
projects
BLU Acceleration hub contains ndash Technical information and
ldquoinformation for your bossrdquo
ndash Access to the social conversation
ndash Links to software trial and BLU
Acceleration for Cloud
And more Check it out
73 Need webcast troubleshooting help Click attachments
Need webcast troubleshooting help Click attachments
BLU ndash Cognos Demo bitlydemoblu-cognos
copy 2014 IBM Corporation 74
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 75
Questions
Listening in replay
Questions wwwsqltips4db2com
Click submit a question
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 76
Thanks for attending
Please rate the session
Presentation download bitlyttfilemay14
click Attachments in this webcast environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Nexus mobile devices and IoT
Explosion of mobile has created new opportunities for IoT
Explosion of IoT has created new demand for mobile
Past Present Future
Proprietary and special-purpose
devices for accessing IoT
Mobile devices which most
people have already and apps
Cloud and mobile provides
ldquoeverywhererdquo access to IoT
Expensive gadgetry Affordable IoT devices Commodity pre-integrated
Wide range of protocols mostly
proprietary
Consolidation of protocols and
standards
Internet-ready widgets
Difficult to connect Low-level
programming
Software libraries and gateways
take care of the dirty work
Automated discovery and ldquoplug-in
readyrdquo value
Ad-hoc data models JSON universal internet language Timeseries JSON cloud
Barriers to adoption are
dropping rapidly
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 13
copy 2014 IBM Corporation
Technology shift consumers lead the Internet of Things
Today Tomorrow Integration
A few connected
devices per
personhellip
Almost every device that consumers own will be
connected and many new ones will be created to leverage
the value created by consumer connections
Cross-platform
integrators will
connected devices
and automate
personal activity Door Lock
Dishwasher
Clothes Washer
Clothes Dryer
Window Lock
Garage Door
Toothbrush
Garden Moisture
Coffee Maker
Home Lights
Examples
Iftttcom
Zapiercom
Just as consumers have led enterprises in embracing new mobile services we
believe they will lead the adoption of connected devices amp integrated services
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 14
copy 2014 IBM Corporation
All Internet of Things use cases have a common set of requirements
Requirements
Quickly and easily provision new sensors
Create a real-time communication channel with the sensor
Capture data from the sensor and store it in a time series database
Provide access to the collected data
Pay for the service based on usage
Extended Requirements
Provide analytics on the data in both real-time and historical data
Trigger events based on specific data conditions
Interact with the sensor from business applications andor from mobile devices
1 must provide perceived value ndash quality of
life bottom line societal safety etc
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 15
copy 2014 IBM Corporation
IoT data ldquoWe believe it is better to have application
programmers deal with performance problems
due to overuse of transactions as bottlenecks
arise rather than always coding around the
lack of transactionsrdquo
Paper ndash Spanner Googlersquos Globally-Distributed Database
NoSQL
TimeSeries
Relational
Primary IoT Data Requirements
Geospatial
More than one data access model
is useful
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 16
copy 2014 IBM Corporation
Devices create and require time series
Virtually every IoT device doing real stuff in the real world creates a time series ndash Deploy and configure device (location owner capabilities) metadata NoSQL ndash Take readings (temperature power humidity) time series ndash Trigger events (lights ON place call sound alarm) time series
Time series stored in relational or JSON is unnatural ndash frequent updates ndash new reading = new row in table ndash access is not sequential
TimeSeries data model support helps IoT ndash storage space ndash performance
ID Time Value
1 1000 66
2 1000 20
1 1005 75
5 1010 12
Relational table
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 17
copy 2014 IBM Corporation
Informix Time Series Approach
Device_ID Series
1 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
2 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
3 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
4 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
hellip hellip
Time series storage
bull Each row contains all the data for a single device data append to end of the row
bull Data is not indexed only the device ID column is indexed
bull Data on disk is clustered by device id and kept ordered by time
bull Device IDs stored once rather than with every record
bull Timestamps are not stored on disk instead are calculated by position in series
bull Missing intervals are marked with a placeholder
eg Hildebrand 3 million customers a
reading every six seconds 50k insertss
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 18
copy 2014 IBM Corporation
IBM Products used in IoT Solutions
Collection of data for all sensors
Data from other kinds of
sensors
Consumer Business
Sensors in the home
TimeSeries Service
NoSQL Relational Timeseries amp Spatial storage amp analytics
Acceleration Technology
BLU IWA
SPSSCognos
MessageSight MQTT
SoftLayer BlueMix
BigInsights
Gateways for local analytics
Infosphere Streams
(no gateway)
In-memory analytics
Predictive analytics and dashboard
Cloud infrastructure
Hadoop
Publish Subscribe
Real-time analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 19
copy 2014 IBM Corporation
Developed by business partners Shaspa Tatung and ST-Micro ndash Runs on ARM v7 and Intel Quark chip sets ndash 512MB to 1GB of memory ndash 1GB to 4GB of storage ndash WirelessBluetooth receiver
ndash 3 inch by 2 inch form factor
Software components in SmartGate
ndash Informix enterprise edition
ndash Webserver
ndash Debian Linux
ndash Connectivity to the TimeSeries cloud service
ndash Support for common device communication protocols including
bull Enocean KNX Modbus CANOpen Zigbee ZWave DALI MBus SNMP MPBus
Priced around $100
20
Shasparsquos SmartGate Gateway example of edge device for IoT
Informix Database
Inside
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 20
copy 2014 IBM Corporation
Why use a gateway for local analytics
1 Gateways can reduce the cost of the backend cloud
bull Reduces cloud storage by filteringaggregatinganalyzing data locally
bull Reduces cloud CPU requirements by pre-computing values
2 Reduces latency since actions can be taken immediately
bull Intelligent gateways can detect and respond to local events as they happen rather than waiting for transfer to the cloud
3 Many users are not comfortable putting their data in the cloud
bull Gateways allow customers to capture and get value from their sensors without sending data to the cloud
Over time more and more of the processing will move from the cloud to edge (gateway) devices
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 21
copy 2014 IBM Corporation
IBM Internet of Things analytics in the cloud
Analyze
Gateway Local Analytics
Analytics
Analyze other than the time
dimension
Aggregate and join across
data types and attributes
Millions of devices
System of record existing
mountains of data
Database in the cloud
Gateway Local Analytics
Gateways Local Analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 22
copy 2014 IBM Corporation 23
Where we are coming fromhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
A DB2 Customerrsquos Mobile Environment
Web
Server
Current Scenario
bull Simple ldquohome grownrdquo app outgrew its initial purpose and requirements
bull Connected Web application serving hundreds of sales associates
bull Access mostly via smart phone browser but also via laptop browser
bull PHP application
bull DB2 UDB data repository
New Requirements
bull Disconnected Mode
bull Access to local device address book calendar etc
bull Better authentication
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
24
copy 2014 IBM Corporation
DB2
Everyplace
Web
Sphere
JDBC
Replication Tables
Users XML
Sync
3500PDAs Windows mobile 61 and 65 running on PSIONPITION MOTOROLAHTCSANSUMGHHP
Windows Server
Quad Core
04Gb RAM
32Bits Current Scenario
bull DB2E is handling 3500 PDAs
bull DB2 Everyplace to connect field technicians to Informix database with service request data dispatching service orders to mobile users who are equipped with handheld devices improving responsiveness to service outages
bull Currently using Windows mobile 61 and 65 running on PSIONPITION MOTOROLA HTC SAMSUNG and HHP devices
bull Developed home-grown applications using NET
bull Some devices sync online and others offline
Another Customerrsquos Mobile Environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 25
copy 2014 IBM Corporation 26
Cloud and Mobile Applications
Experimental in nature
- Require rapid iteration
- Faster time to market
- May be decommissioned quickly ndash need
environments in minutes versus days or weeks
Are written in multiple languages
- Web JavaScript Ruby Java PHP
- Mobile iOS Android Hybrid
Composed of Services
- Build using a composition model of stitching
capabilities together
- Capabilities often require time to test in app
beyond the scope of a free trial
Integrate with existing systems
- Data is often located in multiple places (public
private traditional data center)
- Existing systems may not scale at the same the
level of cloud applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
WriteUpdate
System Of Record
bull Cloudant JSONDB
bull Mobile Data Services (Bluemix)
bull Integration Services
- Cast IronDataStage
Mobile Data Synchronization Landscape
System Of Record
Enterprise
Data Store (Informix DB2)
bull On Device data persistence (SQLite)
bull Data Sync between devices and to Cloudant
data store
bull UpdateWrite to System Of Record through
the front door (Using Enterprise app APIs)
bull Using Cloudant SDK on device
System Of Engagement
Enterprise App
APIs
Cast Iron
DataStage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 27
copy 2014 IBM Corporation 28
Dojo Mobile Toolkit
The Dojo Mobile toolkit is a powerful JavaScript framework
that provides all of the building blocks required to develop
lightweight high-performance mobile web applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Dojo Mobile Toolkit
One of the choices in the busy HTML5 amp CSS3 category
Mobile toolkit extends the existing Dojo toolkit to deal with
ndash Input device differences
ndash Smaller screen sizes
ndash Reduced processing power and footprint requirements of mobile devices
Excellent option for mobile apps where connectivity is consistent
Database connectivity is standard PHP database driver
Easy to enforce consistency across screens and applications with style sheets
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 29
copy 2014 IBM Corporation
Photo Share demo built using IBM Dojo Mobile Toolkit
Hosted via Softlayer nosqldemocom
Built for IOD 2013 to demonstrate Informix
hybrid (JSON relational and time series)
application support
PHP app using the MongoDB PHP driver for
connectivity to the Informix database
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 30
copy 2014 IBM Corporation 31
Cloudant
A distributed database as a service (DBaaS) allowing
developers of fast-growing web and mobile apps to focus on
building and improving their products instead of worrying
about scaling and managing databases on their own
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Cloudant Overview
ndash Operational JSON data store
ndash RESTful CouchDB API
ndash Advanced APIs
bull Replication amp Sync
bull Lucene Full-text Search
bull Geo-spatial
bull Incremental MapReduce
ndash Scalable Highly Available Performance
bull Cross-data center data distribution amp fail over
bull Geo load balancing
ndash Multi-tenant and dedicated-tenant clusters
ndash Monitoring administration amp development dashboards
ndash Managed 24x7 by big data experts
ndash Available in Rackspace IBMSoftLayer and AWS datacenters
32 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 3
bull Store data on the server
andor the local device
bull Native libraries support
synchronization process
and local storage
management
bull Synchronize data
between devices by
replicating data from
Cloudant
Store and Access Data Everywhere
Local
Storage
Local
Storage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 33
copy 2014 IBM Corporation 4
Putting Data at the Edge
bull Geographically disperse your data across multiple data centers
to allow for easy access depending on location
bull Ability to store data across 35 geographic locations
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 34
copy 2014 IBM Corporation 5
Local
Storage
bull Restored connection will
sync the data with the
server and other devices
connected to same source
bull Data redundancy across
data centers
Always Onhellip
bull Readwrite from local
storage when connection is
unavailable
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 35
copy 2014 IBM Corporation 7
Based on Open Industry Standardshellip
JSON Cloudant
HTTP HTTP
HTTP
bull Any device using HTTP and JSON can interact with Cloudant
HTTP
HTTP
HTTP
JSON
JSON
JSON
JSON
JSON
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 36
copy 2014 IBM Corporation
Cloudant Sync
Available for Android and IOS
Solution leverages devicersquos on-board
SQLite database for persistence
ndash Cloudant defines indexing scheme for
optimizing use of relational SQLite DB
with applicationrsquos JSON storage
requirements
Multi version concurrency control
Replication to the Cloudant server in the
cloud via HTTP
Mobile application does include and
interact with Cloudant SDK software which
resides on the device
ndash Cloudant Code is native (Java for
Android Objective C for IOS)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 37
copy 2014 IBM Corporation
Sync Cloudant with Informix or DB2
Leverage entire Cloudant implementation ndash
Cloudant Sync on the mobile device and
Cloudant in the cloud
Cloudant is the ldquosync serverrdquo with the
mobile application
Solution to sync data between the
Cloudant server and the IBM data server
would be a ldquohome grownrdquo solution
ndash One option would be to use REST API
to ldquopullrdquo data from Cloudant to DB2 via
stored procedures
ndash Standalone REST API based program
to extract from Cloudant and insert into
Informix
ndash Data exchanged as JSON documents
ndash IBM Data Stage supports JSON and
could be leveraged here
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 38
copy 2014 IBM Corporation 39
Bluemix
Bluemix is an open-standards cloud-based platform offering a
single solution environment with the instant resources and
infrastructure you need to develop and deploy apps across
multiple domains mdash fast
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Run Your Apps
The developer can chose any language
runtime or bring their own Just upload
your code and go
DevOps Development monitoring deployment
and logging tools allow the developer to
run the entire application
APIs and Services A catalog of open source IBM and third
party APIs services allow a developer
to stitch together an application in
minutes
Cloud Integration Build hybrid environments Connect to
on-premises systems of record plus other
public and private clouds Expose your
own APIs to your developers
Big Data Manage your Big Data requirements with
BLU Acceleration Hadoop based
analytics and your sensor and device
Internet of Things data
Introducing Bluemix
A rich set of mobile ready APIs that you can mix and match to power your App
NEW
copy 2014 IBM Corporation
Nodejs includes SDK for data
sync ndash Primary development language
for mobile and server side
scripting Includes templates and
SDK for syncing with the
database in the cloud
Mobile Application Security ndash basic app security framework -
enabling the developer to block
access to apps on specific
devices
Push ndash Create and schedule push
notifications for iOS and Android
devices to engage users when
they arent using the app
Mobile Data ndash SDKs to sync mobile shared data
with the scalable managed
Cloudant database as a service
Mobile Cloud BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 41
copy 2014 IBM Corporation
Node-RED ndash A visual tool for wiring your IoT
app
TimeSeries Database ndash Provides a managed data store
for Internet of Things device data
and enables you to do time series
analysis on that data
InternetOfThings ndash APIs allowing Bluemix
applications to access device
data simply and swiftly
Internet of Things (IoT) BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 42
copy 2014 IBM Corporation
43
Bluemix Mobile Services
Simplify app deployment infrastructure maintenance and improve app quality with cloud services for
mobile Accelerates app development with SDKs for iOS and Android
Push
Create and schedule push notifications for
iOS and Android devices to engage users
when they arenrsquot using the app User
tagging enables the user to select desired
push topics
Twilio Build apps that communicate Integrate
voice messaging and VoIP into your web
and mobile apps
Mobile Application Management Centrally manage app access through a
web based console Control and secure
apps through containerization and control
over the operational lifecycle
Mobile Data Enhance your mobile app with a shared
managed database in the Cloud that can
be accessed using native SDKs for iOS
and Android
Mobile Quality Assurance Instrument apps to capture tester and live-
user experiences including context-aware
crash log and in-app bug reports in-app
user feedback and insightful and
streamlined quality metrics
Cloud Services for Mobile in Minutes
Internet of Things Internet of Things APIs allowing Bluemix
applications to access device data simply
and swiftly Build apps for a smarter planet
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 44
Why Bluemix Mobile Services
bull Simplicity and speed for mobile developers to develop
and deploy a mobile backend to share data and
business logic
bull Native SDKs for Android and iOS make coding intuitive
for mobile app developers
bull Reduced cost of maintenance with fully managed
services
bull Integrated App Quality and App Management capability
bull Integrated platform to extend mobile applications with
enterprise data or to new scenarios such as Web APIs
or Internet of Things
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Mobile Data Service
With the Mobile Data service you can store delete update and query objects that are
stored in the cloud
You can use a REST URL to interrogate the data classes and content that is stored in the
cloud
With the Mobile Cloud Services SDK you can embed a special managed directory in your
application Any files that are stored in this managed directory can be monitored and
synchronized The application can share the contents of this managed directory by
connecting to Mobile Data service with the same application ID and user ID By sharing the
directory contents different instances of an application can have synchronized copies of the
files
You can import JSON or tabular data into Mobile Data service
File Sync is a separate plugin and that can be added to your mobile app
ndash Currenty a last write wins policy when multiple applications are updating the same files
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 45
copy 2014 IBM Corporation
Mobile Device
Mobile Data
Service
Mobile
Data API
Cache (SQLite)
Mobile
App
Bluemix
Mobile
Data Service
JSON
Object
Store
Data
Viewer
Bluemix Architecture for shared system of engagement data
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 46
copy 2014 IBM Corporation
Accessing Data in your Bluemix Database
Accessing data in the SQLDB (DB2) service ndash DB2 APIs ndash MongoDB APIs
Accessing data in the BLUAcceleration (DB2 with BLU Acceleration) service
ndash DB2 JDBC Ruby Nodejs Python and PHP APIs
Accessing data in the TimeSeries Database (Informix) service ndash Informix REST APIs ndash Informix SQLI APIs (JDBC ODBC ESQLC etc) ndash MongoDB APIs
Accessing data in the Cloudant JSONDB service ndash Cloudant REST services
copy 2014 IBM Corporation
Accessing your Enterprise Data from Bluemix
Accessing your on-premises enterprise database from your Bluemix app
would be a custom ldquohome grownrdquo application
All of your Bluemix data is resident in the Bluemix Cloud
Enterprise access would be possible if you want to move your enterprise
data to the SQLDB service (DB2) or TimeSeries Database (Informix)
Or access your on-premises enterprise data using REST or web services
from your Bluemix application
Or perhaps use Bluemix as a development sandbox and then shift to
SoftLayer where your Enterprise environment could be hosted
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 48
copy 2014 IBM Corporation 49
WorkLight
IBM Worklight provides an open comprehensive and advanced mobile
application platform for smartphones and tablets It helps organizations
of all sizes to efficiently develop test connect run and manage mobile
applications (apps)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
IBM Worklight A mobile application platform
Speeding the development integration and management of mobile applications and
infrastructure
Accelerate Development bull Web hybrid and native development open flexible
standard-based multi-screenomni-channel bull Functional testing bull Development lifecycle tools and integration
Facilitate App Security and Trust bull Server-enforced authentication bull App authenticity and user-app-device binding bull Secure and syncable on-device storage bull App version enforcement
Enable User Engagement bull Unified push and SMS notifications bull Geolocation and context collections and intelligence bull Mobile-friendly integration
Support Mobile Analytics bull Efficient acquisition of analytics data bull Development operational and business analytics bull Offline and online event management integration
Best Mobile Development Solution
voted by SIIA members 2013 CODiE Awards
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 50
copy 2014 IBM Corporation
Components of the IBM Worklight Mobile Platform
bullplus Worklight Mobile Test Workbench for automated functional testing
bulland Worklight Analytics Platform for an aggregated view of server and
clientmobile information
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 51
copy 2014 IBM Corporation
Worklight Server Procedures amp Adapters
bull Worklight Server resident procedures perform the interaction between the application and the back end applications bull Procedures are written in Javascript and interact with mobile applications over
HTTP using JSON-formatted data bull Procedures perform the conversions between JSON format and the format
required by the back end application
SQL Adapters are procedures which can be configured to execute parameterized SQL queries and stored procedures in order to retrieve or update data in the database
ndash Worklight SQL adapters for DB2 MySQL and Oracle using JDBC connectivity ndash Additional SQL adapters can be created
Other custom adapters can be developed to interact with other data sources ndash New adapter for Cloudant for example
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 52
copy 2014 IBM Corporation
Worklight Adapters
Connect to enterprise applications and
cloud services
Deliver data to and from mobile
applications
Perform any necessary server-side
logic on this data
Query
Update data
DataResult
as JSON
Invoke adapter
procedure
SQL Cast Iron
Worklight
Response
1
2 3
4
SAP JMS HTTP Cloudant
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 53
copy 2014 IBM Corporation
Worklight Server
SQL Adapters would be required to link your enterprise data store with
your mobile application
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 54
copy 2014 IBM Corporation
Bluemix complements Worklight - enabling enterprise application agility
IBM Codename Bluemix IBM Worklight
+ IBM amp Third Party APIs forhellip
Mobile Web
Devops Big Data amp
Analytics
Inte-
gration
and More
Extend your enterprise mobile app platform investment through
Cloud APIs
In Worklight 62 (June 2014)
bull Worklight ready SDK that can be plugged into your project
bull Lifecycle management controls API access for Bluemix services
bull Worklight security framework integrates with Bluemix SSO
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 55
copy 2014 IBM Corporation
Enterprise Data
and Services
Worklight
Server
Cloud Data and
Services
Adapters
bull Server-side logic in
JavaScript
bull Read-only or Txn
bull Secure and Uniform
access to business
data
Worklight Adapters
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 56
copy 2014 IBM Corporation
Genero Mobile
A integrated platform for the rapid development of rich business applications
taking your application ideas to the desktop web and now to mobile devices
while fulfilling the promise of ldquoWrite Once Run Anywhererdquo
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 57
copy 2014 IBM Corporation
Genero Key features - Write once deploy everywhere
bull Rapid Development of rich business applications
bull Modernize legacy 4th generation language (green screen) apps
bull Desktop web and now mobile applications
bull Developed by IBM Business Partner 4Js
bull Native Dynamic Virtual Machine for mobile platforms (iOSamp Android)
bull Native GUI native performance
bull Connecteddisconnected mode
bull SQLite access on mobile device
bull Server database synchronization with Informix DB2 and other RDBMS
bull UTF-8
bull JSON Web Services RESTful services
bull App store or Over the Air installation
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 58
copy 2014 IBM Corporation
Genero Mobile Options Genero Web Client (GWC)
ndash Application is hosted on back end server
ndash Hosted via Genero Application Server through your web browser
ndash ldquoConnectedrdquo application
Genero Hybrid Client (GHC)
ndash Application runs within HTML5 native container
ndash Some access to local device applications amp data
ndash Hosted via Genero Application Server via web browser
ndash Downloaded via App Stores
Genero Mobile Client (GMC)
ndash 4Js announced GMC at 2013 IIUG conference and in ldquoStatement of Directionrdquo on web site
ndash Native DVM for Android and IOS supporting native user interfaces
ndash True ldquodisconnectedrdquo applications
ndash Apps will be native and can thus be hosted via App Stores (iTunes etc)
ndash Local SQLite database utilized ndash syncing with RDBMS planned
ndash Early Access Program (beta) is currently in progress
ndash General availability in June 2014
59 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Genero Mobile applications Application types
Native Advanced UI actions
Best performance
App store distribution
Hybrid Web developer skills
Native access
App store distribution
HTML5 Web developer skills
Cross platform
Instant updates
Unrestricted distribution
No offline mode
Genero Hybrid Client
Genero Web Client
Genero Mobile Client
4Js announced direction
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 60
copy 2014 IBM Corporation
Native application Mobile browser Native container
Native HTML5 Hybrid
Genero Mobile applications Application types
Hybrid
Mobile browser
HTML5
Native container
Hybrid
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 61
copy 2014 IBM Corporation
Flexible deployment Genero Mobile ndash one source code base 90 market coverage
FUNCTION edit_customer(num)
DEFINE num LIKE customercustomer_num
LET int_flag = FALSE
SELECT INTO customer
FROM customer
WHERE customer_num == num
INPUT BY NAME customer WITHOUT DEFAULTS
ON ACTION zoom INFIELD state
LET customerstate =
statesgetState(customerstate)
DISPLAY BY NAME customerstate
END INPUT
IF NOT int_flag THEN
UPDATE customer SET customer = customer
WHERE customer_num = num
ELSE
SELECT INTO customer
FROM customer
WHERE customer_num == num
DISPLAY BY NAME customer
END IF
END FUNCTION
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 62
copy 2014 IBM Corporation
bull Easy and consistent access to local
applications on IOS and Android
ndash Camera
ndash Contacts
ndash Email
ndash Calendar
ndash GPS
ndash Storage
Flexible deployment Genero Mobile ndash no need to choose Objective bdquoC‟ or Java
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 63
copy 2014 IBM Corporation
bull Native widgets
Genero Mobile Native UI combined with power of Genero
bull Native interactions ndash ex swipe left to
delete
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 64
copy 2014 IBM Corporation
Mobile device
iOSAndroid process
GUI
thread
VM
thread
Disconnected mode Device runs application and stores data offline (on the device)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 65
copy 2014 IBM Corporation
Web server
http
Mobile device
iOSAndroid process
GUI
thread
VM
GAS +
PROXY
Connected mode Device connects to a remote corporate server as an online terminal
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 66
copy 2014 IBM Corporation
Web server
JSON
http
Mobile device
iOSAndroid process
GUI
thread
VM
thread
Data synchronization ndash JSON JSON Web Services ndash offline data capture and sync with a remote database when online
VM
DBMS
SQLite
Web
Service
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 67
copy 2014 IBM Corporation
Summary
Back to our customerrsquos mobile applicationhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 68
copy 2014 IBM Corporation
Our DB2 Customerrsquos Mobile Environment ndash One New Scenario
Possible New Scenario
bull IBM Worklight based solution
bull Native iOS and Android mobile applications
bull Native apps can run in disconnected mode using local device data storage
bull Sync between device data storage and DB2 UDB data repository server using SQL Adapter
bull Native apps access local device resources
bull Enterprise authentication and mobile device management
Worklight
Server
Authentication
SQL Adapter
WebSphere
App Server
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 69
copy 2014 IBM Corporation
On Premises
data center
SoftLayer
Cloudant
REST over HTTP
Tables
Users
CloudSync
bull10000+ Android tablets
bullMobile app using Cloudant SDK
Possible New Scenario
bull New Android tablets
bull Cloudant SDK on the mobile device and CloudSync to sync the devices with the Cloudant server(s)
bull Custom REST based sync program to sync the Cloud-based Cloudant server with the on-premises Informix servers
Informix Customerrsquos Mobile Environment ndash One New Scenario
Sync
program
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 70
copy 2014 IBM Corporation 71
DB2 Tech Talk Informix and DB2 for Internet of Things amp Mobile Apps Next Steps Roadmap
Read about mobile app development and Internet of Things
bull Mobile Development on IBM developerWorks links to BlueMix Worklight Check products and tools tab bitlymobiledevdw
bull Mobile development on ibmcom bitly1h4IWo8
bull Bluemix introduction the next cloud platform bitly1pCXZrM
bull IBM Internet of Things page including Redbooks publication bitly1mOlt8G
bull Genero Mobile www4jscom
bull Dojo Mobile bitly1mOmyxf
Test drive the tools
bull Informix software download bitly1oSBm2y
bull BLU Acceleration for Cloud Open Beta googlAkMm8e
bull DB2 105 trial software Ibmcodb2download
bull Bluemix beta software acengbluemixnet
bull Worklight Developer Edition bitly1x1FSy2
Participate in the conversation
developerWorks answers Internet of Things technical forum
bitlyU9nPqT
Reference
Call IBM to schedule a demo or learn more
bull 1 800 966-9875 (US)
bull 1-888-746-7426 (Canada)
bull 1800-425-3333 (India)
bull Or visit httpwwwibmcomplanetwide for contact information worldwide
IBM DB2 105 product page
Ibmcomdb2
IBM DB2 105 Product features
ibmco12c1PJz
IBM Data Studio product page
Ibmcoibmdsinfo
Tech forum on developerWorks
bitlydb2forumluw
SQL Tips Blog
wwwsqltips4db2com
Step Three
Step Two
Step One
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 72
Upcoming Tech Talks Don‟t miss these in-depth DB2 feature talks
Dates and topics subject to change and modification
How to register
DB2 Tech Talks web site
Next DB2 Tech Talk DB2 with BLU Acceleration for SAP
bull July 17 2014 at 1230 PM
bull Guersad kuecuek Technical Specialist
DB2 and SAP in Europe
bull Registration bitlytt2014jul
bullIDUG DB2 Tech Conference Austrailasia
bull Sydney
bull September 10 ndash 12 2014
bull wwwidugorg
bullIBM Insight 2014
former Information on Demand Conference
bull Las Vegas NV
bull October 26 ndash 30 2014
bull bitlyibminsight2014
bullIDUG DB2 Tech Conference EMEA
bull Prague Czech Republic
bull November 9 ndash 14 2014
bull wwwidugorg
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Learn engage and get social new DB2 with BLU Acceleration microsite
wwwibmBLUhubcom
DB2 with BLU Acceleration is for
reporting ndash Fast and simple way to respond to
continual reporting requests
ndash No tuning no tweaking
ndash Gets you back to high-value
projects
BLU Acceleration hub contains ndash Technical information and
ldquoinformation for your bossrdquo
ndash Access to the social conversation
ndash Links to software trial and BLU
Acceleration for Cloud
And more Check it out
73 Need webcast troubleshooting help Click attachments
Need webcast troubleshooting help Click attachments
BLU ndash Cognos Demo bitlydemoblu-cognos
copy 2014 IBM Corporation 74
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 75
Questions
Listening in replay
Questions wwwsqltips4db2com
Click submit a question
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 76
Thanks for attending
Please rate the session
Presentation download bitlyttfilemay14
click Attachments in this webcast environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Technology shift consumers lead the Internet of Things
Today Tomorrow Integration
A few connected
devices per
personhellip
Almost every device that consumers own will be
connected and many new ones will be created to leverage
the value created by consumer connections
Cross-platform
integrators will
connected devices
and automate
personal activity Door Lock
Dishwasher
Clothes Washer
Clothes Dryer
Window Lock
Garage Door
Toothbrush
Garden Moisture
Coffee Maker
Home Lights
Examples
Iftttcom
Zapiercom
Just as consumers have led enterprises in embracing new mobile services we
believe they will lead the adoption of connected devices amp integrated services
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 14
copy 2014 IBM Corporation
All Internet of Things use cases have a common set of requirements
Requirements
Quickly and easily provision new sensors
Create a real-time communication channel with the sensor
Capture data from the sensor and store it in a time series database
Provide access to the collected data
Pay for the service based on usage
Extended Requirements
Provide analytics on the data in both real-time and historical data
Trigger events based on specific data conditions
Interact with the sensor from business applications andor from mobile devices
1 must provide perceived value ndash quality of
life bottom line societal safety etc
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 15
copy 2014 IBM Corporation
IoT data ldquoWe believe it is better to have application
programmers deal with performance problems
due to overuse of transactions as bottlenecks
arise rather than always coding around the
lack of transactionsrdquo
Paper ndash Spanner Googlersquos Globally-Distributed Database
NoSQL
TimeSeries
Relational
Primary IoT Data Requirements
Geospatial
More than one data access model
is useful
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 16
copy 2014 IBM Corporation
Devices create and require time series
Virtually every IoT device doing real stuff in the real world creates a time series ndash Deploy and configure device (location owner capabilities) metadata NoSQL ndash Take readings (temperature power humidity) time series ndash Trigger events (lights ON place call sound alarm) time series
Time series stored in relational or JSON is unnatural ndash frequent updates ndash new reading = new row in table ndash access is not sequential
TimeSeries data model support helps IoT ndash storage space ndash performance
ID Time Value
1 1000 66
2 1000 20
1 1005 75
5 1010 12
Relational table
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 17
copy 2014 IBM Corporation
Informix Time Series Approach
Device_ID Series
1 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
2 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
3 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
4 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
hellip hellip
Time series storage
bull Each row contains all the data for a single device data append to end of the row
bull Data is not indexed only the device ID column is indexed
bull Data on disk is clustered by device id and kept ordered by time
bull Device IDs stored once rather than with every record
bull Timestamps are not stored on disk instead are calculated by position in series
bull Missing intervals are marked with a placeholder
eg Hildebrand 3 million customers a
reading every six seconds 50k insertss
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 18
copy 2014 IBM Corporation
IBM Products used in IoT Solutions
Collection of data for all sensors
Data from other kinds of
sensors
Consumer Business
Sensors in the home
TimeSeries Service
NoSQL Relational Timeseries amp Spatial storage amp analytics
Acceleration Technology
BLU IWA
SPSSCognos
MessageSight MQTT
SoftLayer BlueMix
BigInsights
Gateways for local analytics
Infosphere Streams
(no gateway)
In-memory analytics
Predictive analytics and dashboard
Cloud infrastructure
Hadoop
Publish Subscribe
Real-time analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 19
copy 2014 IBM Corporation
Developed by business partners Shaspa Tatung and ST-Micro ndash Runs on ARM v7 and Intel Quark chip sets ndash 512MB to 1GB of memory ndash 1GB to 4GB of storage ndash WirelessBluetooth receiver
ndash 3 inch by 2 inch form factor
Software components in SmartGate
ndash Informix enterprise edition
ndash Webserver
ndash Debian Linux
ndash Connectivity to the TimeSeries cloud service
ndash Support for common device communication protocols including
bull Enocean KNX Modbus CANOpen Zigbee ZWave DALI MBus SNMP MPBus
Priced around $100
20
Shasparsquos SmartGate Gateway example of edge device for IoT
Informix Database
Inside
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 20
copy 2014 IBM Corporation
Why use a gateway for local analytics
1 Gateways can reduce the cost of the backend cloud
bull Reduces cloud storage by filteringaggregatinganalyzing data locally
bull Reduces cloud CPU requirements by pre-computing values
2 Reduces latency since actions can be taken immediately
bull Intelligent gateways can detect and respond to local events as they happen rather than waiting for transfer to the cloud
3 Many users are not comfortable putting their data in the cloud
bull Gateways allow customers to capture and get value from their sensors without sending data to the cloud
Over time more and more of the processing will move from the cloud to edge (gateway) devices
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 21
copy 2014 IBM Corporation
IBM Internet of Things analytics in the cloud
Analyze
Gateway Local Analytics
Analytics
Analyze other than the time
dimension
Aggregate and join across
data types and attributes
Millions of devices
System of record existing
mountains of data
Database in the cloud
Gateway Local Analytics
Gateways Local Analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 22
copy 2014 IBM Corporation 23
Where we are coming fromhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
A DB2 Customerrsquos Mobile Environment
Web
Server
Current Scenario
bull Simple ldquohome grownrdquo app outgrew its initial purpose and requirements
bull Connected Web application serving hundreds of sales associates
bull Access mostly via smart phone browser but also via laptop browser
bull PHP application
bull DB2 UDB data repository
New Requirements
bull Disconnected Mode
bull Access to local device address book calendar etc
bull Better authentication
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
24
copy 2014 IBM Corporation
DB2
Everyplace
Web
Sphere
JDBC
Replication Tables
Users XML
Sync
3500PDAs Windows mobile 61 and 65 running on PSIONPITION MOTOROLAHTCSANSUMGHHP
Windows Server
Quad Core
04Gb RAM
32Bits Current Scenario
bull DB2E is handling 3500 PDAs
bull DB2 Everyplace to connect field technicians to Informix database with service request data dispatching service orders to mobile users who are equipped with handheld devices improving responsiveness to service outages
bull Currently using Windows mobile 61 and 65 running on PSIONPITION MOTOROLA HTC SAMSUNG and HHP devices
bull Developed home-grown applications using NET
bull Some devices sync online and others offline
Another Customerrsquos Mobile Environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 25
copy 2014 IBM Corporation 26
Cloud and Mobile Applications
Experimental in nature
- Require rapid iteration
- Faster time to market
- May be decommissioned quickly ndash need
environments in minutes versus days or weeks
Are written in multiple languages
- Web JavaScript Ruby Java PHP
- Mobile iOS Android Hybrid
Composed of Services
- Build using a composition model of stitching
capabilities together
- Capabilities often require time to test in app
beyond the scope of a free trial
Integrate with existing systems
- Data is often located in multiple places (public
private traditional data center)
- Existing systems may not scale at the same the
level of cloud applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
WriteUpdate
System Of Record
bull Cloudant JSONDB
bull Mobile Data Services (Bluemix)
bull Integration Services
- Cast IronDataStage
Mobile Data Synchronization Landscape
System Of Record
Enterprise
Data Store (Informix DB2)
bull On Device data persistence (SQLite)
bull Data Sync between devices and to Cloudant
data store
bull UpdateWrite to System Of Record through
the front door (Using Enterprise app APIs)
bull Using Cloudant SDK on device
System Of Engagement
Enterprise App
APIs
Cast Iron
DataStage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 27
copy 2014 IBM Corporation 28
Dojo Mobile Toolkit
The Dojo Mobile toolkit is a powerful JavaScript framework
that provides all of the building blocks required to develop
lightweight high-performance mobile web applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Dojo Mobile Toolkit
One of the choices in the busy HTML5 amp CSS3 category
Mobile toolkit extends the existing Dojo toolkit to deal with
ndash Input device differences
ndash Smaller screen sizes
ndash Reduced processing power and footprint requirements of mobile devices
Excellent option for mobile apps where connectivity is consistent
Database connectivity is standard PHP database driver
Easy to enforce consistency across screens and applications with style sheets
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 29
copy 2014 IBM Corporation
Photo Share demo built using IBM Dojo Mobile Toolkit
Hosted via Softlayer nosqldemocom
Built for IOD 2013 to demonstrate Informix
hybrid (JSON relational and time series)
application support
PHP app using the MongoDB PHP driver for
connectivity to the Informix database
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 30
copy 2014 IBM Corporation 31
Cloudant
A distributed database as a service (DBaaS) allowing
developers of fast-growing web and mobile apps to focus on
building and improving their products instead of worrying
about scaling and managing databases on their own
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Cloudant Overview
ndash Operational JSON data store
ndash RESTful CouchDB API
ndash Advanced APIs
bull Replication amp Sync
bull Lucene Full-text Search
bull Geo-spatial
bull Incremental MapReduce
ndash Scalable Highly Available Performance
bull Cross-data center data distribution amp fail over
bull Geo load balancing
ndash Multi-tenant and dedicated-tenant clusters
ndash Monitoring administration amp development dashboards
ndash Managed 24x7 by big data experts
ndash Available in Rackspace IBMSoftLayer and AWS datacenters
32 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 3
bull Store data on the server
andor the local device
bull Native libraries support
synchronization process
and local storage
management
bull Synchronize data
between devices by
replicating data from
Cloudant
Store and Access Data Everywhere
Local
Storage
Local
Storage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 33
copy 2014 IBM Corporation 4
Putting Data at the Edge
bull Geographically disperse your data across multiple data centers
to allow for easy access depending on location
bull Ability to store data across 35 geographic locations
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 34
copy 2014 IBM Corporation 5
Local
Storage
bull Restored connection will
sync the data with the
server and other devices
connected to same source
bull Data redundancy across
data centers
Always Onhellip
bull Readwrite from local
storage when connection is
unavailable
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 35
copy 2014 IBM Corporation 7
Based on Open Industry Standardshellip
JSON Cloudant
HTTP HTTP
HTTP
bull Any device using HTTP and JSON can interact with Cloudant
HTTP
HTTP
HTTP
JSON
JSON
JSON
JSON
JSON
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 36
copy 2014 IBM Corporation
Cloudant Sync
Available for Android and IOS
Solution leverages devicersquos on-board
SQLite database for persistence
ndash Cloudant defines indexing scheme for
optimizing use of relational SQLite DB
with applicationrsquos JSON storage
requirements
Multi version concurrency control
Replication to the Cloudant server in the
cloud via HTTP
Mobile application does include and
interact with Cloudant SDK software which
resides on the device
ndash Cloudant Code is native (Java for
Android Objective C for IOS)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 37
copy 2014 IBM Corporation
Sync Cloudant with Informix or DB2
Leverage entire Cloudant implementation ndash
Cloudant Sync on the mobile device and
Cloudant in the cloud
Cloudant is the ldquosync serverrdquo with the
mobile application
Solution to sync data between the
Cloudant server and the IBM data server
would be a ldquohome grownrdquo solution
ndash One option would be to use REST API
to ldquopullrdquo data from Cloudant to DB2 via
stored procedures
ndash Standalone REST API based program
to extract from Cloudant and insert into
Informix
ndash Data exchanged as JSON documents
ndash IBM Data Stage supports JSON and
could be leveraged here
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 38
copy 2014 IBM Corporation 39
Bluemix
Bluemix is an open-standards cloud-based platform offering a
single solution environment with the instant resources and
infrastructure you need to develop and deploy apps across
multiple domains mdash fast
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Run Your Apps
The developer can chose any language
runtime or bring their own Just upload
your code and go
DevOps Development monitoring deployment
and logging tools allow the developer to
run the entire application
APIs and Services A catalog of open source IBM and third
party APIs services allow a developer
to stitch together an application in
minutes
Cloud Integration Build hybrid environments Connect to
on-premises systems of record plus other
public and private clouds Expose your
own APIs to your developers
Big Data Manage your Big Data requirements with
BLU Acceleration Hadoop based
analytics and your sensor and device
Internet of Things data
Introducing Bluemix
A rich set of mobile ready APIs that you can mix and match to power your App
NEW
copy 2014 IBM Corporation
Nodejs includes SDK for data
sync ndash Primary development language
for mobile and server side
scripting Includes templates and
SDK for syncing with the
database in the cloud
Mobile Application Security ndash basic app security framework -
enabling the developer to block
access to apps on specific
devices
Push ndash Create and schedule push
notifications for iOS and Android
devices to engage users when
they arent using the app
Mobile Data ndash SDKs to sync mobile shared data
with the scalable managed
Cloudant database as a service
Mobile Cloud BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 41
copy 2014 IBM Corporation
Node-RED ndash A visual tool for wiring your IoT
app
TimeSeries Database ndash Provides a managed data store
for Internet of Things device data
and enables you to do time series
analysis on that data
InternetOfThings ndash APIs allowing Bluemix
applications to access device
data simply and swiftly
Internet of Things (IoT) BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 42
copy 2014 IBM Corporation
43
Bluemix Mobile Services
Simplify app deployment infrastructure maintenance and improve app quality with cloud services for
mobile Accelerates app development with SDKs for iOS and Android
Push
Create and schedule push notifications for
iOS and Android devices to engage users
when they arenrsquot using the app User
tagging enables the user to select desired
push topics
Twilio Build apps that communicate Integrate
voice messaging and VoIP into your web
and mobile apps
Mobile Application Management Centrally manage app access through a
web based console Control and secure
apps through containerization and control
over the operational lifecycle
Mobile Data Enhance your mobile app with a shared
managed database in the Cloud that can
be accessed using native SDKs for iOS
and Android
Mobile Quality Assurance Instrument apps to capture tester and live-
user experiences including context-aware
crash log and in-app bug reports in-app
user feedback and insightful and
streamlined quality metrics
Cloud Services for Mobile in Minutes
Internet of Things Internet of Things APIs allowing Bluemix
applications to access device data simply
and swiftly Build apps for a smarter planet
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 44
Why Bluemix Mobile Services
bull Simplicity and speed for mobile developers to develop
and deploy a mobile backend to share data and
business logic
bull Native SDKs for Android and iOS make coding intuitive
for mobile app developers
bull Reduced cost of maintenance with fully managed
services
bull Integrated App Quality and App Management capability
bull Integrated platform to extend mobile applications with
enterprise data or to new scenarios such as Web APIs
or Internet of Things
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Mobile Data Service
With the Mobile Data service you can store delete update and query objects that are
stored in the cloud
You can use a REST URL to interrogate the data classes and content that is stored in the
cloud
With the Mobile Cloud Services SDK you can embed a special managed directory in your
application Any files that are stored in this managed directory can be monitored and
synchronized The application can share the contents of this managed directory by
connecting to Mobile Data service with the same application ID and user ID By sharing the
directory contents different instances of an application can have synchronized copies of the
files
You can import JSON or tabular data into Mobile Data service
File Sync is a separate plugin and that can be added to your mobile app
ndash Currenty a last write wins policy when multiple applications are updating the same files
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 45
copy 2014 IBM Corporation
Mobile Device
Mobile Data
Service
Mobile
Data API
Cache (SQLite)
Mobile
App
Bluemix
Mobile
Data Service
JSON
Object
Store
Data
Viewer
Bluemix Architecture for shared system of engagement data
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 46
copy 2014 IBM Corporation
Accessing Data in your Bluemix Database
Accessing data in the SQLDB (DB2) service ndash DB2 APIs ndash MongoDB APIs
Accessing data in the BLUAcceleration (DB2 with BLU Acceleration) service
ndash DB2 JDBC Ruby Nodejs Python and PHP APIs
Accessing data in the TimeSeries Database (Informix) service ndash Informix REST APIs ndash Informix SQLI APIs (JDBC ODBC ESQLC etc) ndash MongoDB APIs
Accessing data in the Cloudant JSONDB service ndash Cloudant REST services
copy 2014 IBM Corporation
Accessing your Enterprise Data from Bluemix
Accessing your on-premises enterprise database from your Bluemix app
would be a custom ldquohome grownrdquo application
All of your Bluemix data is resident in the Bluemix Cloud
Enterprise access would be possible if you want to move your enterprise
data to the SQLDB service (DB2) or TimeSeries Database (Informix)
Or access your on-premises enterprise data using REST or web services
from your Bluemix application
Or perhaps use Bluemix as a development sandbox and then shift to
SoftLayer where your Enterprise environment could be hosted
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 48
copy 2014 IBM Corporation 49
WorkLight
IBM Worklight provides an open comprehensive and advanced mobile
application platform for smartphones and tablets It helps organizations
of all sizes to efficiently develop test connect run and manage mobile
applications (apps)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
IBM Worklight A mobile application platform
Speeding the development integration and management of mobile applications and
infrastructure
Accelerate Development bull Web hybrid and native development open flexible
standard-based multi-screenomni-channel bull Functional testing bull Development lifecycle tools and integration
Facilitate App Security and Trust bull Server-enforced authentication bull App authenticity and user-app-device binding bull Secure and syncable on-device storage bull App version enforcement
Enable User Engagement bull Unified push and SMS notifications bull Geolocation and context collections and intelligence bull Mobile-friendly integration
Support Mobile Analytics bull Efficient acquisition of analytics data bull Development operational and business analytics bull Offline and online event management integration
Best Mobile Development Solution
voted by SIIA members 2013 CODiE Awards
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 50
copy 2014 IBM Corporation
Components of the IBM Worklight Mobile Platform
bullplus Worklight Mobile Test Workbench for automated functional testing
bulland Worklight Analytics Platform for an aggregated view of server and
clientmobile information
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 51
copy 2014 IBM Corporation
Worklight Server Procedures amp Adapters
bull Worklight Server resident procedures perform the interaction between the application and the back end applications bull Procedures are written in Javascript and interact with mobile applications over
HTTP using JSON-formatted data bull Procedures perform the conversions between JSON format and the format
required by the back end application
SQL Adapters are procedures which can be configured to execute parameterized SQL queries and stored procedures in order to retrieve or update data in the database
ndash Worklight SQL adapters for DB2 MySQL and Oracle using JDBC connectivity ndash Additional SQL adapters can be created
Other custom adapters can be developed to interact with other data sources ndash New adapter for Cloudant for example
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 52
copy 2014 IBM Corporation
Worklight Adapters
Connect to enterprise applications and
cloud services
Deliver data to and from mobile
applications
Perform any necessary server-side
logic on this data
Query
Update data
DataResult
as JSON
Invoke adapter
procedure
SQL Cast Iron
Worklight
Response
1
2 3
4
SAP JMS HTTP Cloudant
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 53
copy 2014 IBM Corporation
Worklight Server
SQL Adapters would be required to link your enterprise data store with
your mobile application
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 54
copy 2014 IBM Corporation
Bluemix complements Worklight - enabling enterprise application agility
IBM Codename Bluemix IBM Worklight
+ IBM amp Third Party APIs forhellip
Mobile Web
Devops Big Data amp
Analytics
Inte-
gration
and More
Extend your enterprise mobile app platform investment through
Cloud APIs
In Worklight 62 (June 2014)
bull Worklight ready SDK that can be plugged into your project
bull Lifecycle management controls API access for Bluemix services
bull Worklight security framework integrates with Bluemix SSO
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 55
copy 2014 IBM Corporation
Enterprise Data
and Services
Worklight
Server
Cloud Data and
Services
Adapters
bull Server-side logic in
JavaScript
bull Read-only or Txn
bull Secure and Uniform
access to business
data
Worklight Adapters
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 56
copy 2014 IBM Corporation
Genero Mobile
A integrated platform for the rapid development of rich business applications
taking your application ideas to the desktop web and now to mobile devices
while fulfilling the promise of ldquoWrite Once Run Anywhererdquo
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 57
copy 2014 IBM Corporation
Genero Key features - Write once deploy everywhere
bull Rapid Development of rich business applications
bull Modernize legacy 4th generation language (green screen) apps
bull Desktop web and now mobile applications
bull Developed by IBM Business Partner 4Js
bull Native Dynamic Virtual Machine for mobile platforms (iOSamp Android)
bull Native GUI native performance
bull Connecteddisconnected mode
bull SQLite access on mobile device
bull Server database synchronization with Informix DB2 and other RDBMS
bull UTF-8
bull JSON Web Services RESTful services
bull App store or Over the Air installation
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 58
copy 2014 IBM Corporation
Genero Mobile Options Genero Web Client (GWC)
ndash Application is hosted on back end server
ndash Hosted via Genero Application Server through your web browser
ndash ldquoConnectedrdquo application
Genero Hybrid Client (GHC)
ndash Application runs within HTML5 native container
ndash Some access to local device applications amp data
ndash Hosted via Genero Application Server via web browser
ndash Downloaded via App Stores
Genero Mobile Client (GMC)
ndash 4Js announced GMC at 2013 IIUG conference and in ldquoStatement of Directionrdquo on web site
ndash Native DVM for Android and IOS supporting native user interfaces
ndash True ldquodisconnectedrdquo applications
ndash Apps will be native and can thus be hosted via App Stores (iTunes etc)
ndash Local SQLite database utilized ndash syncing with RDBMS planned
ndash Early Access Program (beta) is currently in progress
ndash General availability in June 2014
59 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Genero Mobile applications Application types
Native Advanced UI actions
Best performance
App store distribution
Hybrid Web developer skills
Native access
App store distribution
HTML5 Web developer skills
Cross platform
Instant updates
Unrestricted distribution
No offline mode
Genero Hybrid Client
Genero Web Client
Genero Mobile Client
4Js announced direction
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 60
copy 2014 IBM Corporation
Native application Mobile browser Native container
Native HTML5 Hybrid
Genero Mobile applications Application types
Hybrid
Mobile browser
HTML5
Native container
Hybrid
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 61
copy 2014 IBM Corporation
Flexible deployment Genero Mobile ndash one source code base 90 market coverage
FUNCTION edit_customer(num)
DEFINE num LIKE customercustomer_num
LET int_flag = FALSE
SELECT INTO customer
FROM customer
WHERE customer_num == num
INPUT BY NAME customer WITHOUT DEFAULTS
ON ACTION zoom INFIELD state
LET customerstate =
statesgetState(customerstate)
DISPLAY BY NAME customerstate
END INPUT
IF NOT int_flag THEN
UPDATE customer SET customer = customer
WHERE customer_num = num
ELSE
SELECT INTO customer
FROM customer
WHERE customer_num == num
DISPLAY BY NAME customer
END IF
END FUNCTION
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 62
copy 2014 IBM Corporation
bull Easy and consistent access to local
applications on IOS and Android
ndash Camera
ndash Contacts
ndash Email
ndash Calendar
ndash GPS
ndash Storage
Flexible deployment Genero Mobile ndash no need to choose Objective bdquoC‟ or Java
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 63
copy 2014 IBM Corporation
bull Native widgets
Genero Mobile Native UI combined with power of Genero
bull Native interactions ndash ex swipe left to
delete
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 64
copy 2014 IBM Corporation
Mobile device
iOSAndroid process
GUI
thread
VM
thread
Disconnected mode Device runs application and stores data offline (on the device)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 65
copy 2014 IBM Corporation
Web server
http
Mobile device
iOSAndroid process
GUI
thread
VM
GAS +
PROXY
Connected mode Device connects to a remote corporate server as an online terminal
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 66
copy 2014 IBM Corporation
Web server
JSON
http
Mobile device
iOSAndroid process
GUI
thread
VM
thread
Data synchronization ndash JSON JSON Web Services ndash offline data capture and sync with a remote database when online
VM
DBMS
SQLite
Web
Service
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 67
copy 2014 IBM Corporation
Summary
Back to our customerrsquos mobile applicationhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 68
copy 2014 IBM Corporation
Our DB2 Customerrsquos Mobile Environment ndash One New Scenario
Possible New Scenario
bull IBM Worklight based solution
bull Native iOS and Android mobile applications
bull Native apps can run in disconnected mode using local device data storage
bull Sync between device data storage and DB2 UDB data repository server using SQL Adapter
bull Native apps access local device resources
bull Enterprise authentication and mobile device management
Worklight
Server
Authentication
SQL Adapter
WebSphere
App Server
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 69
copy 2014 IBM Corporation
On Premises
data center
SoftLayer
Cloudant
REST over HTTP
Tables
Users
CloudSync
bull10000+ Android tablets
bullMobile app using Cloudant SDK
Possible New Scenario
bull New Android tablets
bull Cloudant SDK on the mobile device and CloudSync to sync the devices with the Cloudant server(s)
bull Custom REST based sync program to sync the Cloud-based Cloudant server with the on-premises Informix servers
Informix Customerrsquos Mobile Environment ndash One New Scenario
Sync
program
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 70
copy 2014 IBM Corporation 71
DB2 Tech Talk Informix and DB2 for Internet of Things amp Mobile Apps Next Steps Roadmap
Read about mobile app development and Internet of Things
bull Mobile Development on IBM developerWorks links to BlueMix Worklight Check products and tools tab bitlymobiledevdw
bull Mobile development on ibmcom bitly1h4IWo8
bull Bluemix introduction the next cloud platform bitly1pCXZrM
bull IBM Internet of Things page including Redbooks publication bitly1mOlt8G
bull Genero Mobile www4jscom
bull Dojo Mobile bitly1mOmyxf
Test drive the tools
bull Informix software download bitly1oSBm2y
bull BLU Acceleration for Cloud Open Beta googlAkMm8e
bull DB2 105 trial software Ibmcodb2download
bull Bluemix beta software acengbluemixnet
bull Worklight Developer Edition bitly1x1FSy2
Participate in the conversation
developerWorks answers Internet of Things technical forum
bitlyU9nPqT
Reference
Call IBM to schedule a demo or learn more
bull 1 800 966-9875 (US)
bull 1-888-746-7426 (Canada)
bull 1800-425-3333 (India)
bull Or visit httpwwwibmcomplanetwide for contact information worldwide
IBM DB2 105 product page
Ibmcomdb2
IBM DB2 105 Product features
ibmco12c1PJz
IBM Data Studio product page
Ibmcoibmdsinfo
Tech forum on developerWorks
bitlydb2forumluw
SQL Tips Blog
wwwsqltips4db2com
Step Three
Step Two
Step One
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 72
Upcoming Tech Talks Don‟t miss these in-depth DB2 feature talks
Dates and topics subject to change and modification
How to register
DB2 Tech Talks web site
Next DB2 Tech Talk DB2 with BLU Acceleration for SAP
bull July 17 2014 at 1230 PM
bull Guersad kuecuek Technical Specialist
DB2 and SAP in Europe
bull Registration bitlytt2014jul
bullIDUG DB2 Tech Conference Austrailasia
bull Sydney
bull September 10 ndash 12 2014
bull wwwidugorg
bullIBM Insight 2014
former Information on Demand Conference
bull Las Vegas NV
bull October 26 ndash 30 2014
bull bitlyibminsight2014
bullIDUG DB2 Tech Conference EMEA
bull Prague Czech Republic
bull November 9 ndash 14 2014
bull wwwidugorg
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Learn engage and get social new DB2 with BLU Acceleration microsite
wwwibmBLUhubcom
DB2 with BLU Acceleration is for
reporting ndash Fast and simple way to respond to
continual reporting requests
ndash No tuning no tweaking
ndash Gets you back to high-value
projects
BLU Acceleration hub contains ndash Technical information and
ldquoinformation for your bossrdquo
ndash Access to the social conversation
ndash Links to software trial and BLU
Acceleration for Cloud
And more Check it out
73 Need webcast troubleshooting help Click attachments
Need webcast troubleshooting help Click attachments
BLU ndash Cognos Demo bitlydemoblu-cognos
copy 2014 IBM Corporation 74
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 75
Questions
Listening in replay
Questions wwwsqltips4db2com
Click submit a question
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 76
Thanks for attending
Please rate the session
Presentation download bitlyttfilemay14
click Attachments in this webcast environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
All Internet of Things use cases have a common set of requirements
Requirements
Quickly and easily provision new sensors
Create a real-time communication channel with the sensor
Capture data from the sensor and store it in a time series database
Provide access to the collected data
Pay for the service based on usage
Extended Requirements
Provide analytics on the data in both real-time and historical data
Trigger events based on specific data conditions
Interact with the sensor from business applications andor from mobile devices
1 must provide perceived value ndash quality of
life bottom line societal safety etc
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 15
copy 2014 IBM Corporation
IoT data ldquoWe believe it is better to have application
programmers deal with performance problems
due to overuse of transactions as bottlenecks
arise rather than always coding around the
lack of transactionsrdquo
Paper ndash Spanner Googlersquos Globally-Distributed Database
NoSQL
TimeSeries
Relational
Primary IoT Data Requirements
Geospatial
More than one data access model
is useful
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 16
copy 2014 IBM Corporation
Devices create and require time series
Virtually every IoT device doing real stuff in the real world creates a time series ndash Deploy and configure device (location owner capabilities) metadata NoSQL ndash Take readings (temperature power humidity) time series ndash Trigger events (lights ON place call sound alarm) time series
Time series stored in relational or JSON is unnatural ndash frequent updates ndash new reading = new row in table ndash access is not sequential
TimeSeries data model support helps IoT ndash storage space ndash performance
ID Time Value
1 1000 66
2 1000 20
1 1005 75
5 1010 12
Relational table
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 17
copy 2014 IBM Corporation
Informix Time Series Approach
Device_ID Series
1 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
2 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
3 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
4 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
hellip hellip
Time series storage
bull Each row contains all the data for a single device data append to end of the row
bull Data is not indexed only the device ID column is indexed
bull Data on disk is clustered by device id and kept ordered by time
bull Device IDs stored once rather than with every record
bull Timestamps are not stored on disk instead are calculated by position in series
bull Missing intervals are marked with a placeholder
eg Hildebrand 3 million customers a
reading every six seconds 50k insertss
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 18
copy 2014 IBM Corporation
IBM Products used in IoT Solutions
Collection of data for all sensors
Data from other kinds of
sensors
Consumer Business
Sensors in the home
TimeSeries Service
NoSQL Relational Timeseries amp Spatial storage amp analytics
Acceleration Technology
BLU IWA
SPSSCognos
MessageSight MQTT
SoftLayer BlueMix
BigInsights
Gateways for local analytics
Infosphere Streams
(no gateway)
In-memory analytics
Predictive analytics and dashboard
Cloud infrastructure
Hadoop
Publish Subscribe
Real-time analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 19
copy 2014 IBM Corporation
Developed by business partners Shaspa Tatung and ST-Micro ndash Runs on ARM v7 and Intel Quark chip sets ndash 512MB to 1GB of memory ndash 1GB to 4GB of storage ndash WirelessBluetooth receiver
ndash 3 inch by 2 inch form factor
Software components in SmartGate
ndash Informix enterprise edition
ndash Webserver
ndash Debian Linux
ndash Connectivity to the TimeSeries cloud service
ndash Support for common device communication protocols including
bull Enocean KNX Modbus CANOpen Zigbee ZWave DALI MBus SNMP MPBus
Priced around $100
20
Shasparsquos SmartGate Gateway example of edge device for IoT
Informix Database
Inside
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 20
copy 2014 IBM Corporation
Why use a gateway for local analytics
1 Gateways can reduce the cost of the backend cloud
bull Reduces cloud storage by filteringaggregatinganalyzing data locally
bull Reduces cloud CPU requirements by pre-computing values
2 Reduces latency since actions can be taken immediately
bull Intelligent gateways can detect and respond to local events as they happen rather than waiting for transfer to the cloud
3 Many users are not comfortable putting their data in the cloud
bull Gateways allow customers to capture and get value from their sensors without sending data to the cloud
Over time more and more of the processing will move from the cloud to edge (gateway) devices
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 21
copy 2014 IBM Corporation
IBM Internet of Things analytics in the cloud
Analyze
Gateway Local Analytics
Analytics
Analyze other than the time
dimension
Aggregate and join across
data types and attributes
Millions of devices
System of record existing
mountains of data
Database in the cloud
Gateway Local Analytics
Gateways Local Analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 22
copy 2014 IBM Corporation 23
Where we are coming fromhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
A DB2 Customerrsquos Mobile Environment
Web
Server
Current Scenario
bull Simple ldquohome grownrdquo app outgrew its initial purpose and requirements
bull Connected Web application serving hundreds of sales associates
bull Access mostly via smart phone browser but also via laptop browser
bull PHP application
bull DB2 UDB data repository
New Requirements
bull Disconnected Mode
bull Access to local device address book calendar etc
bull Better authentication
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
24
copy 2014 IBM Corporation
DB2
Everyplace
Web
Sphere
JDBC
Replication Tables
Users XML
Sync
3500PDAs Windows mobile 61 and 65 running on PSIONPITION MOTOROLAHTCSANSUMGHHP
Windows Server
Quad Core
04Gb RAM
32Bits Current Scenario
bull DB2E is handling 3500 PDAs
bull DB2 Everyplace to connect field technicians to Informix database with service request data dispatching service orders to mobile users who are equipped with handheld devices improving responsiveness to service outages
bull Currently using Windows mobile 61 and 65 running on PSIONPITION MOTOROLA HTC SAMSUNG and HHP devices
bull Developed home-grown applications using NET
bull Some devices sync online and others offline
Another Customerrsquos Mobile Environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 25
copy 2014 IBM Corporation 26
Cloud and Mobile Applications
Experimental in nature
- Require rapid iteration
- Faster time to market
- May be decommissioned quickly ndash need
environments in minutes versus days or weeks
Are written in multiple languages
- Web JavaScript Ruby Java PHP
- Mobile iOS Android Hybrid
Composed of Services
- Build using a composition model of stitching
capabilities together
- Capabilities often require time to test in app
beyond the scope of a free trial
Integrate with existing systems
- Data is often located in multiple places (public
private traditional data center)
- Existing systems may not scale at the same the
level of cloud applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
WriteUpdate
System Of Record
bull Cloudant JSONDB
bull Mobile Data Services (Bluemix)
bull Integration Services
- Cast IronDataStage
Mobile Data Synchronization Landscape
System Of Record
Enterprise
Data Store (Informix DB2)
bull On Device data persistence (SQLite)
bull Data Sync between devices and to Cloudant
data store
bull UpdateWrite to System Of Record through
the front door (Using Enterprise app APIs)
bull Using Cloudant SDK on device
System Of Engagement
Enterprise App
APIs
Cast Iron
DataStage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 27
copy 2014 IBM Corporation 28
Dojo Mobile Toolkit
The Dojo Mobile toolkit is a powerful JavaScript framework
that provides all of the building blocks required to develop
lightweight high-performance mobile web applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Dojo Mobile Toolkit
One of the choices in the busy HTML5 amp CSS3 category
Mobile toolkit extends the existing Dojo toolkit to deal with
ndash Input device differences
ndash Smaller screen sizes
ndash Reduced processing power and footprint requirements of mobile devices
Excellent option for mobile apps where connectivity is consistent
Database connectivity is standard PHP database driver
Easy to enforce consistency across screens and applications with style sheets
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 29
copy 2014 IBM Corporation
Photo Share demo built using IBM Dojo Mobile Toolkit
Hosted via Softlayer nosqldemocom
Built for IOD 2013 to demonstrate Informix
hybrid (JSON relational and time series)
application support
PHP app using the MongoDB PHP driver for
connectivity to the Informix database
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 30
copy 2014 IBM Corporation 31
Cloudant
A distributed database as a service (DBaaS) allowing
developers of fast-growing web and mobile apps to focus on
building and improving their products instead of worrying
about scaling and managing databases on their own
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Cloudant Overview
ndash Operational JSON data store
ndash RESTful CouchDB API
ndash Advanced APIs
bull Replication amp Sync
bull Lucene Full-text Search
bull Geo-spatial
bull Incremental MapReduce
ndash Scalable Highly Available Performance
bull Cross-data center data distribution amp fail over
bull Geo load balancing
ndash Multi-tenant and dedicated-tenant clusters
ndash Monitoring administration amp development dashboards
ndash Managed 24x7 by big data experts
ndash Available in Rackspace IBMSoftLayer and AWS datacenters
32 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 3
bull Store data on the server
andor the local device
bull Native libraries support
synchronization process
and local storage
management
bull Synchronize data
between devices by
replicating data from
Cloudant
Store and Access Data Everywhere
Local
Storage
Local
Storage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 33
copy 2014 IBM Corporation 4
Putting Data at the Edge
bull Geographically disperse your data across multiple data centers
to allow for easy access depending on location
bull Ability to store data across 35 geographic locations
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 34
copy 2014 IBM Corporation 5
Local
Storage
bull Restored connection will
sync the data with the
server and other devices
connected to same source
bull Data redundancy across
data centers
Always Onhellip
bull Readwrite from local
storage when connection is
unavailable
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 35
copy 2014 IBM Corporation 7
Based on Open Industry Standardshellip
JSON Cloudant
HTTP HTTP
HTTP
bull Any device using HTTP and JSON can interact with Cloudant
HTTP
HTTP
HTTP
JSON
JSON
JSON
JSON
JSON
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 36
copy 2014 IBM Corporation
Cloudant Sync
Available for Android and IOS
Solution leverages devicersquos on-board
SQLite database for persistence
ndash Cloudant defines indexing scheme for
optimizing use of relational SQLite DB
with applicationrsquos JSON storage
requirements
Multi version concurrency control
Replication to the Cloudant server in the
cloud via HTTP
Mobile application does include and
interact with Cloudant SDK software which
resides on the device
ndash Cloudant Code is native (Java for
Android Objective C for IOS)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 37
copy 2014 IBM Corporation
Sync Cloudant with Informix or DB2
Leverage entire Cloudant implementation ndash
Cloudant Sync on the mobile device and
Cloudant in the cloud
Cloudant is the ldquosync serverrdquo with the
mobile application
Solution to sync data between the
Cloudant server and the IBM data server
would be a ldquohome grownrdquo solution
ndash One option would be to use REST API
to ldquopullrdquo data from Cloudant to DB2 via
stored procedures
ndash Standalone REST API based program
to extract from Cloudant and insert into
Informix
ndash Data exchanged as JSON documents
ndash IBM Data Stage supports JSON and
could be leveraged here
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 38
copy 2014 IBM Corporation 39
Bluemix
Bluemix is an open-standards cloud-based platform offering a
single solution environment with the instant resources and
infrastructure you need to develop and deploy apps across
multiple domains mdash fast
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Run Your Apps
The developer can chose any language
runtime or bring their own Just upload
your code and go
DevOps Development monitoring deployment
and logging tools allow the developer to
run the entire application
APIs and Services A catalog of open source IBM and third
party APIs services allow a developer
to stitch together an application in
minutes
Cloud Integration Build hybrid environments Connect to
on-premises systems of record plus other
public and private clouds Expose your
own APIs to your developers
Big Data Manage your Big Data requirements with
BLU Acceleration Hadoop based
analytics and your sensor and device
Internet of Things data
Introducing Bluemix
A rich set of mobile ready APIs that you can mix and match to power your App
NEW
copy 2014 IBM Corporation
Nodejs includes SDK for data
sync ndash Primary development language
for mobile and server side
scripting Includes templates and
SDK for syncing with the
database in the cloud
Mobile Application Security ndash basic app security framework -
enabling the developer to block
access to apps on specific
devices
Push ndash Create and schedule push
notifications for iOS and Android
devices to engage users when
they arent using the app
Mobile Data ndash SDKs to sync mobile shared data
with the scalable managed
Cloudant database as a service
Mobile Cloud BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 41
copy 2014 IBM Corporation
Node-RED ndash A visual tool for wiring your IoT
app
TimeSeries Database ndash Provides a managed data store
for Internet of Things device data
and enables you to do time series
analysis on that data
InternetOfThings ndash APIs allowing Bluemix
applications to access device
data simply and swiftly
Internet of Things (IoT) BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 42
copy 2014 IBM Corporation
43
Bluemix Mobile Services
Simplify app deployment infrastructure maintenance and improve app quality with cloud services for
mobile Accelerates app development with SDKs for iOS and Android
Push
Create and schedule push notifications for
iOS and Android devices to engage users
when they arenrsquot using the app User
tagging enables the user to select desired
push topics
Twilio Build apps that communicate Integrate
voice messaging and VoIP into your web
and mobile apps
Mobile Application Management Centrally manage app access through a
web based console Control and secure
apps through containerization and control
over the operational lifecycle
Mobile Data Enhance your mobile app with a shared
managed database in the Cloud that can
be accessed using native SDKs for iOS
and Android
Mobile Quality Assurance Instrument apps to capture tester and live-
user experiences including context-aware
crash log and in-app bug reports in-app
user feedback and insightful and
streamlined quality metrics
Cloud Services for Mobile in Minutes
Internet of Things Internet of Things APIs allowing Bluemix
applications to access device data simply
and swiftly Build apps for a smarter planet
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 44
Why Bluemix Mobile Services
bull Simplicity and speed for mobile developers to develop
and deploy a mobile backend to share data and
business logic
bull Native SDKs for Android and iOS make coding intuitive
for mobile app developers
bull Reduced cost of maintenance with fully managed
services
bull Integrated App Quality and App Management capability
bull Integrated platform to extend mobile applications with
enterprise data or to new scenarios such as Web APIs
or Internet of Things
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Mobile Data Service
With the Mobile Data service you can store delete update and query objects that are
stored in the cloud
You can use a REST URL to interrogate the data classes and content that is stored in the
cloud
With the Mobile Cloud Services SDK you can embed a special managed directory in your
application Any files that are stored in this managed directory can be monitored and
synchronized The application can share the contents of this managed directory by
connecting to Mobile Data service with the same application ID and user ID By sharing the
directory contents different instances of an application can have synchronized copies of the
files
You can import JSON or tabular data into Mobile Data service
File Sync is a separate plugin and that can be added to your mobile app
ndash Currenty a last write wins policy when multiple applications are updating the same files
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 45
copy 2014 IBM Corporation
Mobile Device
Mobile Data
Service
Mobile
Data API
Cache (SQLite)
Mobile
App
Bluemix
Mobile
Data Service
JSON
Object
Store
Data
Viewer
Bluemix Architecture for shared system of engagement data
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 46
copy 2014 IBM Corporation
Accessing Data in your Bluemix Database
Accessing data in the SQLDB (DB2) service ndash DB2 APIs ndash MongoDB APIs
Accessing data in the BLUAcceleration (DB2 with BLU Acceleration) service
ndash DB2 JDBC Ruby Nodejs Python and PHP APIs
Accessing data in the TimeSeries Database (Informix) service ndash Informix REST APIs ndash Informix SQLI APIs (JDBC ODBC ESQLC etc) ndash MongoDB APIs
Accessing data in the Cloudant JSONDB service ndash Cloudant REST services
copy 2014 IBM Corporation
Accessing your Enterprise Data from Bluemix
Accessing your on-premises enterprise database from your Bluemix app
would be a custom ldquohome grownrdquo application
All of your Bluemix data is resident in the Bluemix Cloud
Enterprise access would be possible if you want to move your enterprise
data to the SQLDB service (DB2) or TimeSeries Database (Informix)
Or access your on-premises enterprise data using REST or web services
from your Bluemix application
Or perhaps use Bluemix as a development sandbox and then shift to
SoftLayer where your Enterprise environment could be hosted
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 48
copy 2014 IBM Corporation 49
WorkLight
IBM Worklight provides an open comprehensive and advanced mobile
application platform for smartphones and tablets It helps organizations
of all sizes to efficiently develop test connect run and manage mobile
applications (apps)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
IBM Worklight A mobile application platform
Speeding the development integration and management of mobile applications and
infrastructure
Accelerate Development bull Web hybrid and native development open flexible
standard-based multi-screenomni-channel bull Functional testing bull Development lifecycle tools and integration
Facilitate App Security and Trust bull Server-enforced authentication bull App authenticity and user-app-device binding bull Secure and syncable on-device storage bull App version enforcement
Enable User Engagement bull Unified push and SMS notifications bull Geolocation and context collections and intelligence bull Mobile-friendly integration
Support Mobile Analytics bull Efficient acquisition of analytics data bull Development operational and business analytics bull Offline and online event management integration
Best Mobile Development Solution
voted by SIIA members 2013 CODiE Awards
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 50
copy 2014 IBM Corporation
Components of the IBM Worklight Mobile Platform
bullplus Worklight Mobile Test Workbench for automated functional testing
bulland Worklight Analytics Platform for an aggregated view of server and
clientmobile information
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 51
copy 2014 IBM Corporation
Worklight Server Procedures amp Adapters
bull Worklight Server resident procedures perform the interaction between the application and the back end applications bull Procedures are written in Javascript and interact with mobile applications over
HTTP using JSON-formatted data bull Procedures perform the conversions between JSON format and the format
required by the back end application
SQL Adapters are procedures which can be configured to execute parameterized SQL queries and stored procedures in order to retrieve or update data in the database
ndash Worklight SQL adapters for DB2 MySQL and Oracle using JDBC connectivity ndash Additional SQL adapters can be created
Other custom adapters can be developed to interact with other data sources ndash New adapter for Cloudant for example
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 52
copy 2014 IBM Corporation
Worklight Adapters
Connect to enterprise applications and
cloud services
Deliver data to and from mobile
applications
Perform any necessary server-side
logic on this data
Query
Update data
DataResult
as JSON
Invoke adapter
procedure
SQL Cast Iron
Worklight
Response
1
2 3
4
SAP JMS HTTP Cloudant
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 53
copy 2014 IBM Corporation
Worklight Server
SQL Adapters would be required to link your enterprise data store with
your mobile application
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 54
copy 2014 IBM Corporation
Bluemix complements Worklight - enabling enterprise application agility
IBM Codename Bluemix IBM Worklight
+ IBM amp Third Party APIs forhellip
Mobile Web
Devops Big Data amp
Analytics
Inte-
gration
and More
Extend your enterprise mobile app platform investment through
Cloud APIs
In Worklight 62 (June 2014)
bull Worklight ready SDK that can be plugged into your project
bull Lifecycle management controls API access for Bluemix services
bull Worklight security framework integrates with Bluemix SSO
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 55
copy 2014 IBM Corporation
Enterprise Data
and Services
Worklight
Server
Cloud Data and
Services
Adapters
bull Server-side logic in
JavaScript
bull Read-only or Txn
bull Secure and Uniform
access to business
data
Worklight Adapters
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 56
copy 2014 IBM Corporation
Genero Mobile
A integrated platform for the rapid development of rich business applications
taking your application ideas to the desktop web and now to mobile devices
while fulfilling the promise of ldquoWrite Once Run Anywhererdquo
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 57
copy 2014 IBM Corporation
Genero Key features - Write once deploy everywhere
bull Rapid Development of rich business applications
bull Modernize legacy 4th generation language (green screen) apps
bull Desktop web and now mobile applications
bull Developed by IBM Business Partner 4Js
bull Native Dynamic Virtual Machine for mobile platforms (iOSamp Android)
bull Native GUI native performance
bull Connecteddisconnected mode
bull SQLite access on mobile device
bull Server database synchronization with Informix DB2 and other RDBMS
bull UTF-8
bull JSON Web Services RESTful services
bull App store or Over the Air installation
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 58
copy 2014 IBM Corporation
Genero Mobile Options Genero Web Client (GWC)
ndash Application is hosted on back end server
ndash Hosted via Genero Application Server through your web browser
ndash ldquoConnectedrdquo application
Genero Hybrid Client (GHC)
ndash Application runs within HTML5 native container
ndash Some access to local device applications amp data
ndash Hosted via Genero Application Server via web browser
ndash Downloaded via App Stores
Genero Mobile Client (GMC)
ndash 4Js announced GMC at 2013 IIUG conference and in ldquoStatement of Directionrdquo on web site
ndash Native DVM for Android and IOS supporting native user interfaces
ndash True ldquodisconnectedrdquo applications
ndash Apps will be native and can thus be hosted via App Stores (iTunes etc)
ndash Local SQLite database utilized ndash syncing with RDBMS planned
ndash Early Access Program (beta) is currently in progress
ndash General availability in June 2014
59 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Genero Mobile applications Application types
Native Advanced UI actions
Best performance
App store distribution
Hybrid Web developer skills
Native access
App store distribution
HTML5 Web developer skills
Cross platform
Instant updates
Unrestricted distribution
No offline mode
Genero Hybrid Client
Genero Web Client
Genero Mobile Client
4Js announced direction
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 60
copy 2014 IBM Corporation
Native application Mobile browser Native container
Native HTML5 Hybrid
Genero Mobile applications Application types
Hybrid
Mobile browser
HTML5
Native container
Hybrid
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 61
copy 2014 IBM Corporation
Flexible deployment Genero Mobile ndash one source code base 90 market coverage
FUNCTION edit_customer(num)
DEFINE num LIKE customercustomer_num
LET int_flag = FALSE
SELECT INTO customer
FROM customer
WHERE customer_num == num
INPUT BY NAME customer WITHOUT DEFAULTS
ON ACTION zoom INFIELD state
LET customerstate =
statesgetState(customerstate)
DISPLAY BY NAME customerstate
END INPUT
IF NOT int_flag THEN
UPDATE customer SET customer = customer
WHERE customer_num = num
ELSE
SELECT INTO customer
FROM customer
WHERE customer_num == num
DISPLAY BY NAME customer
END IF
END FUNCTION
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 62
copy 2014 IBM Corporation
bull Easy and consistent access to local
applications on IOS and Android
ndash Camera
ndash Contacts
ndash Email
ndash Calendar
ndash GPS
ndash Storage
Flexible deployment Genero Mobile ndash no need to choose Objective bdquoC‟ or Java
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 63
copy 2014 IBM Corporation
bull Native widgets
Genero Mobile Native UI combined with power of Genero
bull Native interactions ndash ex swipe left to
delete
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 64
copy 2014 IBM Corporation
Mobile device
iOSAndroid process
GUI
thread
VM
thread
Disconnected mode Device runs application and stores data offline (on the device)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 65
copy 2014 IBM Corporation
Web server
http
Mobile device
iOSAndroid process
GUI
thread
VM
GAS +
PROXY
Connected mode Device connects to a remote corporate server as an online terminal
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 66
copy 2014 IBM Corporation
Web server
JSON
http
Mobile device
iOSAndroid process
GUI
thread
VM
thread
Data synchronization ndash JSON JSON Web Services ndash offline data capture and sync with a remote database when online
VM
DBMS
SQLite
Web
Service
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 67
copy 2014 IBM Corporation
Summary
Back to our customerrsquos mobile applicationhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 68
copy 2014 IBM Corporation
Our DB2 Customerrsquos Mobile Environment ndash One New Scenario
Possible New Scenario
bull IBM Worklight based solution
bull Native iOS and Android mobile applications
bull Native apps can run in disconnected mode using local device data storage
bull Sync between device data storage and DB2 UDB data repository server using SQL Adapter
bull Native apps access local device resources
bull Enterprise authentication and mobile device management
Worklight
Server
Authentication
SQL Adapter
WebSphere
App Server
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 69
copy 2014 IBM Corporation
On Premises
data center
SoftLayer
Cloudant
REST over HTTP
Tables
Users
CloudSync
bull10000+ Android tablets
bullMobile app using Cloudant SDK
Possible New Scenario
bull New Android tablets
bull Cloudant SDK on the mobile device and CloudSync to sync the devices with the Cloudant server(s)
bull Custom REST based sync program to sync the Cloud-based Cloudant server with the on-premises Informix servers
Informix Customerrsquos Mobile Environment ndash One New Scenario
Sync
program
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 70
copy 2014 IBM Corporation 71
DB2 Tech Talk Informix and DB2 for Internet of Things amp Mobile Apps Next Steps Roadmap
Read about mobile app development and Internet of Things
bull Mobile Development on IBM developerWorks links to BlueMix Worklight Check products and tools tab bitlymobiledevdw
bull Mobile development on ibmcom bitly1h4IWo8
bull Bluemix introduction the next cloud platform bitly1pCXZrM
bull IBM Internet of Things page including Redbooks publication bitly1mOlt8G
bull Genero Mobile www4jscom
bull Dojo Mobile bitly1mOmyxf
Test drive the tools
bull Informix software download bitly1oSBm2y
bull BLU Acceleration for Cloud Open Beta googlAkMm8e
bull DB2 105 trial software Ibmcodb2download
bull Bluemix beta software acengbluemixnet
bull Worklight Developer Edition bitly1x1FSy2
Participate in the conversation
developerWorks answers Internet of Things technical forum
bitlyU9nPqT
Reference
Call IBM to schedule a demo or learn more
bull 1 800 966-9875 (US)
bull 1-888-746-7426 (Canada)
bull 1800-425-3333 (India)
bull Or visit httpwwwibmcomplanetwide for contact information worldwide
IBM DB2 105 product page
Ibmcomdb2
IBM DB2 105 Product features
ibmco12c1PJz
IBM Data Studio product page
Ibmcoibmdsinfo
Tech forum on developerWorks
bitlydb2forumluw
SQL Tips Blog
wwwsqltips4db2com
Step Three
Step Two
Step One
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 72
Upcoming Tech Talks Don‟t miss these in-depth DB2 feature talks
Dates and topics subject to change and modification
How to register
DB2 Tech Talks web site
Next DB2 Tech Talk DB2 with BLU Acceleration for SAP
bull July 17 2014 at 1230 PM
bull Guersad kuecuek Technical Specialist
DB2 and SAP in Europe
bull Registration bitlytt2014jul
bullIDUG DB2 Tech Conference Austrailasia
bull Sydney
bull September 10 ndash 12 2014
bull wwwidugorg
bullIBM Insight 2014
former Information on Demand Conference
bull Las Vegas NV
bull October 26 ndash 30 2014
bull bitlyibminsight2014
bullIDUG DB2 Tech Conference EMEA
bull Prague Czech Republic
bull November 9 ndash 14 2014
bull wwwidugorg
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Learn engage and get social new DB2 with BLU Acceleration microsite
wwwibmBLUhubcom
DB2 with BLU Acceleration is for
reporting ndash Fast and simple way to respond to
continual reporting requests
ndash No tuning no tweaking
ndash Gets you back to high-value
projects
BLU Acceleration hub contains ndash Technical information and
ldquoinformation for your bossrdquo
ndash Access to the social conversation
ndash Links to software trial and BLU
Acceleration for Cloud
And more Check it out
73 Need webcast troubleshooting help Click attachments
Need webcast troubleshooting help Click attachments
BLU ndash Cognos Demo bitlydemoblu-cognos
copy 2014 IBM Corporation 74
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 75
Questions
Listening in replay
Questions wwwsqltips4db2com
Click submit a question
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 76
Thanks for attending
Please rate the session
Presentation download bitlyttfilemay14
click Attachments in this webcast environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
IoT data ldquoWe believe it is better to have application
programmers deal with performance problems
due to overuse of transactions as bottlenecks
arise rather than always coding around the
lack of transactionsrdquo
Paper ndash Spanner Googlersquos Globally-Distributed Database
NoSQL
TimeSeries
Relational
Primary IoT Data Requirements
Geospatial
More than one data access model
is useful
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 16
copy 2014 IBM Corporation
Devices create and require time series
Virtually every IoT device doing real stuff in the real world creates a time series ndash Deploy and configure device (location owner capabilities) metadata NoSQL ndash Take readings (temperature power humidity) time series ndash Trigger events (lights ON place call sound alarm) time series
Time series stored in relational or JSON is unnatural ndash frequent updates ndash new reading = new row in table ndash access is not sequential
TimeSeries data model support helps IoT ndash storage space ndash performance
ID Time Value
1 1000 66
2 1000 20
1 1005 75
5 1010 12
Relational table
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 17
copy 2014 IBM Corporation
Informix Time Series Approach
Device_ID Series
1 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
2 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
3 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
4 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
hellip hellip
Time series storage
bull Each row contains all the data for a single device data append to end of the row
bull Data is not indexed only the device ID column is indexed
bull Data on disk is clustered by device id and kept ordered by time
bull Device IDs stored once rather than with every record
bull Timestamps are not stored on disk instead are calculated by position in series
bull Missing intervals are marked with a placeholder
eg Hildebrand 3 million customers a
reading every six seconds 50k insertss
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 18
copy 2014 IBM Corporation
IBM Products used in IoT Solutions
Collection of data for all sensors
Data from other kinds of
sensors
Consumer Business
Sensors in the home
TimeSeries Service
NoSQL Relational Timeseries amp Spatial storage amp analytics
Acceleration Technology
BLU IWA
SPSSCognos
MessageSight MQTT
SoftLayer BlueMix
BigInsights
Gateways for local analytics
Infosphere Streams
(no gateway)
In-memory analytics
Predictive analytics and dashboard
Cloud infrastructure
Hadoop
Publish Subscribe
Real-time analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 19
copy 2014 IBM Corporation
Developed by business partners Shaspa Tatung and ST-Micro ndash Runs on ARM v7 and Intel Quark chip sets ndash 512MB to 1GB of memory ndash 1GB to 4GB of storage ndash WirelessBluetooth receiver
ndash 3 inch by 2 inch form factor
Software components in SmartGate
ndash Informix enterprise edition
ndash Webserver
ndash Debian Linux
ndash Connectivity to the TimeSeries cloud service
ndash Support for common device communication protocols including
bull Enocean KNX Modbus CANOpen Zigbee ZWave DALI MBus SNMP MPBus
Priced around $100
20
Shasparsquos SmartGate Gateway example of edge device for IoT
Informix Database
Inside
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 20
copy 2014 IBM Corporation
Why use a gateway for local analytics
1 Gateways can reduce the cost of the backend cloud
bull Reduces cloud storage by filteringaggregatinganalyzing data locally
bull Reduces cloud CPU requirements by pre-computing values
2 Reduces latency since actions can be taken immediately
bull Intelligent gateways can detect and respond to local events as they happen rather than waiting for transfer to the cloud
3 Many users are not comfortable putting their data in the cloud
bull Gateways allow customers to capture and get value from their sensors without sending data to the cloud
Over time more and more of the processing will move from the cloud to edge (gateway) devices
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 21
copy 2014 IBM Corporation
IBM Internet of Things analytics in the cloud
Analyze
Gateway Local Analytics
Analytics
Analyze other than the time
dimension
Aggregate and join across
data types and attributes
Millions of devices
System of record existing
mountains of data
Database in the cloud
Gateway Local Analytics
Gateways Local Analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 22
copy 2014 IBM Corporation 23
Where we are coming fromhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
A DB2 Customerrsquos Mobile Environment
Web
Server
Current Scenario
bull Simple ldquohome grownrdquo app outgrew its initial purpose and requirements
bull Connected Web application serving hundreds of sales associates
bull Access mostly via smart phone browser but also via laptop browser
bull PHP application
bull DB2 UDB data repository
New Requirements
bull Disconnected Mode
bull Access to local device address book calendar etc
bull Better authentication
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
24
copy 2014 IBM Corporation
DB2
Everyplace
Web
Sphere
JDBC
Replication Tables
Users XML
Sync
3500PDAs Windows mobile 61 and 65 running on PSIONPITION MOTOROLAHTCSANSUMGHHP
Windows Server
Quad Core
04Gb RAM
32Bits Current Scenario
bull DB2E is handling 3500 PDAs
bull DB2 Everyplace to connect field technicians to Informix database with service request data dispatching service orders to mobile users who are equipped with handheld devices improving responsiveness to service outages
bull Currently using Windows mobile 61 and 65 running on PSIONPITION MOTOROLA HTC SAMSUNG and HHP devices
bull Developed home-grown applications using NET
bull Some devices sync online and others offline
Another Customerrsquos Mobile Environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 25
copy 2014 IBM Corporation 26
Cloud and Mobile Applications
Experimental in nature
- Require rapid iteration
- Faster time to market
- May be decommissioned quickly ndash need
environments in minutes versus days or weeks
Are written in multiple languages
- Web JavaScript Ruby Java PHP
- Mobile iOS Android Hybrid
Composed of Services
- Build using a composition model of stitching
capabilities together
- Capabilities often require time to test in app
beyond the scope of a free trial
Integrate with existing systems
- Data is often located in multiple places (public
private traditional data center)
- Existing systems may not scale at the same the
level of cloud applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
WriteUpdate
System Of Record
bull Cloudant JSONDB
bull Mobile Data Services (Bluemix)
bull Integration Services
- Cast IronDataStage
Mobile Data Synchronization Landscape
System Of Record
Enterprise
Data Store (Informix DB2)
bull On Device data persistence (SQLite)
bull Data Sync between devices and to Cloudant
data store
bull UpdateWrite to System Of Record through
the front door (Using Enterprise app APIs)
bull Using Cloudant SDK on device
System Of Engagement
Enterprise App
APIs
Cast Iron
DataStage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 27
copy 2014 IBM Corporation 28
Dojo Mobile Toolkit
The Dojo Mobile toolkit is a powerful JavaScript framework
that provides all of the building blocks required to develop
lightweight high-performance mobile web applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Dojo Mobile Toolkit
One of the choices in the busy HTML5 amp CSS3 category
Mobile toolkit extends the existing Dojo toolkit to deal with
ndash Input device differences
ndash Smaller screen sizes
ndash Reduced processing power and footprint requirements of mobile devices
Excellent option for mobile apps where connectivity is consistent
Database connectivity is standard PHP database driver
Easy to enforce consistency across screens and applications with style sheets
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 29
copy 2014 IBM Corporation
Photo Share demo built using IBM Dojo Mobile Toolkit
Hosted via Softlayer nosqldemocom
Built for IOD 2013 to demonstrate Informix
hybrid (JSON relational and time series)
application support
PHP app using the MongoDB PHP driver for
connectivity to the Informix database
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 30
copy 2014 IBM Corporation 31
Cloudant
A distributed database as a service (DBaaS) allowing
developers of fast-growing web and mobile apps to focus on
building and improving their products instead of worrying
about scaling and managing databases on their own
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Cloudant Overview
ndash Operational JSON data store
ndash RESTful CouchDB API
ndash Advanced APIs
bull Replication amp Sync
bull Lucene Full-text Search
bull Geo-spatial
bull Incremental MapReduce
ndash Scalable Highly Available Performance
bull Cross-data center data distribution amp fail over
bull Geo load balancing
ndash Multi-tenant and dedicated-tenant clusters
ndash Monitoring administration amp development dashboards
ndash Managed 24x7 by big data experts
ndash Available in Rackspace IBMSoftLayer and AWS datacenters
32 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 3
bull Store data on the server
andor the local device
bull Native libraries support
synchronization process
and local storage
management
bull Synchronize data
between devices by
replicating data from
Cloudant
Store and Access Data Everywhere
Local
Storage
Local
Storage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 33
copy 2014 IBM Corporation 4
Putting Data at the Edge
bull Geographically disperse your data across multiple data centers
to allow for easy access depending on location
bull Ability to store data across 35 geographic locations
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 34
copy 2014 IBM Corporation 5
Local
Storage
bull Restored connection will
sync the data with the
server and other devices
connected to same source
bull Data redundancy across
data centers
Always Onhellip
bull Readwrite from local
storage when connection is
unavailable
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 35
copy 2014 IBM Corporation 7
Based on Open Industry Standardshellip
JSON Cloudant
HTTP HTTP
HTTP
bull Any device using HTTP and JSON can interact with Cloudant
HTTP
HTTP
HTTP
JSON
JSON
JSON
JSON
JSON
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 36
copy 2014 IBM Corporation
Cloudant Sync
Available for Android and IOS
Solution leverages devicersquos on-board
SQLite database for persistence
ndash Cloudant defines indexing scheme for
optimizing use of relational SQLite DB
with applicationrsquos JSON storage
requirements
Multi version concurrency control
Replication to the Cloudant server in the
cloud via HTTP
Mobile application does include and
interact with Cloudant SDK software which
resides on the device
ndash Cloudant Code is native (Java for
Android Objective C for IOS)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 37
copy 2014 IBM Corporation
Sync Cloudant with Informix or DB2
Leverage entire Cloudant implementation ndash
Cloudant Sync on the mobile device and
Cloudant in the cloud
Cloudant is the ldquosync serverrdquo with the
mobile application
Solution to sync data between the
Cloudant server and the IBM data server
would be a ldquohome grownrdquo solution
ndash One option would be to use REST API
to ldquopullrdquo data from Cloudant to DB2 via
stored procedures
ndash Standalone REST API based program
to extract from Cloudant and insert into
Informix
ndash Data exchanged as JSON documents
ndash IBM Data Stage supports JSON and
could be leveraged here
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 38
copy 2014 IBM Corporation 39
Bluemix
Bluemix is an open-standards cloud-based platform offering a
single solution environment with the instant resources and
infrastructure you need to develop and deploy apps across
multiple domains mdash fast
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Run Your Apps
The developer can chose any language
runtime or bring their own Just upload
your code and go
DevOps Development monitoring deployment
and logging tools allow the developer to
run the entire application
APIs and Services A catalog of open source IBM and third
party APIs services allow a developer
to stitch together an application in
minutes
Cloud Integration Build hybrid environments Connect to
on-premises systems of record plus other
public and private clouds Expose your
own APIs to your developers
Big Data Manage your Big Data requirements with
BLU Acceleration Hadoop based
analytics and your sensor and device
Internet of Things data
Introducing Bluemix
A rich set of mobile ready APIs that you can mix and match to power your App
NEW
copy 2014 IBM Corporation
Nodejs includes SDK for data
sync ndash Primary development language
for mobile and server side
scripting Includes templates and
SDK for syncing with the
database in the cloud
Mobile Application Security ndash basic app security framework -
enabling the developer to block
access to apps on specific
devices
Push ndash Create and schedule push
notifications for iOS and Android
devices to engage users when
they arent using the app
Mobile Data ndash SDKs to sync mobile shared data
with the scalable managed
Cloudant database as a service
Mobile Cloud BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 41
copy 2014 IBM Corporation
Node-RED ndash A visual tool for wiring your IoT
app
TimeSeries Database ndash Provides a managed data store
for Internet of Things device data
and enables you to do time series
analysis on that data
InternetOfThings ndash APIs allowing Bluemix
applications to access device
data simply and swiftly
Internet of Things (IoT) BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 42
copy 2014 IBM Corporation
43
Bluemix Mobile Services
Simplify app deployment infrastructure maintenance and improve app quality with cloud services for
mobile Accelerates app development with SDKs for iOS and Android
Push
Create and schedule push notifications for
iOS and Android devices to engage users
when they arenrsquot using the app User
tagging enables the user to select desired
push topics
Twilio Build apps that communicate Integrate
voice messaging and VoIP into your web
and mobile apps
Mobile Application Management Centrally manage app access through a
web based console Control and secure
apps through containerization and control
over the operational lifecycle
Mobile Data Enhance your mobile app with a shared
managed database in the Cloud that can
be accessed using native SDKs for iOS
and Android
Mobile Quality Assurance Instrument apps to capture tester and live-
user experiences including context-aware
crash log and in-app bug reports in-app
user feedback and insightful and
streamlined quality metrics
Cloud Services for Mobile in Minutes
Internet of Things Internet of Things APIs allowing Bluemix
applications to access device data simply
and swiftly Build apps for a smarter planet
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 44
Why Bluemix Mobile Services
bull Simplicity and speed for mobile developers to develop
and deploy a mobile backend to share data and
business logic
bull Native SDKs for Android and iOS make coding intuitive
for mobile app developers
bull Reduced cost of maintenance with fully managed
services
bull Integrated App Quality and App Management capability
bull Integrated platform to extend mobile applications with
enterprise data or to new scenarios such as Web APIs
or Internet of Things
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Mobile Data Service
With the Mobile Data service you can store delete update and query objects that are
stored in the cloud
You can use a REST URL to interrogate the data classes and content that is stored in the
cloud
With the Mobile Cloud Services SDK you can embed a special managed directory in your
application Any files that are stored in this managed directory can be monitored and
synchronized The application can share the contents of this managed directory by
connecting to Mobile Data service with the same application ID and user ID By sharing the
directory contents different instances of an application can have synchronized copies of the
files
You can import JSON or tabular data into Mobile Data service
File Sync is a separate plugin and that can be added to your mobile app
ndash Currenty a last write wins policy when multiple applications are updating the same files
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 45
copy 2014 IBM Corporation
Mobile Device
Mobile Data
Service
Mobile
Data API
Cache (SQLite)
Mobile
App
Bluemix
Mobile
Data Service
JSON
Object
Store
Data
Viewer
Bluemix Architecture for shared system of engagement data
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 46
copy 2014 IBM Corporation
Accessing Data in your Bluemix Database
Accessing data in the SQLDB (DB2) service ndash DB2 APIs ndash MongoDB APIs
Accessing data in the BLUAcceleration (DB2 with BLU Acceleration) service
ndash DB2 JDBC Ruby Nodejs Python and PHP APIs
Accessing data in the TimeSeries Database (Informix) service ndash Informix REST APIs ndash Informix SQLI APIs (JDBC ODBC ESQLC etc) ndash MongoDB APIs
Accessing data in the Cloudant JSONDB service ndash Cloudant REST services
copy 2014 IBM Corporation
Accessing your Enterprise Data from Bluemix
Accessing your on-premises enterprise database from your Bluemix app
would be a custom ldquohome grownrdquo application
All of your Bluemix data is resident in the Bluemix Cloud
Enterprise access would be possible if you want to move your enterprise
data to the SQLDB service (DB2) or TimeSeries Database (Informix)
Or access your on-premises enterprise data using REST or web services
from your Bluemix application
Or perhaps use Bluemix as a development sandbox and then shift to
SoftLayer where your Enterprise environment could be hosted
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 48
copy 2014 IBM Corporation 49
WorkLight
IBM Worklight provides an open comprehensive and advanced mobile
application platform for smartphones and tablets It helps organizations
of all sizes to efficiently develop test connect run and manage mobile
applications (apps)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
IBM Worklight A mobile application platform
Speeding the development integration and management of mobile applications and
infrastructure
Accelerate Development bull Web hybrid and native development open flexible
standard-based multi-screenomni-channel bull Functional testing bull Development lifecycle tools and integration
Facilitate App Security and Trust bull Server-enforced authentication bull App authenticity and user-app-device binding bull Secure and syncable on-device storage bull App version enforcement
Enable User Engagement bull Unified push and SMS notifications bull Geolocation and context collections and intelligence bull Mobile-friendly integration
Support Mobile Analytics bull Efficient acquisition of analytics data bull Development operational and business analytics bull Offline and online event management integration
Best Mobile Development Solution
voted by SIIA members 2013 CODiE Awards
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 50
copy 2014 IBM Corporation
Components of the IBM Worklight Mobile Platform
bullplus Worklight Mobile Test Workbench for automated functional testing
bulland Worklight Analytics Platform for an aggregated view of server and
clientmobile information
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 51
copy 2014 IBM Corporation
Worklight Server Procedures amp Adapters
bull Worklight Server resident procedures perform the interaction between the application and the back end applications bull Procedures are written in Javascript and interact with mobile applications over
HTTP using JSON-formatted data bull Procedures perform the conversions between JSON format and the format
required by the back end application
SQL Adapters are procedures which can be configured to execute parameterized SQL queries and stored procedures in order to retrieve or update data in the database
ndash Worklight SQL adapters for DB2 MySQL and Oracle using JDBC connectivity ndash Additional SQL adapters can be created
Other custom adapters can be developed to interact with other data sources ndash New adapter for Cloudant for example
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 52
copy 2014 IBM Corporation
Worklight Adapters
Connect to enterprise applications and
cloud services
Deliver data to and from mobile
applications
Perform any necessary server-side
logic on this data
Query
Update data
DataResult
as JSON
Invoke adapter
procedure
SQL Cast Iron
Worklight
Response
1
2 3
4
SAP JMS HTTP Cloudant
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 53
copy 2014 IBM Corporation
Worklight Server
SQL Adapters would be required to link your enterprise data store with
your mobile application
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 54
copy 2014 IBM Corporation
Bluemix complements Worklight - enabling enterprise application agility
IBM Codename Bluemix IBM Worklight
+ IBM amp Third Party APIs forhellip
Mobile Web
Devops Big Data amp
Analytics
Inte-
gration
and More
Extend your enterprise mobile app platform investment through
Cloud APIs
In Worklight 62 (June 2014)
bull Worklight ready SDK that can be plugged into your project
bull Lifecycle management controls API access for Bluemix services
bull Worklight security framework integrates with Bluemix SSO
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 55
copy 2014 IBM Corporation
Enterprise Data
and Services
Worklight
Server
Cloud Data and
Services
Adapters
bull Server-side logic in
JavaScript
bull Read-only or Txn
bull Secure and Uniform
access to business
data
Worklight Adapters
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 56
copy 2014 IBM Corporation
Genero Mobile
A integrated platform for the rapid development of rich business applications
taking your application ideas to the desktop web and now to mobile devices
while fulfilling the promise of ldquoWrite Once Run Anywhererdquo
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 57
copy 2014 IBM Corporation
Genero Key features - Write once deploy everywhere
bull Rapid Development of rich business applications
bull Modernize legacy 4th generation language (green screen) apps
bull Desktop web and now mobile applications
bull Developed by IBM Business Partner 4Js
bull Native Dynamic Virtual Machine for mobile platforms (iOSamp Android)
bull Native GUI native performance
bull Connecteddisconnected mode
bull SQLite access on mobile device
bull Server database synchronization with Informix DB2 and other RDBMS
bull UTF-8
bull JSON Web Services RESTful services
bull App store or Over the Air installation
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 58
copy 2014 IBM Corporation
Genero Mobile Options Genero Web Client (GWC)
ndash Application is hosted on back end server
ndash Hosted via Genero Application Server through your web browser
ndash ldquoConnectedrdquo application
Genero Hybrid Client (GHC)
ndash Application runs within HTML5 native container
ndash Some access to local device applications amp data
ndash Hosted via Genero Application Server via web browser
ndash Downloaded via App Stores
Genero Mobile Client (GMC)
ndash 4Js announced GMC at 2013 IIUG conference and in ldquoStatement of Directionrdquo on web site
ndash Native DVM for Android and IOS supporting native user interfaces
ndash True ldquodisconnectedrdquo applications
ndash Apps will be native and can thus be hosted via App Stores (iTunes etc)
ndash Local SQLite database utilized ndash syncing with RDBMS planned
ndash Early Access Program (beta) is currently in progress
ndash General availability in June 2014
59 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Genero Mobile applications Application types
Native Advanced UI actions
Best performance
App store distribution
Hybrid Web developer skills
Native access
App store distribution
HTML5 Web developer skills
Cross platform
Instant updates
Unrestricted distribution
No offline mode
Genero Hybrid Client
Genero Web Client
Genero Mobile Client
4Js announced direction
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 60
copy 2014 IBM Corporation
Native application Mobile browser Native container
Native HTML5 Hybrid
Genero Mobile applications Application types
Hybrid
Mobile browser
HTML5
Native container
Hybrid
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 61
copy 2014 IBM Corporation
Flexible deployment Genero Mobile ndash one source code base 90 market coverage
FUNCTION edit_customer(num)
DEFINE num LIKE customercustomer_num
LET int_flag = FALSE
SELECT INTO customer
FROM customer
WHERE customer_num == num
INPUT BY NAME customer WITHOUT DEFAULTS
ON ACTION zoom INFIELD state
LET customerstate =
statesgetState(customerstate)
DISPLAY BY NAME customerstate
END INPUT
IF NOT int_flag THEN
UPDATE customer SET customer = customer
WHERE customer_num = num
ELSE
SELECT INTO customer
FROM customer
WHERE customer_num == num
DISPLAY BY NAME customer
END IF
END FUNCTION
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 62
copy 2014 IBM Corporation
bull Easy and consistent access to local
applications on IOS and Android
ndash Camera
ndash Contacts
ndash Email
ndash Calendar
ndash GPS
ndash Storage
Flexible deployment Genero Mobile ndash no need to choose Objective bdquoC‟ or Java
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 63
copy 2014 IBM Corporation
bull Native widgets
Genero Mobile Native UI combined with power of Genero
bull Native interactions ndash ex swipe left to
delete
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 64
copy 2014 IBM Corporation
Mobile device
iOSAndroid process
GUI
thread
VM
thread
Disconnected mode Device runs application and stores data offline (on the device)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 65
copy 2014 IBM Corporation
Web server
http
Mobile device
iOSAndroid process
GUI
thread
VM
GAS +
PROXY
Connected mode Device connects to a remote corporate server as an online terminal
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 66
copy 2014 IBM Corporation
Web server
JSON
http
Mobile device
iOSAndroid process
GUI
thread
VM
thread
Data synchronization ndash JSON JSON Web Services ndash offline data capture and sync with a remote database when online
VM
DBMS
SQLite
Web
Service
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 67
copy 2014 IBM Corporation
Summary
Back to our customerrsquos mobile applicationhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 68
copy 2014 IBM Corporation
Our DB2 Customerrsquos Mobile Environment ndash One New Scenario
Possible New Scenario
bull IBM Worklight based solution
bull Native iOS and Android mobile applications
bull Native apps can run in disconnected mode using local device data storage
bull Sync between device data storage and DB2 UDB data repository server using SQL Adapter
bull Native apps access local device resources
bull Enterprise authentication and mobile device management
Worklight
Server
Authentication
SQL Adapter
WebSphere
App Server
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 69
copy 2014 IBM Corporation
On Premises
data center
SoftLayer
Cloudant
REST over HTTP
Tables
Users
CloudSync
bull10000+ Android tablets
bullMobile app using Cloudant SDK
Possible New Scenario
bull New Android tablets
bull Cloudant SDK on the mobile device and CloudSync to sync the devices with the Cloudant server(s)
bull Custom REST based sync program to sync the Cloud-based Cloudant server with the on-premises Informix servers
Informix Customerrsquos Mobile Environment ndash One New Scenario
Sync
program
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 70
copy 2014 IBM Corporation 71
DB2 Tech Talk Informix and DB2 for Internet of Things amp Mobile Apps Next Steps Roadmap
Read about mobile app development and Internet of Things
bull Mobile Development on IBM developerWorks links to BlueMix Worklight Check products and tools tab bitlymobiledevdw
bull Mobile development on ibmcom bitly1h4IWo8
bull Bluemix introduction the next cloud platform bitly1pCXZrM
bull IBM Internet of Things page including Redbooks publication bitly1mOlt8G
bull Genero Mobile www4jscom
bull Dojo Mobile bitly1mOmyxf
Test drive the tools
bull Informix software download bitly1oSBm2y
bull BLU Acceleration for Cloud Open Beta googlAkMm8e
bull DB2 105 trial software Ibmcodb2download
bull Bluemix beta software acengbluemixnet
bull Worklight Developer Edition bitly1x1FSy2
Participate in the conversation
developerWorks answers Internet of Things technical forum
bitlyU9nPqT
Reference
Call IBM to schedule a demo or learn more
bull 1 800 966-9875 (US)
bull 1-888-746-7426 (Canada)
bull 1800-425-3333 (India)
bull Or visit httpwwwibmcomplanetwide for contact information worldwide
IBM DB2 105 product page
Ibmcomdb2
IBM DB2 105 Product features
ibmco12c1PJz
IBM Data Studio product page
Ibmcoibmdsinfo
Tech forum on developerWorks
bitlydb2forumluw
SQL Tips Blog
wwwsqltips4db2com
Step Three
Step Two
Step One
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 72
Upcoming Tech Talks Don‟t miss these in-depth DB2 feature talks
Dates and topics subject to change and modification
How to register
DB2 Tech Talks web site
Next DB2 Tech Talk DB2 with BLU Acceleration for SAP
bull July 17 2014 at 1230 PM
bull Guersad kuecuek Technical Specialist
DB2 and SAP in Europe
bull Registration bitlytt2014jul
bullIDUG DB2 Tech Conference Austrailasia
bull Sydney
bull September 10 ndash 12 2014
bull wwwidugorg
bullIBM Insight 2014
former Information on Demand Conference
bull Las Vegas NV
bull October 26 ndash 30 2014
bull bitlyibminsight2014
bullIDUG DB2 Tech Conference EMEA
bull Prague Czech Republic
bull November 9 ndash 14 2014
bull wwwidugorg
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Learn engage and get social new DB2 with BLU Acceleration microsite
wwwibmBLUhubcom
DB2 with BLU Acceleration is for
reporting ndash Fast and simple way to respond to
continual reporting requests
ndash No tuning no tweaking
ndash Gets you back to high-value
projects
BLU Acceleration hub contains ndash Technical information and
ldquoinformation for your bossrdquo
ndash Access to the social conversation
ndash Links to software trial and BLU
Acceleration for Cloud
And more Check it out
73 Need webcast troubleshooting help Click attachments
Need webcast troubleshooting help Click attachments
BLU ndash Cognos Demo bitlydemoblu-cognos
copy 2014 IBM Corporation 74
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 75
Questions
Listening in replay
Questions wwwsqltips4db2com
Click submit a question
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 76
Thanks for attending
Please rate the session
Presentation download bitlyttfilemay14
click Attachments in this webcast environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Devices create and require time series
Virtually every IoT device doing real stuff in the real world creates a time series ndash Deploy and configure device (location owner capabilities) metadata NoSQL ndash Take readings (temperature power humidity) time series ndash Trigger events (lights ON place call sound alarm) time series
Time series stored in relational or JSON is unnatural ndash frequent updates ndash new reading = new row in table ndash access is not sequential
TimeSeries data model support helps IoT ndash storage space ndash performance
ID Time Value
1 1000 66
2 1000 20
1 1005 75
5 1010 12
Relational table
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 17
copy 2014 IBM Corporation
Informix Time Series Approach
Device_ID Series
1 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
2 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
3 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
4 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
hellip hellip
Time series storage
bull Each row contains all the data for a single device data append to end of the row
bull Data is not indexed only the device ID column is indexed
bull Data on disk is clustered by device id and kept ordered by time
bull Device IDs stored once rather than with every record
bull Timestamps are not stored on disk instead are calculated by position in series
bull Missing intervals are marked with a placeholder
eg Hildebrand 3 million customers a
reading every six seconds 50k insertss
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 18
copy 2014 IBM Corporation
IBM Products used in IoT Solutions
Collection of data for all sensors
Data from other kinds of
sensors
Consumer Business
Sensors in the home
TimeSeries Service
NoSQL Relational Timeseries amp Spatial storage amp analytics
Acceleration Technology
BLU IWA
SPSSCognos
MessageSight MQTT
SoftLayer BlueMix
BigInsights
Gateways for local analytics
Infosphere Streams
(no gateway)
In-memory analytics
Predictive analytics and dashboard
Cloud infrastructure
Hadoop
Publish Subscribe
Real-time analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 19
copy 2014 IBM Corporation
Developed by business partners Shaspa Tatung and ST-Micro ndash Runs on ARM v7 and Intel Quark chip sets ndash 512MB to 1GB of memory ndash 1GB to 4GB of storage ndash WirelessBluetooth receiver
ndash 3 inch by 2 inch form factor
Software components in SmartGate
ndash Informix enterprise edition
ndash Webserver
ndash Debian Linux
ndash Connectivity to the TimeSeries cloud service
ndash Support for common device communication protocols including
bull Enocean KNX Modbus CANOpen Zigbee ZWave DALI MBus SNMP MPBus
Priced around $100
20
Shasparsquos SmartGate Gateway example of edge device for IoT
Informix Database
Inside
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 20
copy 2014 IBM Corporation
Why use a gateway for local analytics
1 Gateways can reduce the cost of the backend cloud
bull Reduces cloud storage by filteringaggregatinganalyzing data locally
bull Reduces cloud CPU requirements by pre-computing values
2 Reduces latency since actions can be taken immediately
bull Intelligent gateways can detect and respond to local events as they happen rather than waiting for transfer to the cloud
3 Many users are not comfortable putting their data in the cloud
bull Gateways allow customers to capture and get value from their sensors without sending data to the cloud
Over time more and more of the processing will move from the cloud to edge (gateway) devices
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 21
copy 2014 IBM Corporation
IBM Internet of Things analytics in the cloud
Analyze
Gateway Local Analytics
Analytics
Analyze other than the time
dimension
Aggregate and join across
data types and attributes
Millions of devices
System of record existing
mountains of data
Database in the cloud
Gateway Local Analytics
Gateways Local Analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 22
copy 2014 IBM Corporation 23
Where we are coming fromhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
A DB2 Customerrsquos Mobile Environment
Web
Server
Current Scenario
bull Simple ldquohome grownrdquo app outgrew its initial purpose and requirements
bull Connected Web application serving hundreds of sales associates
bull Access mostly via smart phone browser but also via laptop browser
bull PHP application
bull DB2 UDB data repository
New Requirements
bull Disconnected Mode
bull Access to local device address book calendar etc
bull Better authentication
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
24
copy 2014 IBM Corporation
DB2
Everyplace
Web
Sphere
JDBC
Replication Tables
Users XML
Sync
3500PDAs Windows mobile 61 and 65 running on PSIONPITION MOTOROLAHTCSANSUMGHHP
Windows Server
Quad Core
04Gb RAM
32Bits Current Scenario
bull DB2E is handling 3500 PDAs
bull DB2 Everyplace to connect field technicians to Informix database with service request data dispatching service orders to mobile users who are equipped with handheld devices improving responsiveness to service outages
bull Currently using Windows mobile 61 and 65 running on PSIONPITION MOTOROLA HTC SAMSUNG and HHP devices
bull Developed home-grown applications using NET
bull Some devices sync online and others offline
Another Customerrsquos Mobile Environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 25
copy 2014 IBM Corporation 26
Cloud and Mobile Applications
Experimental in nature
- Require rapid iteration
- Faster time to market
- May be decommissioned quickly ndash need
environments in minutes versus days or weeks
Are written in multiple languages
- Web JavaScript Ruby Java PHP
- Mobile iOS Android Hybrid
Composed of Services
- Build using a composition model of stitching
capabilities together
- Capabilities often require time to test in app
beyond the scope of a free trial
Integrate with existing systems
- Data is often located in multiple places (public
private traditional data center)
- Existing systems may not scale at the same the
level of cloud applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
WriteUpdate
System Of Record
bull Cloudant JSONDB
bull Mobile Data Services (Bluemix)
bull Integration Services
- Cast IronDataStage
Mobile Data Synchronization Landscape
System Of Record
Enterprise
Data Store (Informix DB2)
bull On Device data persistence (SQLite)
bull Data Sync between devices and to Cloudant
data store
bull UpdateWrite to System Of Record through
the front door (Using Enterprise app APIs)
bull Using Cloudant SDK on device
System Of Engagement
Enterprise App
APIs
Cast Iron
DataStage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 27
copy 2014 IBM Corporation 28
Dojo Mobile Toolkit
The Dojo Mobile toolkit is a powerful JavaScript framework
that provides all of the building blocks required to develop
lightweight high-performance mobile web applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Dojo Mobile Toolkit
One of the choices in the busy HTML5 amp CSS3 category
Mobile toolkit extends the existing Dojo toolkit to deal with
ndash Input device differences
ndash Smaller screen sizes
ndash Reduced processing power and footprint requirements of mobile devices
Excellent option for mobile apps where connectivity is consistent
Database connectivity is standard PHP database driver
Easy to enforce consistency across screens and applications with style sheets
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 29
copy 2014 IBM Corporation
Photo Share demo built using IBM Dojo Mobile Toolkit
Hosted via Softlayer nosqldemocom
Built for IOD 2013 to demonstrate Informix
hybrid (JSON relational and time series)
application support
PHP app using the MongoDB PHP driver for
connectivity to the Informix database
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 30
copy 2014 IBM Corporation 31
Cloudant
A distributed database as a service (DBaaS) allowing
developers of fast-growing web and mobile apps to focus on
building and improving their products instead of worrying
about scaling and managing databases on their own
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Cloudant Overview
ndash Operational JSON data store
ndash RESTful CouchDB API
ndash Advanced APIs
bull Replication amp Sync
bull Lucene Full-text Search
bull Geo-spatial
bull Incremental MapReduce
ndash Scalable Highly Available Performance
bull Cross-data center data distribution amp fail over
bull Geo load balancing
ndash Multi-tenant and dedicated-tenant clusters
ndash Monitoring administration amp development dashboards
ndash Managed 24x7 by big data experts
ndash Available in Rackspace IBMSoftLayer and AWS datacenters
32 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 3
bull Store data on the server
andor the local device
bull Native libraries support
synchronization process
and local storage
management
bull Synchronize data
between devices by
replicating data from
Cloudant
Store and Access Data Everywhere
Local
Storage
Local
Storage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 33
copy 2014 IBM Corporation 4
Putting Data at the Edge
bull Geographically disperse your data across multiple data centers
to allow for easy access depending on location
bull Ability to store data across 35 geographic locations
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 34
copy 2014 IBM Corporation 5
Local
Storage
bull Restored connection will
sync the data with the
server and other devices
connected to same source
bull Data redundancy across
data centers
Always Onhellip
bull Readwrite from local
storage when connection is
unavailable
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 35
copy 2014 IBM Corporation 7
Based on Open Industry Standardshellip
JSON Cloudant
HTTP HTTP
HTTP
bull Any device using HTTP and JSON can interact with Cloudant
HTTP
HTTP
HTTP
JSON
JSON
JSON
JSON
JSON
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 36
copy 2014 IBM Corporation
Cloudant Sync
Available for Android and IOS
Solution leverages devicersquos on-board
SQLite database for persistence
ndash Cloudant defines indexing scheme for
optimizing use of relational SQLite DB
with applicationrsquos JSON storage
requirements
Multi version concurrency control
Replication to the Cloudant server in the
cloud via HTTP
Mobile application does include and
interact with Cloudant SDK software which
resides on the device
ndash Cloudant Code is native (Java for
Android Objective C for IOS)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 37
copy 2014 IBM Corporation
Sync Cloudant with Informix or DB2
Leverage entire Cloudant implementation ndash
Cloudant Sync on the mobile device and
Cloudant in the cloud
Cloudant is the ldquosync serverrdquo with the
mobile application
Solution to sync data between the
Cloudant server and the IBM data server
would be a ldquohome grownrdquo solution
ndash One option would be to use REST API
to ldquopullrdquo data from Cloudant to DB2 via
stored procedures
ndash Standalone REST API based program
to extract from Cloudant and insert into
Informix
ndash Data exchanged as JSON documents
ndash IBM Data Stage supports JSON and
could be leveraged here
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 38
copy 2014 IBM Corporation 39
Bluemix
Bluemix is an open-standards cloud-based platform offering a
single solution environment with the instant resources and
infrastructure you need to develop and deploy apps across
multiple domains mdash fast
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Run Your Apps
The developer can chose any language
runtime or bring their own Just upload
your code and go
DevOps Development monitoring deployment
and logging tools allow the developer to
run the entire application
APIs and Services A catalog of open source IBM and third
party APIs services allow a developer
to stitch together an application in
minutes
Cloud Integration Build hybrid environments Connect to
on-premises systems of record plus other
public and private clouds Expose your
own APIs to your developers
Big Data Manage your Big Data requirements with
BLU Acceleration Hadoop based
analytics and your sensor and device
Internet of Things data
Introducing Bluemix
A rich set of mobile ready APIs that you can mix and match to power your App
NEW
copy 2014 IBM Corporation
Nodejs includes SDK for data
sync ndash Primary development language
for mobile and server side
scripting Includes templates and
SDK for syncing with the
database in the cloud
Mobile Application Security ndash basic app security framework -
enabling the developer to block
access to apps on specific
devices
Push ndash Create and schedule push
notifications for iOS and Android
devices to engage users when
they arent using the app
Mobile Data ndash SDKs to sync mobile shared data
with the scalable managed
Cloudant database as a service
Mobile Cloud BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 41
copy 2014 IBM Corporation
Node-RED ndash A visual tool for wiring your IoT
app
TimeSeries Database ndash Provides a managed data store
for Internet of Things device data
and enables you to do time series
analysis on that data
InternetOfThings ndash APIs allowing Bluemix
applications to access device
data simply and swiftly
Internet of Things (IoT) BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 42
copy 2014 IBM Corporation
43
Bluemix Mobile Services
Simplify app deployment infrastructure maintenance and improve app quality with cloud services for
mobile Accelerates app development with SDKs for iOS and Android
Push
Create and schedule push notifications for
iOS and Android devices to engage users
when they arenrsquot using the app User
tagging enables the user to select desired
push topics
Twilio Build apps that communicate Integrate
voice messaging and VoIP into your web
and mobile apps
Mobile Application Management Centrally manage app access through a
web based console Control and secure
apps through containerization and control
over the operational lifecycle
Mobile Data Enhance your mobile app with a shared
managed database in the Cloud that can
be accessed using native SDKs for iOS
and Android
Mobile Quality Assurance Instrument apps to capture tester and live-
user experiences including context-aware
crash log and in-app bug reports in-app
user feedback and insightful and
streamlined quality metrics
Cloud Services for Mobile in Minutes
Internet of Things Internet of Things APIs allowing Bluemix
applications to access device data simply
and swiftly Build apps for a smarter planet
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 44
Why Bluemix Mobile Services
bull Simplicity and speed for mobile developers to develop
and deploy a mobile backend to share data and
business logic
bull Native SDKs for Android and iOS make coding intuitive
for mobile app developers
bull Reduced cost of maintenance with fully managed
services
bull Integrated App Quality and App Management capability
bull Integrated platform to extend mobile applications with
enterprise data or to new scenarios such as Web APIs
or Internet of Things
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Mobile Data Service
With the Mobile Data service you can store delete update and query objects that are
stored in the cloud
You can use a REST URL to interrogate the data classes and content that is stored in the
cloud
With the Mobile Cloud Services SDK you can embed a special managed directory in your
application Any files that are stored in this managed directory can be monitored and
synchronized The application can share the contents of this managed directory by
connecting to Mobile Data service with the same application ID and user ID By sharing the
directory contents different instances of an application can have synchronized copies of the
files
You can import JSON or tabular data into Mobile Data service
File Sync is a separate plugin and that can be added to your mobile app
ndash Currenty a last write wins policy when multiple applications are updating the same files
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 45
copy 2014 IBM Corporation
Mobile Device
Mobile Data
Service
Mobile
Data API
Cache (SQLite)
Mobile
App
Bluemix
Mobile
Data Service
JSON
Object
Store
Data
Viewer
Bluemix Architecture for shared system of engagement data
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 46
copy 2014 IBM Corporation
Accessing Data in your Bluemix Database
Accessing data in the SQLDB (DB2) service ndash DB2 APIs ndash MongoDB APIs
Accessing data in the BLUAcceleration (DB2 with BLU Acceleration) service
ndash DB2 JDBC Ruby Nodejs Python and PHP APIs
Accessing data in the TimeSeries Database (Informix) service ndash Informix REST APIs ndash Informix SQLI APIs (JDBC ODBC ESQLC etc) ndash MongoDB APIs
Accessing data in the Cloudant JSONDB service ndash Cloudant REST services
copy 2014 IBM Corporation
Accessing your Enterprise Data from Bluemix
Accessing your on-premises enterprise database from your Bluemix app
would be a custom ldquohome grownrdquo application
All of your Bluemix data is resident in the Bluemix Cloud
Enterprise access would be possible if you want to move your enterprise
data to the SQLDB service (DB2) or TimeSeries Database (Informix)
Or access your on-premises enterprise data using REST or web services
from your Bluemix application
Or perhaps use Bluemix as a development sandbox and then shift to
SoftLayer where your Enterprise environment could be hosted
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 48
copy 2014 IBM Corporation 49
WorkLight
IBM Worklight provides an open comprehensive and advanced mobile
application platform for smartphones and tablets It helps organizations
of all sizes to efficiently develop test connect run and manage mobile
applications (apps)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
IBM Worklight A mobile application platform
Speeding the development integration and management of mobile applications and
infrastructure
Accelerate Development bull Web hybrid and native development open flexible
standard-based multi-screenomni-channel bull Functional testing bull Development lifecycle tools and integration
Facilitate App Security and Trust bull Server-enforced authentication bull App authenticity and user-app-device binding bull Secure and syncable on-device storage bull App version enforcement
Enable User Engagement bull Unified push and SMS notifications bull Geolocation and context collections and intelligence bull Mobile-friendly integration
Support Mobile Analytics bull Efficient acquisition of analytics data bull Development operational and business analytics bull Offline and online event management integration
Best Mobile Development Solution
voted by SIIA members 2013 CODiE Awards
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 50
copy 2014 IBM Corporation
Components of the IBM Worklight Mobile Platform
bullplus Worklight Mobile Test Workbench for automated functional testing
bulland Worklight Analytics Platform for an aggregated view of server and
clientmobile information
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 51
copy 2014 IBM Corporation
Worklight Server Procedures amp Adapters
bull Worklight Server resident procedures perform the interaction between the application and the back end applications bull Procedures are written in Javascript and interact with mobile applications over
HTTP using JSON-formatted data bull Procedures perform the conversions between JSON format and the format
required by the back end application
SQL Adapters are procedures which can be configured to execute parameterized SQL queries and stored procedures in order to retrieve or update data in the database
ndash Worklight SQL adapters for DB2 MySQL and Oracle using JDBC connectivity ndash Additional SQL adapters can be created
Other custom adapters can be developed to interact with other data sources ndash New adapter for Cloudant for example
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 52
copy 2014 IBM Corporation
Worklight Adapters
Connect to enterprise applications and
cloud services
Deliver data to and from mobile
applications
Perform any necessary server-side
logic on this data
Query
Update data
DataResult
as JSON
Invoke adapter
procedure
SQL Cast Iron
Worklight
Response
1
2 3
4
SAP JMS HTTP Cloudant
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 53
copy 2014 IBM Corporation
Worklight Server
SQL Adapters would be required to link your enterprise data store with
your mobile application
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 54
copy 2014 IBM Corporation
Bluemix complements Worklight - enabling enterprise application agility
IBM Codename Bluemix IBM Worklight
+ IBM amp Third Party APIs forhellip
Mobile Web
Devops Big Data amp
Analytics
Inte-
gration
and More
Extend your enterprise mobile app platform investment through
Cloud APIs
In Worklight 62 (June 2014)
bull Worklight ready SDK that can be plugged into your project
bull Lifecycle management controls API access for Bluemix services
bull Worklight security framework integrates with Bluemix SSO
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 55
copy 2014 IBM Corporation
Enterprise Data
and Services
Worklight
Server
Cloud Data and
Services
Adapters
bull Server-side logic in
JavaScript
bull Read-only or Txn
bull Secure and Uniform
access to business
data
Worklight Adapters
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 56
copy 2014 IBM Corporation
Genero Mobile
A integrated platform for the rapid development of rich business applications
taking your application ideas to the desktop web and now to mobile devices
while fulfilling the promise of ldquoWrite Once Run Anywhererdquo
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 57
copy 2014 IBM Corporation
Genero Key features - Write once deploy everywhere
bull Rapid Development of rich business applications
bull Modernize legacy 4th generation language (green screen) apps
bull Desktop web and now mobile applications
bull Developed by IBM Business Partner 4Js
bull Native Dynamic Virtual Machine for mobile platforms (iOSamp Android)
bull Native GUI native performance
bull Connecteddisconnected mode
bull SQLite access on mobile device
bull Server database synchronization with Informix DB2 and other RDBMS
bull UTF-8
bull JSON Web Services RESTful services
bull App store or Over the Air installation
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 58
copy 2014 IBM Corporation
Genero Mobile Options Genero Web Client (GWC)
ndash Application is hosted on back end server
ndash Hosted via Genero Application Server through your web browser
ndash ldquoConnectedrdquo application
Genero Hybrid Client (GHC)
ndash Application runs within HTML5 native container
ndash Some access to local device applications amp data
ndash Hosted via Genero Application Server via web browser
ndash Downloaded via App Stores
Genero Mobile Client (GMC)
ndash 4Js announced GMC at 2013 IIUG conference and in ldquoStatement of Directionrdquo on web site
ndash Native DVM for Android and IOS supporting native user interfaces
ndash True ldquodisconnectedrdquo applications
ndash Apps will be native and can thus be hosted via App Stores (iTunes etc)
ndash Local SQLite database utilized ndash syncing with RDBMS planned
ndash Early Access Program (beta) is currently in progress
ndash General availability in June 2014
59 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Genero Mobile applications Application types
Native Advanced UI actions
Best performance
App store distribution
Hybrid Web developer skills
Native access
App store distribution
HTML5 Web developer skills
Cross platform
Instant updates
Unrestricted distribution
No offline mode
Genero Hybrid Client
Genero Web Client
Genero Mobile Client
4Js announced direction
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 60
copy 2014 IBM Corporation
Native application Mobile browser Native container
Native HTML5 Hybrid
Genero Mobile applications Application types
Hybrid
Mobile browser
HTML5
Native container
Hybrid
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 61
copy 2014 IBM Corporation
Flexible deployment Genero Mobile ndash one source code base 90 market coverage
FUNCTION edit_customer(num)
DEFINE num LIKE customercustomer_num
LET int_flag = FALSE
SELECT INTO customer
FROM customer
WHERE customer_num == num
INPUT BY NAME customer WITHOUT DEFAULTS
ON ACTION zoom INFIELD state
LET customerstate =
statesgetState(customerstate)
DISPLAY BY NAME customerstate
END INPUT
IF NOT int_flag THEN
UPDATE customer SET customer = customer
WHERE customer_num = num
ELSE
SELECT INTO customer
FROM customer
WHERE customer_num == num
DISPLAY BY NAME customer
END IF
END FUNCTION
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 62
copy 2014 IBM Corporation
bull Easy and consistent access to local
applications on IOS and Android
ndash Camera
ndash Contacts
ndash Email
ndash Calendar
ndash GPS
ndash Storage
Flexible deployment Genero Mobile ndash no need to choose Objective bdquoC‟ or Java
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 63
copy 2014 IBM Corporation
bull Native widgets
Genero Mobile Native UI combined with power of Genero
bull Native interactions ndash ex swipe left to
delete
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 64
copy 2014 IBM Corporation
Mobile device
iOSAndroid process
GUI
thread
VM
thread
Disconnected mode Device runs application and stores data offline (on the device)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 65
copy 2014 IBM Corporation
Web server
http
Mobile device
iOSAndroid process
GUI
thread
VM
GAS +
PROXY
Connected mode Device connects to a remote corporate server as an online terminal
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 66
copy 2014 IBM Corporation
Web server
JSON
http
Mobile device
iOSAndroid process
GUI
thread
VM
thread
Data synchronization ndash JSON JSON Web Services ndash offline data capture and sync with a remote database when online
VM
DBMS
SQLite
Web
Service
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 67
copy 2014 IBM Corporation
Summary
Back to our customerrsquos mobile applicationhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 68
copy 2014 IBM Corporation
Our DB2 Customerrsquos Mobile Environment ndash One New Scenario
Possible New Scenario
bull IBM Worklight based solution
bull Native iOS and Android mobile applications
bull Native apps can run in disconnected mode using local device data storage
bull Sync between device data storage and DB2 UDB data repository server using SQL Adapter
bull Native apps access local device resources
bull Enterprise authentication and mobile device management
Worklight
Server
Authentication
SQL Adapter
WebSphere
App Server
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 69
copy 2014 IBM Corporation
On Premises
data center
SoftLayer
Cloudant
REST over HTTP
Tables
Users
CloudSync
bull10000+ Android tablets
bullMobile app using Cloudant SDK
Possible New Scenario
bull New Android tablets
bull Cloudant SDK on the mobile device and CloudSync to sync the devices with the Cloudant server(s)
bull Custom REST based sync program to sync the Cloud-based Cloudant server with the on-premises Informix servers
Informix Customerrsquos Mobile Environment ndash One New Scenario
Sync
program
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 70
copy 2014 IBM Corporation 71
DB2 Tech Talk Informix and DB2 for Internet of Things amp Mobile Apps Next Steps Roadmap
Read about mobile app development and Internet of Things
bull Mobile Development on IBM developerWorks links to BlueMix Worklight Check products and tools tab bitlymobiledevdw
bull Mobile development on ibmcom bitly1h4IWo8
bull Bluemix introduction the next cloud platform bitly1pCXZrM
bull IBM Internet of Things page including Redbooks publication bitly1mOlt8G
bull Genero Mobile www4jscom
bull Dojo Mobile bitly1mOmyxf
Test drive the tools
bull Informix software download bitly1oSBm2y
bull BLU Acceleration for Cloud Open Beta googlAkMm8e
bull DB2 105 trial software Ibmcodb2download
bull Bluemix beta software acengbluemixnet
bull Worklight Developer Edition bitly1x1FSy2
Participate in the conversation
developerWorks answers Internet of Things technical forum
bitlyU9nPqT
Reference
Call IBM to schedule a demo or learn more
bull 1 800 966-9875 (US)
bull 1-888-746-7426 (Canada)
bull 1800-425-3333 (India)
bull Or visit httpwwwibmcomplanetwide for contact information worldwide
IBM DB2 105 product page
Ibmcomdb2
IBM DB2 105 Product features
ibmco12c1PJz
IBM Data Studio product page
Ibmcoibmdsinfo
Tech forum on developerWorks
bitlydb2forumluw
SQL Tips Blog
wwwsqltips4db2com
Step Three
Step Two
Step One
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 72
Upcoming Tech Talks Don‟t miss these in-depth DB2 feature talks
Dates and topics subject to change and modification
How to register
DB2 Tech Talks web site
Next DB2 Tech Talk DB2 with BLU Acceleration for SAP
bull July 17 2014 at 1230 PM
bull Guersad kuecuek Technical Specialist
DB2 and SAP in Europe
bull Registration bitlytt2014jul
bullIDUG DB2 Tech Conference Austrailasia
bull Sydney
bull September 10 ndash 12 2014
bull wwwidugorg
bullIBM Insight 2014
former Information on Demand Conference
bull Las Vegas NV
bull October 26 ndash 30 2014
bull bitlyibminsight2014
bullIDUG DB2 Tech Conference EMEA
bull Prague Czech Republic
bull November 9 ndash 14 2014
bull wwwidugorg
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Learn engage and get social new DB2 with BLU Acceleration microsite
wwwibmBLUhubcom
DB2 with BLU Acceleration is for
reporting ndash Fast and simple way to respond to
continual reporting requests
ndash No tuning no tweaking
ndash Gets you back to high-value
projects
BLU Acceleration hub contains ndash Technical information and
ldquoinformation for your bossrdquo
ndash Access to the social conversation
ndash Links to software trial and BLU
Acceleration for Cloud
And more Check it out
73 Need webcast troubleshooting help Click attachments
Need webcast troubleshooting help Click attachments
BLU ndash Cognos Demo bitlydemoblu-cognos
copy 2014 IBM Corporation 74
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 75
Questions
Listening in replay
Questions wwwsqltips4db2com
Click submit a question
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 76
Thanks for attending
Please rate the session
Presentation download bitlyttfilemay14
click Attachments in this webcast environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Informix Time Series Approach
Device_ID Series
1 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
2 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
3 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
4 [(1-1-11 1200 value 1 value 2hellip value N) (1-1-11 1215 value 1 value 2 hellip value N) hellip]
hellip hellip
Time series storage
bull Each row contains all the data for a single device data append to end of the row
bull Data is not indexed only the device ID column is indexed
bull Data on disk is clustered by device id and kept ordered by time
bull Device IDs stored once rather than with every record
bull Timestamps are not stored on disk instead are calculated by position in series
bull Missing intervals are marked with a placeholder
eg Hildebrand 3 million customers a
reading every six seconds 50k insertss
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 18
copy 2014 IBM Corporation
IBM Products used in IoT Solutions
Collection of data for all sensors
Data from other kinds of
sensors
Consumer Business
Sensors in the home
TimeSeries Service
NoSQL Relational Timeseries amp Spatial storage amp analytics
Acceleration Technology
BLU IWA
SPSSCognos
MessageSight MQTT
SoftLayer BlueMix
BigInsights
Gateways for local analytics
Infosphere Streams
(no gateway)
In-memory analytics
Predictive analytics and dashboard
Cloud infrastructure
Hadoop
Publish Subscribe
Real-time analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 19
copy 2014 IBM Corporation
Developed by business partners Shaspa Tatung and ST-Micro ndash Runs on ARM v7 and Intel Quark chip sets ndash 512MB to 1GB of memory ndash 1GB to 4GB of storage ndash WirelessBluetooth receiver
ndash 3 inch by 2 inch form factor
Software components in SmartGate
ndash Informix enterprise edition
ndash Webserver
ndash Debian Linux
ndash Connectivity to the TimeSeries cloud service
ndash Support for common device communication protocols including
bull Enocean KNX Modbus CANOpen Zigbee ZWave DALI MBus SNMP MPBus
Priced around $100
20
Shasparsquos SmartGate Gateway example of edge device for IoT
Informix Database
Inside
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 20
copy 2014 IBM Corporation
Why use a gateway for local analytics
1 Gateways can reduce the cost of the backend cloud
bull Reduces cloud storage by filteringaggregatinganalyzing data locally
bull Reduces cloud CPU requirements by pre-computing values
2 Reduces latency since actions can be taken immediately
bull Intelligent gateways can detect and respond to local events as they happen rather than waiting for transfer to the cloud
3 Many users are not comfortable putting their data in the cloud
bull Gateways allow customers to capture and get value from their sensors without sending data to the cloud
Over time more and more of the processing will move from the cloud to edge (gateway) devices
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 21
copy 2014 IBM Corporation
IBM Internet of Things analytics in the cloud
Analyze
Gateway Local Analytics
Analytics
Analyze other than the time
dimension
Aggregate and join across
data types and attributes
Millions of devices
System of record existing
mountains of data
Database in the cloud
Gateway Local Analytics
Gateways Local Analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 22
copy 2014 IBM Corporation 23
Where we are coming fromhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
A DB2 Customerrsquos Mobile Environment
Web
Server
Current Scenario
bull Simple ldquohome grownrdquo app outgrew its initial purpose and requirements
bull Connected Web application serving hundreds of sales associates
bull Access mostly via smart phone browser but also via laptop browser
bull PHP application
bull DB2 UDB data repository
New Requirements
bull Disconnected Mode
bull Access to local device address book calendar etc
bull Better authentication
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
24
copy 2014 IBM Corporation
DB2
Everyplace
Web
Sphere
JDBC
Replication Tables
Users XML
Sync
3500PDAs Windows mobile 61 and 65 running on PSIONPITION MOTOROLAHTCSANSUMGHHP
Windows Server
Quad Core
04Gb RAM
32Bits Current Scenario
bull DB2E is handling 3500 PDAs
bull DB2 Everyplace to connect field technicians to Informix database with service request data dispatching service orders to mobile users who are equipped with handheld devices improving responsiveness to service outages
bull Currently using Windows mobile 61 and 65 running on PSIONPITION MOTOROLA HTC SAMSUNG and HHP devices
bull Developed home-grown applications using NET
bull Some devices sync online and others offline
Another Customerrsquos Mobile Environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 25
copy 2014 IBM Corporation 26
Cloud and Mobile Applications
Experimental in nature
- Require rapid iteration
- Faster time to market
- May be decommissioned quickly ndash need
environments in minutes versus days or weeks
Are written in multiple languages
- Web JavaScript Ruby Java PHP
- Mobile iOS Android Hybrid
Composed of Services
- Build using a composition model of stitching
capabilities together
- Capabilities often require time to test in app
beyond the scope of a free trial
Integrate with existing systems
- Data is often located in multiple places (public
private traditional data center)
- Existing systems may not scale at the same the
level of cloud applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
WriteUpdate
System Of Record
bull Cloudant JSONDB
bull Mobile Data Services (Bluemix)
bull Integration Services
- Cast IronDataStage
Mobile Data Synchronization Landscape
System Of Record
Enterprise
Data Store (Informix DB2)
bull On Device data persistence (SQLite)
bull Data Sync between devices and to Cloudant
data store
bull UpdateWrite to System Of Record through
the front door (Using Enterprise app APIs)
bull Using Cloudant SDK on device
System Of Engagement
Enterprise App
APIs
Cast Iron
DataStage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 27
copy 2014 IBM Corporation 28
Dojo Mobile Toolkit
The Dojo Mobile toolkit is a powerful JavaScript framework
that provides all of the building blocks required to develop
lightweight high-performance mobile web applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Dojo Mobile Toolkit
One of the choices in the busy HTML5 amp CSS3 category
Mobile toolkit extends the existing Dojo toolkit to deal with
ndash Input device differences
ndash Smaller screen sizes
ndash Reduced processing power and footprint requirements of mobile devices
Excellent option for mobile apps where connectivity is consistent
Database connectivity is standard PHP database driver
Easy to enforce consistency across screens and applications with style sheets
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 29
copy 2014 IBM Corporation
Photo Share demo built using IBM Dojo Mobile Toolkit
Hosted via Softlayer nosqldemocom
Built for IOD 2013 to demonstrate Informix
hybrid (JSON relational and time series)
application support
PHP app using the MongoDB PHP driver for
connectivity to the Informix database
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 30
copy 2014 IBM Corporation 31
Cloudant
A distributed database as a service (DBaaS) allowing
developers of fast-growing web and mobile apps to focus on
building and improving their products instead of worrying
about scaling and managing databases on their own
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Cloudant Overview
ndash Operational JSON data store
ndash RESTful CouchDB API
ndash Advanced APIs
bull Replication amp Sync
bull Lucene Full-text Search
bull Geo-spatial
bull Incremental MapReduce
ndash Scalable Highly Available Performance
bull Cross-data center data distribution amp fail over
bull Geo load balancing
ndash Multi-tenant and dedicated-tenant clusters
ndash Monitoring administration amp development dashboards
ndash Managed 24x7 by big data experts
ndash Available in Rackspace IBMSoftLayer and AWS datacenters
32 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 3
bull Store data on the server
andor the local device
bull Native libraries support
synchronization process
and local storage
management
bull Synchronize data
between devices by
replicating data from
Cloudant
Store and Access Data Everywhere
Local
Storage
Local
Storage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 33
copy 2014 IBM Corporation 4
Putting Data at the Edge
bull Geographically disperse your data across multiple data centers
to allow for easy access depending on location
bull Ability to store data across 35 geographic locations
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 34
copy 2014 IBM Corporation 5
Local
Storage
bull Restored connection will
sync the data with the
server and other devices
connected to same source
bull Data redundancy across
data centers
Always Onhellip
bull Readwrite from local
storage when connection is
unavailable
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 35
copy 2014 IBM Corporation 7
Based on Open Industry Standardshellip
JSON Cloudant
HTTP HTTP
HTTP
bull Any device using HTTP and JSON can interact with Cloudant
HTTP
HTTP
HTTP
JSON
JSON
JSON
JSON
JSON
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 36
copy 2014 IBM Corporation
Cloudant Sync
Available for Android and IOS
Solution leverages devicersquos on-board
SQLite database for persistence
ndash Cloudant defines indexing scheme for
optimizing use of relational SQLite DB
with applicationrsquos JSON storage
requirements
Multi version concurrency control
Replication to the Cloudant server in the
cloud via HTTP
Mobile application does include and
interact with Cloudant SDK software which
resides on the device
ndash Cloudant Code is native (Java for
Android Objective C for IOS)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 37
copy 2014 IBM Corporation
Sync Cloudant with Informix or DB2
Leverage entire Cloudant implementation ndash
Cloudant Sync on the mobile device and
Cloudant in the cloud
Cloudant is the ldquosync serverrdquo with the
mobile application
Solution to sync data between the
Cloudant server and the IBM data server
would be a ldquohome grownrdquo solution
ndash One option would be to use REST API
to ldquopullrdquo data from Cloudant to DB2 via
stored procedures
ndash Standalone REST API based program
to extract from Cloudant and insert into
Informix
ndash Data exchanged as JSON documents
ndash IBM Data Stage supports JSON and
could be leveraged here
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 38
copy 2014 IBM Corporation 39
Bluemix
Bluemix is an open-standards cloud-based platform offering a
single solution environment with the instant resources and
infrastructure you need to develop and deploy apps across
multiple domains mdash fast
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Run Your Apps
The developer can chose any language
runtime or bring their own Just upload
your code and go
DevOps Development monitoring deployment
and logging tools allow the developer to
run the entire application
APIs and Services A catalog of open source IBM and third
party APIs services allow a developer
to stitch together an application in
minutes
Cloud Integration Build hybrid environments Connect to
on-premises systems of record plus other
public and private clouds Expose your
own APIs to your developers
Big Data Manage your Big Data requirements with
BLU Acceleration Hadoop based
analytics and your sensor and device
Internet of Things data
Introducing Bluemix
A rich set of mobile ready APIs that you can mix and match to power your App
NEW
copy 2014 IBM Corporation
Nodejs includes SDK for data
sync ndash Primary development language
for mobile and server side
scripting Includes templates and
SDK for syncing with the
database in the cloud
Mobile Application Security ndash basic app security framework -
enabling the developer to block
access to apps on specific
devices
Push ndash Create and schedule push
notifications for iOS and Android
devices to engage users when
they arent using the app
Mobile Data ndash SDKs to sync mobile shared data
with the scalable managed
Cloudant database as a service
Mobile Cloud BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 41
copy 2014 IBM Corporation
Node-RED ndash A visual tool for wiring your IoT
app
TimeSeries Database ndash Provides a managed data store
for Internet of Things device data
and enables you to do time series
analysis on that data
InternetOfThings ndash APIs allowing Bluemix
applications to access device
data simply and swiftly
Internet of Things (IoT) BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 42
copy 2014 IBM Corporation
43
Bluemix Mobile Services
Simplify app deployment infrastructure maintenance and improve app quality with cloud services for
mobile Accelerates app development with SDKs for iOS and Android
Push
Create and schedule push notifications for
iOS and Android devices to engage users
when they arenrsquot using the app User
tagging enables the user to select desired
push topics
Twilio Build apps that communicate Integrate
voice messaging and VoIP into your web
and mobile apps
Mobile Application Management Centrally manage app access through a
web based console Control and secure
apps through containerization and control
over the operational lifecycle
Mobile Data Enhance your mobile app with a shared
managed database in the Cloud that can
be accessed using native SDKs for iOS
and Android
Mobile Quality Assurance Instrument apps to capture tester and live-
user experiences including context-aware
crash log and in-app bug reports in-app
user feedback and insightful and
streamlined quality metrics
Cloud Services for Mobile in Minutes
Internet of Things Internet of Things APIs allowing Bluemix
applications to access device data simply
and swiftly Build apps for a smarter planet
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 44
Why Bluemix Mobile Services
bull Simplicity and speed for mobile developers to develop
and deploy a mobile backend to share data and
business logic
bull Native SDKs for Android and iOS make coding intuitive
for mobile app developers
bull Reduced cost of maintenance with fully managed
services
bull Integrated App Quality and App Management capability
bull Integrated platform to extend mobile applications with
enterprise data or to new scenarios such as Web APIs
or Internet of Things
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Mobile Data Service
With the Mobile Data service you can store delete update and query objects that are
stored in the cloud
You can use a REST URL to interrogate the data classes and content that is stored in the
cloud
With the Mobile Cloud Services SDK you can embed a special managed directory in your
application Any files that are stored in this managed directory can be monitored and
synchronized The application can share the contents of this managed directory by
connecting to Mobile Data service with the same application ID and user ID By sharing the
directory contents different instances of an application can have synchronized copies of the
files
You can import JSON or tabular data into Mobile Data service
File Sync is a separate plugin and that can be added to your mobile app
ndash Currenty a last write wins policy when multiple applications are updating the same files
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 45
copy 2014 IBM Corporation
Mobile Device
Mobile Data
Service
Mobile
Data API
Cache (SQLite)
Mobile
App
Bluemix
Mobile
Data Service
JSON
Object
Store
Data
Viewer
Bluemix Architecture for shared system of engagement data
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 46
copy 2014 IBM Corporation
Accessing Data in your Bluemix Database
Accessing data in the SQLDB (DB2) service ndash DB2 APIs ndash MongoDB APIs
Accessing data in the BLUAcceleration (DB2 with BLU Acceleration) service
ndash DB2 JDBC Ruby Nodejs Python and PHP APIs
Accessing data in the TimeSeries Database (Informix) service ndash Informix REST APIs ndash Informix SQLI APIs (JDBC ODBC ESQLC etc) ndash MongoDB APIs
Accessing data in the Cloudant JSONDB service ndash Cloudant REST services
copy 2014 IBM Corporation
Accessing your Enterprise Data from Bluemix
Accessing your on-premises enterprise database from your Bluemix app
would be a custom ldquohome grownrdquo application
All of your Bluemix data is resident in the Bluemix Cloud
Enterprise access would be possible if you want to move your enterprise
data to the SQLDB service (DB2) or TimeSeries Database (Informix)
Or access your on-premises enterprise data using REST or web services
from your Bluemix application
Or perhaps use Bluemix as a development sandbox and then shift to
SoftLayer where your Enterprise environment could be hosted
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 48
copy 2014 IBM Corporation 49
WorkLight
IBM Worklight provides an open comprehensive and advanced mobile
application platform for smartphones and tablets It helps organizations
of all sizes to efficiently develop test connect run and manage mobile
applications (apps)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
IBM Worklight A mobile application platform
Speeding the development integration and management of mobile applications and
infrastructure
Accelerate Development bull Web hybrid and native development open flexible
standard-based multi-screenomni-channel bull Functional testing bull Development lifecycle tools and integration
Facilitate App Security and Trust bull Server-enforced authentication bull App authenticity and user-app-device binding bull Secure and syncable on-device storage bull App version enforcement
Enable User Engagement bull Unified push and SMS notifications bull Geolocation and context collections and intelligence bull Mobile-friendly integration
Support Mobile Analytics bull Efficient acquisition of analytics data bull Development operational and business analytics bull Offline and online event management integration
Best Mobile Development Solution
voted by SIIA members 2013 CODiE Awards
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 50
copy 2014 IBM Corporation
Components of the IBM Worklight Mobile Platform
bullplus Worklight Mobile Test Workbench for automated functional testing
bulland Worklight Analytics Platform for an aggregated view of server and
clientmobile information
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 51
copy 2014 IBM Corporation
Worklight Server Procedures amp Adapters
bull Worklight Server resident procedures perform the interaction between the application and the back end applications bull Procedures are written in Javascript and interact with mobile applications over
HTTP using JSON-formatted data bull Procedures perform the conversions between JSON format and the format
required by the back end application
SQL Adapters are procedures which can be configured to execute parameterized SQL queries and stored procedures in order to retrieve or update data in the database
ndash Worklight SQL adapters for DB2 MySQL and Oracle using JDBC connectivity ndash Additional SQL adapters can be created
Other custom adapters can be developed to interact with other data sources ndash New adapter for Cloudant for example
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 52
copy 2014 IBM Corporation
Worklight Adapters
Connect to enterprise applications and
cloud services
Deliver data to and from mobile
applications
Perform any necessary server-side
logic on this data
Query
Update data
DataResult
as JSON
Invoke adapter
procedure
SQL Cast Iron
Worklight
Response
1
2 3
4
SAP JMS HTTP Cloudant
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 53
copy 2014 IBM Corporation
Worklight Server
SQL Adapters would be required to link your enterprise data store with
your mobile application
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 54
copy 2014 IBM Corporation
Bluemix complements Worklight - enabling enterprise application agility
IBM Codename Bluemix IBM Worklight
+ IBM amp Third Party APIs forhellip
Mobile Web
Devops Big Data amp
Analytics
Inte-
gration
and More
Extend your enterprise mobile app platform investment through
Cloud APIs
In Worklight 62 (June 2014)
bull Worklight ready SDK that can be plugged into your project
bull Lifecycle management controls API access for Bluemix services
bull Worklight security framework integrates with Bluemix SSO
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 55
copy 2014 IBM Corporation
Enterprise Data
and Services
Worklight
Server
Cloud Data and
Services
Adapters
bull Server-side logic in
JavaScript
bull Read-only or Txn
bull Secure and Uniform
access to business
data
Worklight Adapters
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 56
copy 2014 IBM Corporation
Genero Mobile
A integrated platform for the rapid development of rich business applications
taking your application ideas to the desktop web and now to mobile devices
while fulfilling the promise of ldquoWrite Once Run Anywhererdquo
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 57
copy 2014 IBM Corporation
Genero Key features - Write once deploy everywhere
bull Rapid Development of rich business applications
bull Modernize legacy 4th generation language (green screen) apps
bull Desktop web and now mobile applications
bull Developed by IBM Business Partner 4Js
bull Native Dynamic Virtual Machine for mobile platforms (iOSamp Android)
bull Native GUI native performance
bull Connecteddisconnected mode
bull SQLite access on mobile device
bull Server database synchronization with Informix DB2 and other RDBMS
bull UTF-8
bull JSON Web Services RESTful services
bull App store or Over the Air installation
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 58
copy 2014 IBM Corporation
Genero Mobile Options Genero Web Client (GWC)
ndash Application is hosted on back end server
ndash Hosted via Genero Application Server through your web browser
ndash ldquoConnectedrdquo application
Genero Hybrid Client (GHC)
ndash Application runs within HTML5 native container
ndash Some access to local device applications amp data
ndash Hosted via Genero Application Server via web browser
ndash Downloaded via App Stores
Genero Mobile Client (GMC)
ndash 4Js announced GMC at 2013 IIUG conference and in ldquoStatement of Directionrdquo on web site
ndash Native DVM for Android and IOS supporting native user interfaces
ndash True ldquodisconnectedrdquo applications
ndash Apps will be native and can thus be hosted via App Stores (iTunes etc)
ndash Local SQLite database utilized ndash syncing with RDBMS planned
ndash Early Access Program (beta) is currently in progress
ndash General availability in June 2014
59 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Genero Mobile applications Application types
Native Advanced UI actions
Best performance
App store distribution
Hybrid Web developer skills
Native access
App store distribution
HTML5 Web developer skills
Cross platform
Instant updates
Unrestricted distribution
No offline mode
Genero Hybrid Client
Genero Web Client
Genero Mobile Client
4Js announced direction
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 60
copy 2014 IBM Corporation
Native application Mobile browser Native container
Native HTML5 Hybrid
Genero Mobile applications Application types
Hybrid
Mobile browser
HTML5
Native container
Hybrid
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 61
copy 2014 IBM Corporation
Flexible deployment Genero Mobile ndash one source code base 90 market coverage
FUNCTION edit_customer(num)
DEFINE num LIKE customercustomer_num
LET int_flag = FALSE
SELECT INTO customer
FROM customer
WHERE customer_num == num
INPUT BY NAME customer WITHOUT DEFAULTS
ON ACTION zoom INFIELD state
LET customerstate =
statesgetState(customerstate)
DISPLAY BY NAME customerstate
END INPUT
IF NOT int_flag THEN
UPDATE customer SET customer = customer
WHERE customer_num = num
ELSE
SELECT INTO customer
FROM customer
WHERE customer_num == num
DISPLAY BY NAME customer
END IF
END FUNCTION
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 62
copy 2014 IBM Corporation
bull Easy and consistent access to local
applications on IOS and Android
ndash Camera
ndash Contacts
ndash Email
ndash Calendar
ndash GPS
ndash Storage
Flexible deployment Genero Mobile ndash no need to choose Objective bdquoC‟ or Java
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 63
copy 2014 IBM Corporation
bull Native widgets
Genero Mobile Native UI combined with power of Genero
bull Native interactions ndash ex swipe left to
delete
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 64
copy 2014 IBM Corporation
Mobile device
iOSAndroid process
GUI
thread
VM
thread
Disconnected mode Device runs application and stores data offline (on the device)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 65
copy 2014 IBM Corporation
Web server
http
Mobile device
iOSAndroid process
GUI
thread
VM
GAS +
PROXY
Connected mode Device connects to a remote corporate server as an online terminal
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 66
copy 2014 IBM Corporation
Web server
JSON
http
Mobile device
iOSAndroid process
GUI
thread
VM
thread
Data synchronization ndash JSON JSON Web Services ndash offline data capture and sync with a remote database when online
VM
DBMS
SQLite
Web
Service
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 67
copy 2014 IBM Corporation
Summary
Back to our customerrsquos mobile applicationhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 68
copy 2014 IBM Corporation
Our DB2 Customerrsquos Mobile Environment ndash One New Scenario
Possible New Scenario
bull IBM Worklight based solution
bull Native iOS and Android mobile applications
bull Native apps can run in disconnected mode using local device data storage
bull Sync between device data storage and DB2 UDB data repository server using SQL Adapter
bull Native apps access local device resources
bull Enterprise authentication and mobile device management
Worklight
Server
Authentication
SQL Adapter
WebSphere
App Server
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 69
copy 2014 IBM Corporation
On Premises
data center
SoftLayer
Cloudant
REST over HTTP
Tables
Users
CloudSync
bull10000+ Android tablets
bullMobile app using Cloudant SDK
Possible New Scenario
bull New Android tablets
bull Cloudant SDK on the mobile device and CloudSync to sync the devices with the Cloudant server(s)
bull Custom REST based sync program to sync the Cloud-based Cloudant server with the on-premises Informix servers
Informix Customerrsquos Mobile Environment ndash One New Scenario
Sync
program
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 70
copy 2014 IBM Corporation 71
DB2 Tech Talk Informix and DB2 for Internet of Things amp Mobile Apps Next Steps Roadmap
Read about mobile app development and Internet of Things
bull Mobile Development on IBM developerWorks links to BlueMix Worklight Check products and tools tab bitlymobiledevdw
bull Mobile development on ibmcom bitly1h4IWo8
bull Bluemix introduction the next cloud platform bitly1pCXZrM
bull IBM Internet of Things page including Redbooks publication bitly1mOlt8G
bull Genero Mobile www4jscom
bull Dojo Mobile bitly1mOmyxf
Test drive the tools
bull Informix software download bitly1oSBm2y
bull BLU Acceleration for Cloud Open Beta googlAkMm8e
bull DB2 105 trial software Ibmcodb2download
bull Bluemix beta software acengbluemixnet
bull Worklight Developer Edition bitly1x1FSy2
Participate in the conversation
developerWorks answers Internet of Things technical forum
bitlyU9nPqT
Reference
Call IBM to schedule a demo or learn more
bull 1 800 966-9875 (US)
bull 1-888-746-7426 (Canada)
bull 1800-425-3333 (India)
bull Or visit httpwwwibmcomplanetwide for contact information worldwide
IBM DB2 105 product page
Ibmcomdb2
IBM DB2 105 Product features
ibmco12c1PJz
IBM Data Studio product page
Ibmcoibmdsinfo
Tech forum on developerWorks
bitlydb2forumluw
SQL Tips Blog
wwwsqltips4db2com
Step Three
Step Two
Step One
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 72
Upcoming Tech Talks Don‟t miss these in-depth DB2 feature talks
Dates and topics subject to change and modification
How to register
DB2 Tech Talks web site
Next DB2 Tech Talk DB2 with BLU Acceleration for SAP
bull July 17 2014 at 1230 PM
bull Guersad kuecuek Technical Specialist
DB2 and SAP in Europe
bull Registration bitlytt2014jul
bullIDUG DB2 Tech Conference Austrailasia
bull Sydney
bull September 10 ndash 12 2014
bull wwwidugorg
bullIBM Insight 2014
former Information on Demand Conference
bull Las Vegas NV
bull October 26 ndash 30 2014
bull bitlyibminsight2014
bullIDUG DB2 Tech Conference EMEA
bull Prague Czech Republic
bull November 9 ndash 14 2014
bull wwwidugorg
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Learn engage and get social new DB2 with BLU Acceleration microsite
wwwibmBLUhubcom
DB2 with BLU Acceleration is for
reporting ndash Fast and simple way to respond to
continual reporting requests
ndash No tuning no tweaking
ndash Gets you back to high-value
projects
BLU Acceleration hub contains ndash Technical information and
ldquoinformation for your bossrdquo
ndash Access to the social conversation
ndash Links to software trial and BLU
Acceleration for Cloud
And more Check it out
73 Need webcast troubleshooting help Click attachments
Need webcast troubleshooting help Click attachments
BLU ndash Cognos Demo bitlydemoblu-cognos
copy 2014 IBM Corporation 74
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 75
Questions
Listening in replay
Questions wwwsqltips4db2com
Click submit a question
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 76
Thanks for attending
Please rate the session
Presentation download bitlyttfilemay14
click Attachments in this webcast environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
IBM Products used in IoT Solutions
Collection of data for all sensors
Data from other kinds of
sensors
Consumer Business
Sensors in the home
TimeSeries Service
NoSQL Relational Timeseries amp Spatial storage amp analytics
Acceleration Technology
BLU IWA
SPSSCognos
MessageSight MQTT
SoftLayer BlueMix
BigInsights
Gateways for local analytics
Infosphere Streams
(no gateway)
In-memory analytics
Predictive analytics and dashboard
Cloud infrastructure
Hadoop
Publish Subscribe
Real-time analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 19
copy 2014 IBM Corporation
Developed by business partners Shaspa Tatung and ST-Micro ndash Runs on ARM v7 and Intel Quark chip sets ndash 512MB to 1GB of memory ndash 1GB to 4GB of storage ndash WirelessBluetooth receiver
ndash 3 inch by 2 inch form factor
Software components in SmartGate
ndash Informix enterprise edition
ndash Webserver
ndash Debian Linux
ndash Connectivity to the TimeSeries cloud service
ndash Support for common device communication protocols including
bull Enocean KNX Modbus CANOpen Zigbee ZWave DALI MBus SNMP MPBus
Priced around $100
20
Shasparsquos SmartGate Gateway example of edge device for IoT
Informix Database
Inside
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 20
copy 2014 IBM Corporation
Why use a gateway for local analytics
1 Gateways can reduce the cost of the backend cloud
bull Reduces cloud storage by filteringaggregatinganalyzing data locally
bull Reduces cloud CPU requirements by pre-computing values
2 Reduces latency since actions can be taken immediately
bull Intelligent gateways can detect and respond to local events as they happen rather than waiting for transfer to the cloud
3 Many users are not comfortable putting their data in the cloud
bull Gateways allow customers to capture and get value from their sensors without sending data to the cloud
Over time more and more of the processing will move from the cloud to edge (gateway) devices
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 21
copy 2014 IBM Corporation
IBM Internet of Things analytics in the cloud
Analyze
Gateway Local Analytics
Analytics
Analyze other than the time
dimension
Aggregate and join across
data types and attributes
Millions of devices
System of record existing
mountains of data
Database in the cloud
Gateway Local Analytics
Gateways Local Analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 22
copy 2014 IBM Corporation 23
Where we are coming fromhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
A DB2 Customerrsquos Mobile Environment
Web
Server
Current Scenario
bull Simple ldquohome grownrdquo app outgrew its initial purpose and requirements
bull Connected Web application serving hundreds of sales associates
bull Access mostly via smart phone browser but also via laptop browser
bull PHP application
bull DB2 UDB data repository
New Requirements
bull Disconnected Mode
bull Access to local device address book calendar etc
bull Better authentication
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
24
copy 2014 IBM Corporation
DB2
Everyplace
Web
Sphere
JDBC
Replication Tables
Users XML
Sync
3500PDAs Windows mobile 61 and 65 running on PSIONPITION MOTOROLAHTCSANSUMGHHP
Windows Server
Quad Core
04Gb RAM
32Bits Current Scenario
bull DB2E is handling 3500 PDAs
bull DB2 Everyplace to connect field technicians to Informix database with service request data dispatching service orders to mobile users who are equipped with handheld devices improving responsiveness to service outages
bull Currently using Windows mobile 61 and 65 running on PSIONPITION MOTOROLA HTC SAMSUNG and HHP devices
bull Developed home-grown applications using NET
bull Some devices sync online and others offline
Another Customerrsquos Mobile Environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 25
copy 2014 IBM Corporation 26
Cloud and Mobile Applications
Experimental in nature
- Require rapid iteration
- Faster time to market
- May be decommissioned quickly ndash need
environments in minutes versus days or weeks
Are written in multiple languages
- Web JavaScript Ruby Java PHP
- Mobile iOS Android Hybrid
Composed of Services
- Build using a composition model of stitching
capabilities together
- Capabilities often require time to test in app
beyond the scope of a free trial
Integrate with existing systems
- Data is often located in multiple places (public
private traditional data center)
- Existing systems may not scale at the same the
level of cloud applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
WriteUpdate
System Of Record
bull Cloudant JSONDB
bull Mobile Data Services (Bluemix)
bull Integration Services
- Cast IronDataStage
Mobile Data Synchronization Landscape
System Of Record
Enterprise
Data Store (Informix DB2)
bull On Device data persistence (SQLite)
bull Data Sync between devices and to Cloudant
data store
bull UpdateWrite to System Of Record through
the front door (Using Enterprise app APIs)
bull Using Cloudant SDK on device
System Of Engagement
Enterprise App
APIs
Cast Iron
DataStage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 27
copy 2014 IBM Corporation 28
Dojo Mobile Toolkit
The Dojo Mobile toolkit is a powerful JavaScript framework
that provides all of the building blocks required to develop
lightweight high-performance mobile web applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Dojo Mobile Toolkit
One of the choices in the busy HTML5 amp CSS3 category
Mobile toolkit extends the existing Dojo toolkit to deal with
ndash Input device differences
ndash Smaller screen sizes
ndash Reduced processing power and footprint requirements of mobile devices
Excellent option for mobile apps where connectivity is consistent
Database connectivity is standard PHP database driver
Easy to enforce consistency across screens and applications with style sheets
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 29
copy 2014 IBM Corporation
Photo Share demo built using IBM Dojo Mobile Toolkit
Hosted via Softlayer nosqldemocom
Built for IOD 2013 to demonstrate Informix
hybrid (JSON relational and time series)
application support
PHP app using the MongoDB PHP driver for
connectivity to the Informix database
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 30
copy 2014 IBM Corporation 31
Cloudant
A distributed database as a service (DBaaS) allowing
developers of fast-growing web and mobile apps to focus on
building and improving their products instead of worrying
about scaling and managing databases on their own
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Cloudant Overview
ndash Operational JSON data store
ndash RESTful CouchDB API
ndash Advanced APIs
bull Replication amp Sync
bull Lucene Full-text Search
bull Geo-spatial
bull Incremental MapReduce
ndash Scalable Highly Available Performance
bull Cross-data center data distribution amp fail over
bull Geo load balancing
ndash Multi-tenant and dedicated-tenant clusters
ndash Monitoring administration amp development dashboards
ndash Managed 24x7 by big data experts
ndash Available in Rackspace IBMSoftLayer and AWS datacenters
32 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 3
bull Store data on the server
andor the local device
bull Native libraries support
synchronization process
and local storage
management
bull Synchronize data
between devices by
replicating data from
Cloudant
Store and Access Data Everywhere
Local
Storage
Local
Storage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 33
copy 2014 IBM Corporation 4
Putting Data at the Edge
bull Geographically disperse your data across multiple data centers
to allow for easy access depending on location
bull Ability to store data across 35 geographic locations
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 34
copy 2014 IBM Corporation 5
Local
Storage
bull Restored connection will
sync the data with the
server and other devices
connected to same source
bull Data redundancy across
data centers
Always Onhellip
bull Readwrite from local
storage when connection is
unavailable
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 35
copy 2014 IBM Corporation 7
Based on Open Industry Standardshellip
JSON Cloudant
HTTP HTTP
HTTP
bull Any device using HTTP and JSON can interact with Cloudant
HTTP
HTTP
HTTP
JSON
JSON
JSON
JSON
JSON
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 36
copy 2014 IBM Corporation
Cloudant Sync
Available for Android and IOS
Solution leverages devicersquos on-board
SQLite database for persistence
ndash Cloudant defines indexing scheme for
optimizing use of relational SQLite DB
with applicationrsquos JSON storage
requirements
Multi version concurrency control
Replication to the Cloudant server in the
cloud via HTTP
Mobile application does include and
interact with Cloudant SDK software which
resides on the device
ndash Cloudant Code is native (Java for
Android Objective C for IOS)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 37
copy 2014 IBM Corporation
Sync Cloudant with Informix or DB2
Leverage entire Cloudant implementation ndash
Cloudant Sync on the mobile device and
Cloudant in the cloud
Cloudant is the ldquosync serverrdquo with the
mobile application
Solution to sync data between the
Cloudant server and the IBM data server
would be a ldquohome grownrdquo solution
ndash One option would be to use REST API
to ldquopullrdquo data from Cloudant to DB2 via
stored procedures
ndash Standalone REST API based program
to extract from Cloudant and insert into
Informix
ndash Data exchanged as JSON documents
ndash IBM Data Stage supports JSON and
could be leveraged here
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 38
copy 2014 IBM Corporation 39
Bluemix
Bluemix is an open-standards cloud-based platform offering a
single solution environment with the instant resources and
infrastructure you need to develop and deploy apps across
multiple domains mdash fast
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Run Your Apps
The developer can chose any language
runtime or bring their own Just upload
your code and go
DevOps Development monitoring deployment
and logging tools allow the developer to
run the entire application
APIs and Services A catalog of open source IBM and third
party APIs services allow a developer
to stitch together an application in
minutes
Cloud Integration Build hybrid environments Connect to
on-premises systems of record plus other
public and private clouds Expose your
own APIs to your developers
Big Data Manage your Big Data requirements with
BLU Acceleration Hadoop based
analytics and your sensor and device
Internet of Things data
Introducing Bluemix
A rich set of mobile ready APIs that you can mix and match to power your App
NEW
copy 2014 IBM Corporation
Nodejs includes SDK for data
sync ndash Primary development language
for mobile and server side
scripting Includes templates and
SDK for syncing with the
database in the cloud
Mobile Application Security ndash basic app security framework -
enabling the developer to block
access to apps on specific
devices
Push ndash Create and schedule push
notifications for iOS and Android
devices to engage users when
they arent using the app
Mobile Data ndash SDKs to sync mobile shared data
with the scalable managed
Cloudant database as a service
Mobile Cloud BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 41
copy 2014 IBM Corporation
Node-RED ndash A visual tool for wiring your IoT
app
TimeSeries Database ndash Provides a managed data store
for Internet of Things device data
and enables you to do time series
analysis on that data
InternetOfThings ndash APIs allowing Bluemix
applications to access device
data simply and swiftly
Internet of Things (IoT) BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 42
copy 2014 IBM Corporation
43
Bluemix Mobile Services
Simplify app deployment infrastructure maintenance and improve app quality with cloud services for
mobile Accelerates app development with SDKs for iOS and Android
Push
Create and schedule push notifications for
iOS and Android devices to engage users
when they arenrsquot using the app User
tagging enables the user to select desired
push topics
Twilio Build apps that communicate Integrate
voice messaging and VoIP into your web
and mobile apps
Mobile Application Management Centrally manage app access through a
web based console Control and secure
apps through containerization and control
over the operational lifecycle
Mobile Data Enhance your mobile app with a shared
managed database in the Cloud that can
be accessed using native SDKs for iOS
and Android
Mobile Quality Assurance Instrument apps to capture tester and live-
user experiences including context-aware
crash log and in-app bug reports in-app
user feedback and insightful and
streamlined quality metrics
Cloud Services for Mobile in Minutes
Internet of Things Internet of Things APIs allowing Bluemix
applications to access device data simply
and swiftly Build apps for a smarter planet
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 44
Why Bluemix Mobile Services
bull Simplicity and speed for mobile developers to develop
and deploy a mobile backend to share data and
business logic
bull Native SDKs for Android and iOS make coding intuitive
for mobile app developers
bull Reduced cost of maintenance with fully managed
services
bull Integrated App Quality and App Management capability
bull Integrated platform to extend mobile applications with
enterprise data or to new scenarios such as Web APIs
or Internet of Things
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Mobile Data Service
With the Mobile Data service you can store delete update and query objects that are
stored in the cloud
You can use a REST URL to interrogate the data classes and content that is stored in the
cloud
With the Mobile Cloud Services SDK you can embed a special managed directory in your
application Any files that are stored in this managed directory can be monitored and
synchronized The application can share the contents of this managed directory by
connecting to Mobile Data service with the same application ID and user ID By sharing the
directory contents different instances of an application can have synchronized copies of the
files
You can import JSON or tabular data into Mobile Data service
File Sync is a separate plugin and that can be added to your mobile app
ndash Currenty a last write wins policy when multiple applications are updating the same files
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 45
copy 2014 IBM Corporation
Mobile Device
Mobile Data
Service
Mobile
Data API
Cache (SQLite)
Mobile
App
Bluemix
Mobile
Data Service
JSON
Object
Store
Data
Viewer
Bluemix Architecture for shared system of engagement data
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 46
copy 2014 IBM Corporation
Accessing Data in your Bluemix Database
Accessing data in the SQLDB (DB2) service ndash DB2 APIs ndash MongoDB APIs
Accessing data in the BLUAcceleration (DB2 with BLU Acceleration) service
ndash DB2 JDBC Ruby Nodejs Python and PHP APIs
Accessing data in the TimeSeries Database (Informix) service ndash Informix REST APIs ndash Informix SQLI APIs (JDBC ODBC ESQLC etc) ndash MongoDB APIs
Accessing data in the Cloudant JSONDB service ndash Cloudant REST services
copy 2014 IBM Corporation
Accessing your Enterprise Data from Bluemix
Accessing your on-premises enterprise database from your Bluemix app
would be a custom ldquohome grownrdquo application
All of your Bluemix data is resident in the Bluemix Cloud
Enterprise access would be possible if you want to move your enterprise
data to the SQLDB service (DB2) or TimeSeries Database (Informix)
Or access your on-premises enterprise data using REST or web services
from your Bluemix application
Or perhaps use Bluemix as a development sandbox and then shift to
SoftLayer where your Enterprise environment could be hosted
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 48
copy 2014 IBM Corporation 49
WorkLight
IBM Worklight provides an open comprehensive and advanced mobile
application platform for smartphones and tablets It helps organizations
of all sizes to efficiently develop test connect run and manage mobile
applications (apps)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
IBM Worklight A mobile application platform
Speeding the development integration and management of mobile applications and
infrastructure
Accelerate Development bull Web hybrid and native development open flexible
standard-based multi-screenomni-channel bull Functional testing bull Development lifecycle tools and integration
Facilitate App Security and Trust bull Server-enforced authentication bull App authenticity and user-app-device binding bull Secure and syncable on-device storage bull App version enforcement
Enable User Engagement bull Unified push and SMS notifications bull Geolocation and context collections and intelligence bull Mobile-friendly integration
Support Mobile Analytics bull Efficient acquisition of analytics data bull Development operational and business analytics bull Offline and online event management integration
Best Mobile Development Solution
voted by SIIA members 2013 CODiE Awards
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 50
copy 2014 IBM Corporation
Components of the IBM Worklight Mobile Platform
bullplus Worklight Mobile Test Workbench for automated functional testing
bulland Worklight Analytics Platform for an aggregated view of server and
clientmobile information
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 51
copy 2014 IBM Corporation
Worklight Server Procedures amp Adapters
bull Worklight Server resident procedures perform the interaction between the application and the back end applications bull Procedures are written in Javascript and interact with mobile applications over
HTTP using JSON-formatted data bull Procedures perform the conversions between JSON format and the format
required by the back end application
SQL Adapters are procedures which can be configured to execute parameterized SQL queries and stored procedures in order to retrieve or update data in the database
ndash Worklight SQL adapters for DB2 MySQL and Oracle using JDBC connectivity ndash Additional SQL adapters can be created
Other custom adapters can be developed to interact with other data sources ndash New adapter for Cloudant for example
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 52
copy 2014 IBM Corporation
Worklight Adapters
Connect to enterprise applications and
cloud services
Deliver data to and from mobile
applications
Perform any necessary server-side
logic on this data
Query
Update data
DataResult
as JSON
Invoke adapter
procedure
SQL Cast Iron
Worklight
Response
1
2 3
4
SAP JMS HTTP Cloudant
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 53
copy 2014 IBM Corporation
Worklight Server
SQL Adapters would be required to link your enterprise data store with
your mobile application
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 54
copy 2014 IBM Corporation
Bluemix complements Worklight - enabling enterprise application agility
IBM Codename Bluemix IBM Worklight
+ IBM amp Third Party APIs forhellip
Mobile Web
Devops Big Data amp
Analytics
Inte-
gration
and More
Extend your enterprise mobile app platform investment through
Cloud APIs
In Worklight 62 (June 2014)
bull Worklight ready SDK that can be plugged into your project
bull Lifecycle management controls API access for Bluemix services
bull Worklight security framework integrates with Bluemix SSO
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 55
copy 2014 IBM Corporation
Enterprise Data
and Services
Worklight
Server
Cloud Data and
Services
Adapters
bull Server-side logic in
JavaScript
bull Read-only or Txn
bull Secure and Uniform
access to business
data
Worklight Adapters
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 56
copy 2014 IBM Corporation
Genero Mobile
A integrated platform for the rapid development of rich business applications
taking your application ideas to the desktop web and now to mobile devices
while fulfilling the promise of ldquoWrite Once Run Anywhererdquo
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 57
copy 2014 IBM Corporation
Genero Key features - Write once deploy everywhere
bull Rapid Development of rich business applications
bull Modernize legacy 4th generation language (green screen) apps
bull Desktop web and now mobile applications
bull Developed by IBM Business Partner 4Js
bull Native Dynamic Virtual Machine for mobile platforms (iOSamp Android)
bull Native GUI native performance
bull Connecteddisconnected mode
bull SQLite access on mobile device
bull Server database synchronization with Informix DB2 and other RDBMS
bull UTF-8
bull JSON Web Services RESTful services
bull App store or Over the Air installation
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 58
copy 2014 IBM Corporation
Genero Mobile Options Genero Web Client (GWC)
ndash Application is hosted on back end server
ndash Hosted via Genero Application Server through your web browser
ndash ldquoConnectedrdquo application
Genero Hybrid Client (GHC)
ndash Application runs within HTML5 native container
ndash Some access to local device applications amp data
ndash Hosted via Genero Application Server via web browser
ndash Downloaded via App Stores
Genero Mobile Client (GMC)
ndash 4Js announced GMC at 2013 IIUG conference and in ldquoStatement of Directionrdquo on web site
ndash Native DVM for Android and IOS supporting native user interfaces
ndash True ldquodisconnectedrdquo applications
ndash Apps will be native and can thus be hosted via App Stores (iTunes etc)
ndash Local SQLite database utilized ndash syncing with RDBMS planned
ndash Early Access Program (beta) is currently in progress
ndash General availability in June 2014
59 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Genero Mobile applications Application types
Native Advanced UI actions
Best performance
App store distribution
Hybrid Web developer skills
Native access
App store distribution
HTML5 Web developer skills
Cross platform
Instant updates
Unrestricted distribution
No offline mode
Genero Hybrid Client
Genero Web Client
Genero Mobile Client
4Js announced direction
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 60
copy 2014 IBM Corporation
Native application Mobile browser Native container
Native HTML5 Hybrid
Genero Mobile applications Application types
Hybrid
Mobile browser
HTML5
Native container
Hybrid
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 61
copy 2014 IBM Corporation
Flexible deployment Genero Mobile ndash one source code base 90 market coverage
FUNCTION edit_customer(num)
DEFINE num LIKE customercustomer_num
LET int_flag = FALSE
SELECT INTO customer
FROM customer
WHERE customer_num == num
INPUT BY NAME customer WITHOUT DEFAULTS
ON ACTION zoom INFIELD state
LET customerstate =
statesgetState(customerstate)
DISPLAY BY NAME customerstate
END INPUT
IF NOT int_flag THEN
UPDATE customer SET customer = customer
WHERE customer_num = num
ELSE
SELECT INTO customer
FROM customer
WHERE customer_num == num
DISPLAY BY NAME customer
END IF
END FUNCTION
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 62
copy 2014 IBM Corporation
bull Easy and consistent access to local
applications on IOS and Android
ndash Camera
ndash Contacts
ndash Email
ndash Calendar
ndash GPS
ndash Storage
Flexible deployment Genero Mobile ndash no need to choose Objective bdquoC‟ or Java
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 63
copy 2014 IBM Corporation
bull Native widgets
Genero Mobile Native UI combined with power of Genero
bull Native interactions ndash ex swipe left to
delete
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 64
copy 2014 IBM Corporation
Mobile device
iOSAndroid process
GUI
thread
VM
thread
Disconnected mode Device runs application and stores data offline (on the device)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 65
copy 2014 IBM Corporation
Web server
http
Mobile device
iOSAndroid process
GUI
thread
VM
GAS +
PROXY
Connected mode Device connects to a remote corporate server as an online terminal
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 66
copy 2014 IBM Corporation
Web server
JSON
http
Mobile device
iOSAndroid process
GUI
thread
VM
thread
Data synchronization ndash JSON JSON Web Services ndash offline data capture and sync with a remote database when online
VM
DBMS
SQLite
Web
Service
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 67
copy 2014 IBM Corporation
Summary
Back to our customerrsquos mobile applicationhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 68
copy 2014 IBM Corporation
Our DB2 Customerrsquos Mobile Environment ndash One New Scenario
Possible New Scenario
bull IBM Worklight based solution
bull Native iOS and Android mobile applications
bull Native apps can run in disconnected mode using local device data storage
bull Sync between device data storage and DB2 UDB data repository server using SQL Adapter
bull Native apps access local device resources
bull Enterprise authentication and mobile device management
Worklight
Server
Authentication
SQL Adapter
WebSphere
App Server
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 69
copy 2014 IBM Corporation
On Premises
data center
SoftLayer
Cloudant
REST over HTTP
Tables
Users
CloudSync
bull10000+ Android tablets
bullMobile app using Cloudant SDK
Possible New Scenario
bull New Android tablets
bull Cloudant SDK on the mobile device and CloudSync to sync the devices with the Cloudant server(s)
bull Custom REST based sync program to sync the Cloud-based Cloudant server with the on-premises Informix servers
Informix Customerrsquos Mobile Environment ndash One New Scenario
Sync
program
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 70
copy 2014 IBM Corporation 71
DB2 Tech Talk Informix and DB2 for Internet of Things amp Mobile Apps Next Steps Roadmap
Read about mobile app development and Internet of Things
bull Mobile Development on IBM developerWorks links to BlueMix Worklight Check products and tools tab bitlymobiledevdw
bull Mobile development on ibmcom bitly1h4IWo8
bull Bluemix introduction the next cloud platform bitly1pCXZrM
bull IBM Internet of Things page including Redbooks publication bitly1mOlt8G
bull Genero Mobile www4jscom
bull Dojo Mobile bitly1mOmyxf
Test drive the tools
bull Informix software download bitly1oSBm2y
bull BLU Acceleration for Cloud Open Beta googlAkMm8e
bull DB2 105 trial software Ibmcodb2download
bull Bluemix beta software acengbluemixnet
bull Worklight Developer Edition bitly1x1FSy2
Participate in the conversation
developerWorks answers Internet of Things technical forum
bitlyU9nPqT
Reference
Call IBM to schedule a demo or learn more
bull 1 800 966-9875 (US)
bull 1-888-746-7426 (Canada)
bull 1800-425-3333 (India)
bull Or visit httpwwwibmcomplanetwide for contact information worldwide
IBM DB2 105 product page
Ibmcomdb2
IBM DB2 105 Product features
ibmco12c1PJz
IBM Data Studio product page
Ibmcoibmdsinfo
Tech forum on developerWorks
bitlydb2forumluw
SQL Tips Blog
wwwsqltips4db2com
Step Three
Step Two
Step One
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 72
Upcoming Tech Talks Don‟t miss these in-depth DB2 feature talks
Dates and topics subject to change and modification
How to register
DB2 Tech Talks web site
Next DB2 Tech Talk DB2 with BLU Acceleration for SAP
bull July 17 2014 at 1230 PM
bull Guersad kuecuek Technical Specialist
DB2 and SAP in Europe
bull Registration bitlytt2014jul
bullIDUG DB2 Tech Conference Austrailasia
bull Sydney
bull September 10 ndash 12 2014
bull wwwidugorg
bullIBM Insight 2014
former Information on Demand Conference
bull Las Vegas NV
bull October 26 ndash 30 2014
bull bitlyibminsight2014
bullIDUG DB2 Tech Conference EMEA
bull Prague Czech Republic
bull November 9 ndash 14 2014
bull wwwidugorg
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Learn engage and get social new DB2 with BLU Acceleration microsite
wwwibmBLUhubcom
DB2 with BLU Acceleration is for
reporting ndash Fast and simple way to respond to
continual reporting requests
ndash No tuning no tweaking
ndash Gets you back to high-value
projects
BLU Acceleration hub contains ndash Technical information and
ldquoinformation for your bossrdquo
ndash Access to the social conversation
ndash Links to software trial and BLU
Acceleration for Cloud
And more Check it out
73 Need webcast troubleshooting help Click attachments
Need webcast troubleshooting help Click attachments
BLU ndash Cognos Demo bitlydemoblu-cognos
copy 2014 IBM Corporation 74
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 75
Questions
Listening in replay
Questions wwwsqltips4db2com
Click submit a question
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 76
Thanks for attending
Please rate the session
Presentation download bitlyttfilemay14
click Attachments in this webcast environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Developed by business partners Shaspa Tatung and ST-Micro ndash Runs on ARM v7 and Intel Quark chip sets ndash 512MB to 1GB of memory ndash 1GB to 4GB of storage ndash WirelessBluetooth receiver
ndash 3 inch by 2 inch form factor
Software components in SmartGate
ndash Informix enterprise edition
ndash Webserver
ndash Debian Linux
ndash Connectivity to the TimeSeries cloud service
ndash Support for common device communication protocols including
bull Enocean KNX Modbus CANOpen Zigbee ZWave DALI MBus SNMP MPBus
Priced around $100
20
Shasparsquos SmartGate Gateway example of edge device for IoT
Informix Database
Inside
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 20
copy 2014 IBM Corporation
Why use a gateway for local analytics
1 Gateways can reduce the cost of the backend cloud
bull Reduces cloud storage by filteringaggregatinganalyzing data locally
bull Reduces cloud CPU requirements by pre-computing values
2 Reduces latency since actions can be taken immediately
bull Intelligent gateways can detect and respond to local events as they happen rather than waiting for transfer to the cloud
3 Many users are not comfortable putting their data in the cloud
bull Gateways allow customers to capture and get value from their sensors without sending data to the cloud
Over time more and more of the processing will move from the cloud to edge (gateway) devices
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 21
copy 2014 IBM Corporation
IBM Internet of Things analytics in the cloud
Analyze
Gateway Local Analytics
Analytics
Analyze other than the time
dimension
Aggregate and join across
data types and attributes
Millions of devices
System of record existing
mountains of data
Database in the cloud
Gateway Local Analytics
Gateways Local Analytics
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 22
copy 2014 IBM Corporation 23
Where we are coming fromhellip
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
A DB2 Customerrsquos Mobile Environment
Web
Server
Current Scenario
bull Simple ldquohome grownrdquo app outgrew its initial purpose and requirements
bull Connected Web application serving hundreds of sales associates
bull Access mostly via smart phone browser but also via laptop browser
bull PHP application
bull DB2 UDB data repository
New Requirements
bull Disconnected Mode
bull Access to local device address book calendar etc
bull Better authentication
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
24
copy 2014 IBM Corporation
DB2
Everyplace
Web
Sphere
JDBC
Replication Tables
Users XML
Sync
3500PDAs Windows mobile 61 and 65 running on PSIONPITION MOTOROLAHTCSANSUMGHHP
Windows Server
Quad Core
04Gb RAM
32Bits Current Scenario
bull DB2E is handling 3500 PDAs
bull DB2 Everyplace to connect field technicians to Informix database with service request data dispatching service orders to mobile users who are equipped with handheld devices improving responsiveness to service outages
bull Currently using Windows mobile 61 and 65 running on PSIONPITION MOTOROLA HTC SAMSUNG and HHP devices
bull Developed home-grown applications using NET
bull Some devices sync online and others offline
Another Customerrsquos Mobile Environment
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 25
copy 2014 IBM Corporation 26
Cloud and Mobile Applications
Experimental in nature
- Require rapid iteration
- Faster time to market
- May be decommissioned quickly ndash need
environments in minutes versus days or weeks
Are written in multiple languages
- Web JavaScript Ruby Java PHP
- Mobile iOS Android Hybrid
Composed of Services
- Build using a composition model of stitching
capabilities together
- Capabilities often require time to test in app
beyond the scope of a free trial
Integrate with existing systems
- Data is often located in multiple places (public
private traditional data center)
- Existing systems may not scale at the same the
level of cloud applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
WriteUpdate
System Of Record
bull Cloudant JSONDB
bull Mobile Data Services (Bluemix)
bull Integration Services
- Cast IronDataStage
Mobile Data Synchronization Landscape
System Of Record
Enterprise
Data Store (Informix DB2)
bull On Device data persistence (SQLite)
bull Data Sync between devices and to Cloudant
data store
bull UpdateWrite to System Of Record through
the front door (Using Enterprise app APIs)
bull Using Cloudant SDK on device
System Of Engagement
Enterprise App
APIs
Cast Iron
DataStage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 27
copy 2014 IBM Corporation 28
Dojo Mobile Toolkit
The Dojo Mobile toolkit is a powerful JavaScript framework
that provides all of the building blocks required to develop
lightweight high-performance mobile web applications
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Dojo Mobile Toolkit
One of the choices in the busy HTML5 amp CSS3 category
Mobile toolkit extends the existing Dojo toolkit to deal with
ndash Input device differences
ndash Smaller screen sizes
ndash Reduced processing power and footprint requirements of mobile devices
Excellent option for mobile apps where connectivity is consistent
Database connectivity is standard PHP database driver
Easy to enforce consistency across screens and applications with style sheets
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 29
copy 2014 IBM Corporation
Photo Share demo built using IBM Dojo Mobile Toolkit
Hosted via Softlayer nosqldemocom
Built for IOD 2013 to demonstrate Informix
hybrid (JSON relational and time series)
application support
PHP app using the MongoDB PHP driver for
connectivity to the Informix database
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 30
copy 2014 IBM Corporation 31
Cloudant
A distributed database as a service (DBaaS) allowing
developers of fast-growing web and mobile apps to focus on
building and improving their products instead of worrying
about scaling and managing databases on their own
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Cloudant Overview
ndash Operational JSON data store
ndash RESTful CouchDB API
ndash Advanced APIs
bull Replication amp Sync
bull Lucene Full-text Search
bull Geo-spatial
bull Incremental MapReduce
ndash Scalable Highly Available Performance
bull Cross-data center data distribution amp fail over
bull Geo load balancing
ndash Multi-tenant and dedicated-tenant clusters
ndash Monitoring administration amp development dashboards
ndash Managed 24x7 by big data experts
ndash Available in Rackspace IBMSoftLayer and AWS datacenters
32 Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 3
bull Store data on the server
andor the local device
bull Native libraries support
synchronization process
and local storage
management
bull Synchronize data
between devices by
replicating data from
Cloudant
Store and Access Data Everywhere
Local
Storage
Local
Storage
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 33
copy 2014 IBM Corporation 4
Putting Data at the Edge
bull Geographically disperse your data across multiple data centers
to allow for easy access depending on location
bull Ability to store data across 35 geographic locations
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 34
copy 2014 IBM Corporation 5
Local
Storage
bull Restored connection will
sync the data with the
server and other devices
connected to same source
bull Data redundancy across
data centers
Always Onhellip
bull Readwrite from local
storage when connection is
unavailable
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 35
copy 2014 IBM Corporation 7
Based on Open Industry Standardshellip
JSON Cloudant
HTTP HTTP
HTTP
bull Any device using HTTP and JSON can interact with Cloudant
HTTP
HTTP
HTTP
JSON
JSON
JSON
JSON
JSON
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 36
copy 2014 IBM Corporation
Cloudant Sync
Available for Android and IOS
Solution leverages devicersquos on-board
SQLite database for persistence
ndash Cloudant defines indexing scheme for
optimizing use of relational SQLite DB
with applicationrsquos JSON storage
requirements
Multi version concurrency control
Replication to the Cloudant server in the
cloud via HTTP
Mobile application does include and
interact with Cloudant SDK software which
resides on the device
ndash Cloudant Code is native (Java for
Android Objective C for IOS)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 37
copy 2014 IBM Corporation
Sync Cloudant with Informix or DB2
Leverage entire Cloudant implementation ndash
Cloudant Sync on the mobile device and
Cloudant in the cloud
Cloudant is the ldquosync serverrdquo with the
mobile application
Solution to sync data between the
Cloudant server and the IBM data server
would be a ldquohome grownrdquo solution
ndash One option would be to use REST API
to ldquopullrdquo data from Cloudant to DB2 via
stored procedures
ndash Standalone REST API based program
to extract from Cloudant and insert into
Informix
ndash Data exchanged as JSON documents
ndash IBM Data Stage supports JSON and
could be leveraged here
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 38
copy 2014 IBM Corporation 39
Bluemix
Bluemix is an open-standards cloud-based platform offering a
single solution environment with the instant resources and
infrastructure you need to develop and deploy apps across
multiple domains mdash fast
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Run Your Apps
The developer can chose any language
runtime or bring their own Just upload
your code and go
DevOps Development monitoring deployment
and logging tools allow the developer to
run the entire application
APIs and Services A catalog of open source IBM and third
party APIs services allow a developer
to stitch together an application in
minutes
Cloud Integration Build hybrid environments Connect to
on-premises systems of record plus other
public and private clouds Expose your
own APIs to your developers
Big Data Manage your Big Data requirements with
BLU Acceleration Hadoop based
analytics and your sensor and device
Internet of Things data
Introducing Bluemix
A rich set of mobile ready APIs that you can mix and match to power your App
NEW
copy 2014 IBM Corporation
Nodejs includes SDK for data
sync ndash Primary development language
for mobile and server side
scripting Includes templates and
SDK for syncing with the
database in the cloud
Mobile Application Security ndash basic app security framework -
enabling the developer to block
access to apps on specific
devices
Push ndash Create and schedule push
notifications for iOS and Android
devices to engage users when
they arent using the app
Mobile Data ndash SDKs to sync mobile shared data
with the scalable managed
Cloudant database as a service
Mobile Cloud BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 41
copy 2014 IBM Corporation
Node-RED ndash A visual tool for wiring your IoT
app
TimeSeries Database ndash Provides a managed data store
for Internet of Things device data
and enables you to do time series
analysis on that data
InternetOfThings ndash APIs allowing Bluemix
applications to access device
data simply and swiftly
Internet of Things (IoT) BoilerPlate
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 42
copy 2014 IBM Corporation
43
Bluemix Mobile Services
Simplify app deployment infrastructure maintenance and improve app quality with cloud services for
mobile Accelerates app development with SDKs for iOS and Android
Push
Create and schedule push notifications for
iOS and Android devices to engage users
when they arenrsquot using the app User
tagging enables the user to select desired
push topics
Twilio Build apps that communicate Integrate
voice messaging and VoIP into your web
and mobile apps
Mobile Application Management Centrally manage app access through a
web based console Control and secure
apps through containerization and control
over the operational lifecycle
Mobile Data Enhance your mobile app with a shared
managed database in the Cloud that can
be accessed using native SDKs for iOS
and Android
Mobile Quality Assurance Instrument apps to capture tester and live-
user experiences including context-aware
crash log and in-app bug reports in-app
user feedback and insightful and
streamlined quality metrics
Cloud Services for Mobile in Minutes
Internet of Things Internet of Things APIs allowing Bluemix
applications to access device data simply
and swiftly Build apps for a smarter planet
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation 44
Why Bluemix Mobile Services
bull Simplicity and speed for mobile developers to develop
and deploy a mobile backend to share data and
business logic
bull Native SDKs for Android and iOS make coding intuitive
for mobile app developers
bull Reduced cost of maintenance with fully managed
services
bull Integrated App Quality and App Management capability
bull Integrated platform to extend mobile applications with
enterprise data or to new scenarios such as Web APIs
or Internet of Things
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
Mobile Data Service
With the Mobile Data service you can store delete update and query objects that are
stored in the cloud
You can use a REST URL to interrogate the data classes and content that is stored in the
cloud
With the Mobile Cloud Services SDK you can embed a special managed directory in your
application Any files that are stored in this managed directory can be monitored and
synchronized The application can share the contents of this managed directory by
connecting to Mobile Data service with the same application ID and user ID By sharing the
directory contents different instances of an application can have synchronized copies of the
files
You can import JSON or tabular data into Mobile Data service
File Sync is a separate plugin and that can be added to your mobile app
ndash Currenty a last write wins policy when multiple applications are updating the same files
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 45
copy 2014 IBM Corporation
Mobile Device
Mobile Data
Service
Mobile
Data API
Cache (SQLite)
Mobile
App
Bluemix
Mobile
Data Service
JSON
Object
Store
Data
Viewer
Bluemix Architecture for shared system of engagement data
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 46
copy 2014 IBM Corporation
Accessing Data in your Bluemix Database
Accessing data in the SQLDB (DB2) service ndash DB2 APIs ndash MongoDB APIs
Accessing data in the BLUAcceleration (DB2 with BLU Acceleration) service
ndash DB2 JDBC Ruby Nodejs Python and PHP APIs
Accessing data in the TimeSeries Database (Informix) service ndash Informix REST APIs ndash Informix SQLI APIs (JDBC ODBC ESQLC etc) ndash MongoDB APIs
Accessing data in the Cloudant JSONDB service ndash Cloudant REST services
copy 2014 IBM Corporation
Accessing your Enterprise Data from Bluemix
Accessing your on-premises enterprise database from your Bluemix app
would be a custom ldquohome grownrdquo application
All of your Bluemix data is resident in the Bluemix Cloud
Enterprise access would be possible if you want to move your enterprise
data to the SQLDB service (DB2) or TimeSeries Database (Informix)
Or access your on-premises enterprise data using REST or web services
from your Bluemix application
Or perhaps use Bluemix as a development sandbox and then shift to
SoftLayer where your Enterprise environment could be hosted
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 48
copy 2014 IBM Corporation 49
WorkLight
IBM Worklight provides an open comprehensive and advanced mobile
application platform for smartphones and tablets It helps organizations
of all sizes to efficiently develop test connect run and manage mobile
applications (apps)
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun
copy 2014 IBM Corporation
IBM Worklight A mobile application platform
Speeding the development integration and management of mobile applications and
infrastructure
Accelerate Development bull Web hybrid and native development open flexible
standard-based multi-screenomni-channel bull Functional testing bull Development lifecycle tools and integration
Facilitate App Security and Trust bull Server-enforced authentication bull App authenticity and user-app-device binding bull Secure and syncable on-device storage bull App version enforcement
Enable User Engagement bull Unified push and SMS notifications bull Geolocation and context collections and intelligence bull Mobile-friendly integration
Support Mobile Analytics bull Efficient acquisition of analytics data bull Development operational and business analytics bull Offline and online event management integration
Best Mobile Development Solution
voted by SIIA members 2013 CODiE Awards
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 50
copy 2014 IBM Corporation
Components of the IBM Worklight Mobile Platform
bullplus Worklight Mobile Test Workbench for automated functional testing
bulland Worklight Analytics Platform for an aggregated view of server and
clientmobile information
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 51
copy 2014 IBM Corporation
Worklight Server Procedures amp Adapters
bull Worklight Server resident procedures perform the interaction between the application and the back end applications bull Procedures are written in Javascript and interact with mobile applications over
HTTP using JSON-formatted data bull Procedures perform the conversions between JSON format and the format
required by the back end application
SQL Adapters are procedures which can be configured to execute parameterized SQL queries and stored procedures in order to retrieve or update data in the database
ndash Worklight SQL adapters for DB2 MySQL and Oracle using JDBC connectivity ndash Additional SQL adapters can be created
Other custom adapters can be developed to interact with other data sources ndash New adapter for Cloudant for example
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 52
copy 2014 IBM Corporation
Worklight Adapters
Connect to enterprise applications and
cloud services
Deliver data to and from mobile
applications
Perform any necessary server-side
logic on this data
Query
Update data
DataResult
as JSON
Invoke adapter
procedure
SQL Cast Iron
Worklight
Response
1
2 3
4
SAP JMS HTTP Cloudant
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 53
copy 2014 IBM Corporation
Worklight Server
SQL Adapters would be required to link your enterprise data store with
your mobile application
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 54
copy 2014 IBM Corporation
Bluemix complements Worklight - enabling enterprise application agility
IBM Codename Bluemix IBM Worklight
+ IBM amp Third Party APIs forhellip
Mobile Web
Devops Big Data amp
Analytics
Inte-
gration
and More
Extend your enterprise mobile app platform investment through
Cloud APIs
In Worklight 62 (June 2014)
bull Worklight ready SDK that can be plugged into your project
bull Lifecycle management controls API access for Bluemix services
bull Worklight security framework integrates with Bluemix SSO
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 55
copy 2014 IBM Corporation
Enterprise Data
and Services
Worklight
Server
Cloud Data and
Services
Adapters
bull Server-side logic in
JavaScript
bull Read-only or Txn
bull Secure and Uniform
access to business
data
Worklight Adapters
Need webcast troubleshooting help Click attachments Presentation download bitlyttfile2014jun 56
copy 2014 IBM Corporation