Accelerate Construction of Mobile Applications with IBM Worklight

Post on 12-Sep-2021

7 views 0 download

Transcript of Accelerate Construction of Mobile Applications with IBM Worklight

Accelerate Construction of Mobile Applications with IBM Worklight Studio and IBM Mobile Platform

Mark Cesario

IBM Rational Software, Client Technical Professional

mark.Cesario@us.ibm.com

© 2012 IBM Corporation2

© 2012 IBM Corporation3

The Premier Event for Software and Systems Innovation

Mobile presents an enormous set of opportunities…

Business to Consumer

• Improve customer satisfaction

• Deeper customer engagement and loyalty

• Drive increased sales through Personalized offers

• Customer service

• Competitive differentiator

• Improve brand perception

• Deeper insight into customer buying behavior for up sell and cross sell

• Improve in store experience with mobile concierge services

Business to Enterprise

• Increase worker productivity

• Improved claims processing

• Increase revenue through sales engagements

• Extend existing applications to mobile workers and customers

• Reducing fuel, gas, or fleet maintenance costs that are relevant in particular industries

• Increase employee responsiveness and decision making speed

• Resolve internal IT issues faster

• Reduce personnel cost (utilizing personal owned instead of corporate issued devices)

© 2012 IBM Corporation4

The Premier Event for Software and Systems Innovation

Build mobile applications

Connect to, and runbackend systems in support of mobile

Managemobile devices and applications

Secure my mobile business

Extend existing business capabilities to mobile devices

Transform the business by creating new opportunities

Client Initiatives

Key Capabilities

• Strategy services

• Mobile-enabled solutions

• Mobile applications

• New Business Models

• IBM Business Partner

Community

Key Capabilities

• Mobile web app development

• Enterprise data, service, and

application integration

• Mobile Lifecycle Management

• IBM Worklight

Key Capabilities

• Mobile Device Management

• Secure Network

Communications &

Management

• Device analytics and control

Customers are focused on a new set of mobile “client initiatives”

http://www.computerworld.com/s/article/9178145/ING_Direct_praises_IBM_s_Websphere_f

or_role_in_its_mobile_banking_app

© 2012 IBM Corporation5

The Premier Event for Software and Systems Innovation

Extending businessto mobile customers

and workforce

Improve operational efficiencies and

reduce costs

Differentiate the customer experience

Enable new services and business models

Busin

ess

Re

su

lts

Banking Insurance Healthcare Telecom Retail Government Others

User Notification

3rd Party Mobility Services

Location Services

Mobile Payments

Social Mobile Commerce

Customer Careand Insights

Workforce Optimization

Product andService Innovation

IBM Enterprise Mobile Platform

Social Collaboration

Customers are looking for a mobile platform that solves their needs

Build mobile applications

Connect to, and runbackend systems in support of mobile

Manage mobile devices and applications

Secure my mobile business

Extend existing business capabilities to mobile devices

Transform the business by creating new opportunities

© 2012 IBM Corporation6

The Premier Event for Software and Systems Innovation

Mobile client initiatives: Build and Connect

Build mobile applications

Connect to, and runbackend systems in support of mobile

Manage mobile devices and applications

Secure my mobile business

Extend existing business capabilities to mobile devices

Transform the business by creating new opportunities

Client Initiatives

Customers can now build enterprise mobile

applications that:

• Run on multiple mobile devices

• Connect to enterprise back-end

applications and information systems

• Fulfills fast time-to-market requirements

and can be rapidly updated with new

releases

• Deliver high quality user experience

© 2012 IBM Corporation7

The Premier Event for Software and Systems Innovation

Rich, cross-platform application development IBM Worklight V5.0

Enables flexible development, back-end

integration and ongoing management of

rich, cross-platform mobile apps using

standards-based technologies and tools

Mobile-optimized middleware delivering

an enterprise-grade solution that meets

the needs of mobile employees and

customers

Key capabilities:

Strong authentication framework

Encrypted offline data store

Enterprise back-end connectivity

Unified push notifications

Data collection for analytics

Direct updates and remote disablement

Packaged runtime skins

Expanded platform support

Fast and cost-effective development, integration and management of rich, cross-

platform mobile applications.

© 2012 IBM Corporation8

The Premier Event for Software and Systems Innovation

Worklight Introduction

Worklight is an open, complete and advanced mobile

application platform for HTML5, hybrid and native apps.

© 2012 IBM Corporation9

The Premier Event for Software and Systems Innovation

Worklight StudioA complete, extensible environment with maximum code reuse and per-device optimization

Worklight ServerUnified notifications, runtime skinning, version management, security features, integration and delivery

Worklight Runtime ComponentsExtensive libraries and client APIs that expose and interface with native device functionality and the Worklight server

Worklight ConsoleA web-based console for real-time analytics and control of your mobile apps and infrastructure

Worklight mobile platform overview

© 2012 IBM Corporation10

The Premier Event for Software and Systems Innovation

Worklight Studio

10

• Eclipse-based IDE

• Combining native and standard web

technologies in one multiplatform app

• Environment-specific optimization

• 3rd-party libraries integration

• Device SDK integration

• Back-end connectivity utilities

© 2012 IBM Corporation11

The Premier Event for Software and Systems Innovation

Single Shared Codebase

Common code placed

in primary file

Environment optimization

code is maintained

separately

© 2012 IBM Corporation12

The Premier Event for Software and Systems Innovation

Incorporated Device SDKs

© 2012 IBM Corporation13

The Premier Event for Software and Systems Innovation

Integrating Best-in-class Tools

Worklight is compatible with prominent HTML5 libraries and tools:

© 2012 IBM Corporation14

The Premier Event for Software and Systems Innovation

Worklight Server

14

• Distribution of mobile web apps

• Enterprise connectivity:

• Secure client/server connectivity

• Direct access to enterprise back-end data and transaction capabilities

• Authentication enforcement

• Client control:

• Application version management and remote disabling

• Direct update of application code

• Unified Push Notifications

• Aggregation of usage statistics

© 2012 IBM Corporation15

The Premier Event for Software and Systems Innovation

Secure back-end

integration

XML-based declarative

specification

Multi-source data mashups

Eclipse plug-in supporting

auto-complete and

validation

Simplified adapter testing

Server-side debugging

Web services and JDBC

integration

Access to session data and

user properties

Back-end Integration

© 2012 IBM Corporation16

The Premier Event for Software and Systems Innovation

Flexible Push Notification Framework

Multiple users logging into the same app

Multiple event sources from same back-

end

Many-to-many relationship between event

sources and apps

One application multiple devices

Custom subscription management

Common APIs for both iOS and Android

© 2012 IBM Corporation17

The Premier Event for Software and Systems Innovation

Device Runtime Components

17

• Framework for server integration:

• Secure server connectivity

• Authentication

• Remote disable & notification

• Push registration

• Event reporting for analytics & audit

• Cross-platform compatibility layer

• Runtime Skinning

• Secure encrypted storage

© 2012 IBM Corporation18

The Premier Event for Software and Systems Innovation

Worklight Console

18

• Application Version Management

• Push management

• Usage reports and analytics

• Reports of custom application events

• Configurable audit log

• Administrative dashboards for:

• Deployed applications

• Installed adapters

• Push notifications

• Data export to BI enterprise systems

© 2012 IBM Corporation19

The Premier Event for Software and Systems Innovation

App Management

© 2012 IBM Corporation20

The Premier Event for Software and Systems Innovation

Data Collection and Analytics

© 2012 IBM Corporation21

The Premier Event for Software and Systems Innovation

Advanced Reporting Functionality

21

© 2012 IBM Corporation22

The Premier Event for Software and Systems Innovation

Mobile client initiatives: Build and Connect

Build mobile applications

Connect to, and runbackend systems in support of mobile

Manage mobile devices and applications

Secure my mobile business

Extend existing business capabilities to mobile devices

Transform the business by creating new opportunities

Client Initiatives

Customers can now build enterprise mobile

applications that:

• Run on multiple mobile devices

• Connect to enterprise back-end

applications and information systems

• Fulfills fast time-to-market requirements

and can be rapidly updated with new

releases

• Deliver high quality user experience

Rational Collaborative

Lifecycle Management –

accelerating mobile app

development across

platforms

© 2012 IBM Corporation23

The Premier Event for Software and Systems Innovation

Mobile Software Development is a Team Sport

• Many disciplines are involved – stakeholders, various

developer specialists, testing, documentation, project

managers

• The most effective teams have clear visibility to what

each team member is expected to be working on, and

how each member is progressing with their part of the

shared effort.

• As work progresses, efficient communication is

key – coordinating between team members allows

the most effective execution.

• The tools used in a team’s software

development can facilitate such communication or

they can create barriers between team roles.

• Really effective agile teams use tools that are as

integrated as the team members are.

© 2012 IBM Corporation24

The Premier Event for Software and Systems Innovation

The Rational Team Concert (RTC) Build Engine integration provides a controlled build environment for mobile apps – both native and hybrid

Team Concert Client

Build SCM

sourcesexecutables,

logfiles

Team

repository

of apps

Studio

iOS

SDK

Android

SDK

RIM

SDK

Builder

© 2012 IBM Corporation26

The Premier Event for Software and Systems Innovation

IDEs for Mobile Code Construction

IBM Worklight Studio

– Includes tools focused on mobile client development with mobile web, hybrid and native

approaches

– Joins the strength of Worklight Studio and Rational mobile tools

– Available only as part of the IBM Mobile Foundation and IBM Worklight

Rational Application Developer (RAD)

– Enterprise application development for WebSphere

– Advanced programming, cloud, collaboration and code quality tools

– Includes mobile web and web 2.0 support

– Sold standalone or as a WAS/Tools bundle

WAS Developer Tools for Eclipse (WDT)

– Subset of RAD focused on core programming models

– Available bundled with WAS

– Available unsupported at no charge, or supported for a fee

– Includes mobile web and web 2.0 support

© 2012 IBM Corporation27

The Premier Event for Software and Systems Innovation

Mobile Application Spectrum Coverage

Web

Application

Mobile Web

Application

Browser execution

Hybrid Mobile

Application

Native Mobile

Application

AppStore install

Cross-platform Rich

RAD/WDT IBM Worklight Studio

Control of Distribution Marketing Presence

© 2012 IBM Corporation28

The Premier Event for Software and Systems Innovation

End-to-end mobile IDE

Create

Project

Construct

UI

Test in

simulator

or device

Build

App

Code

Business

Logic

Preview

in

browser

Debug in

browser

IBM Worklight Studio

Native SDK

Preview

Build

In

Studio

In RTC

© 2012 IBM Corporation29

The Premier Event for Software and Systems Innovation

IBM Worklight Developer Edition Overview

The tooling design follows a Mobile-centric approach

–“Environment” Mobile OS

–“Skin” device form factor

Multi-channel support is front and center

–Mobile platforms (Android and iOS primarily)

–Mobile Web

–Desktop widgets (ie. Adobe AIR)

–Web widgets (ie. Facebook)

Deployment target is Mobile Platform Server

–Backed by WAS/Tomcat for production, and a light-weight web container for

development

The IDE includes the Tools, Worklight Server and database

–No separate installs required anymore

© 2012 IBM Corporation30

The Premier Event for Software and Systems Innovation

Create mobile project

Worklight projects contain:

• Applications (mobile UI)

• Adapters (stateless services)

© 2012 IBM Corporation31

The Premier Event for Software and Systems Innovation

Add Environment

© 2012 IBM Corporation32

The Premier Event for Software and Systems Innovation

Add skins

© 2012 IBM Corporation33

The Premier Event for Software and Systems Innovation

Source editing tools

HTML JavaScript Dojo CSS JSON

Code Assist x x x x x

Validation x x x x x

Outline x x x x x

© 2012 IBM Corporation34

The Premier Event for Software and Systems Innovation

Visual UI Construction

Construct Mobile UI with Rich Page Editor

© 2012 IBM Corporation35

The Premier Event for Software and Systems Innovation

Preview in browser

Perform device specific tests in the Mobile Browser Simulator: supports PhoneGap and

Worklight client API

© 2012 IBM Corporation36

The Premier Event for Software and Systems Innovation

Debug web code

Remote Debug with Desktop browser from inside the workbench

© 2012 IBM Corporation37

The Premier Event for Software and Systems Innovation

Native build and test

© 2012 IBM Corporation38

The Premier Event for Software and Systems Innovation

Develop adapters

• An Adapter is a transport layer used

by the Worklight Platform to

connect to various back-end

systems.

• Adapters are used for:

–Retrieving information

–Performing actions

• Out of the box:

–SQL Adapter

–HTTP Adapter (supports both

REST and SOAP)

Query

Update

data

Data/Result

as JSON

Invoke

adapter

procedure

SQL WS HTTP

Response

1

2 3

4

JMSCastIron

© 2012 IBM Corporation39

The Premier Event for Software and Systems Innovation

Develop adapters

–Create Worklight Adapter within Worklight Studio

–Test the adapter from Worklight Studio

–Deploy the Adapter to the Worklight Server

© 2012 IBM Corporation40

The Premier Event for Software and Systems Innovation

Rational Team Concert Integration

Worklight

Build Ant

RTC Code

Repository SDK

Cmd Line

© 2012 IBM Corporation41

The Premier Event for Software and Systems Innovation

Integrating with RAD via shell-sharing

EJB

Database

JAX-RS

WS-*

SCA

OSGi

IBM SmartCloud

WAS

DB2

WAS

DB2

WAS

WAS

Deploy

TestConnect

IBM Worklight Studio

RAD

Problem

Determination

Team &

Collaboration

© 2012 IBM Corporation42

The Premier Event for Software and Systems Innovation

www.ibm.com/software/rational

© 2012 IBM Corporation43

The Premier Event for Software and Systems Innovation

www.ibm.com/software/rational

© 2012 IBM Corporation44

The Premier Event for Software and Systems Innovation

Acknowledgements and disclaimers

© Copyright IBM Corporation 2012. All rights reserved.

– U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

IBM, the IBM logo, ibm.com, Rational, the Rational logo, Telelogic, the Telelogic logo, Green Hat, the Green Hat logo, and other IBM products and

services are trademarks or registered trademarks of International Business Machines Corporation in the United States, other countries, or both. If these

and other IBM trademarked terms are marked on their first occurrence in this information with a trademark symbol (® or ™), these symbols indicate

U.S. registered or common law trademarks owned by IBM at the time this information was published. Such trademarks may also be registered or

common law trademarks in other countries. A current list of IBM trademarks is available on the Web at “Copyright and trademark information” at

www.ibm.com/legal/copytrade.shtml

Other company, product, or service names may be trademarks or service marks of others.

Availability: References in this presentation to IBM products, programs, or services do not imply that they will be available in all countries

in which IBM operates.

The workshops, sessions and materials have been prepared by IBM or the session speakers and reflect their own views. They are provided for

informational purposes only, and are neither intended to, nor shall have the effect of being, legal or other guidance or advice to any participant.

While efforts were made to verify the completeness and accuracy of the information contained in this presentation, it is provided AS-IS without

warranty of any kind, express or implied. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, this

presentation or any other materials. Nothing contained in this presentation is intended to, nor shall have the effect of, creating any warranties or

representations from IBM or its suppliers or licensors, or altering the terms and conditions of the applicable license agreement governing the use of

IBM software.

All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have

achieved. Actual environmental costs and performance characteristics may vary by customer. Nothing contained in these materials is intended to,

nor shall have the effect of, stating or implying that any activities undertaken by you will result in any specific sales, revenue growth or other results.

© 2012 IBM Corporation45

The Premier Event for Software and Systems Innovation

© Copyright IBM Corporation 2012. All rights reserved. The information contained in these materials is provided for informational purposes only, and is provided AS IS without warranty of any kind, express or implied. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, these materials. Nothing contained in these materials is intended to, nor shall have the effect of, creating any warranties or representations from IBM or its suppliers or licensors, or altering the terms and conditions of the applicable license agreement governing the use of IBM software. References in these materials to IBM products, programs, or services do not imply that they will be available in all countries in which IBM operates. Product release dates and/or capabilities referenced in these materials may change at any time at IBM’s sole discretion based on market opportunities or other factors, and are not intended to be a commitment to future product or feature availability in any way. IBM, the IBM logo, Rational, the Rational logo, Telelogic, the Telelogic logo, and other IBM products and services are trademarks of the International Business Machines Corporation, in the United States, other countries or both. Other company, product, or service names may be trademarks or service marks of others.

www.ibm.com/software/rational