劉達-IBM 企業(yè)移動平臺初探_第1頁
劉達-IBM 企業(yè)移動平臺初探_第2頁
劉達-IBM 企業(yè)移動平臺初探_第3頁
劉達-IBM 企業(yè)移動平臺初探_第4頁
劉達-IBM 企業(yè)移動平臺初探_第5頁
已閱讀5頁,還剩74頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認(rèn)領(lǐng)

文檔簡介

IBM企業(yè)移動平臺初探

劉達liuda@

IBM應(yīng)用開發(fā)商合作部

1

evolutionof

Host/Mainframe

Mobileisasignificantcomponentofthe

computing

Mobile/Wireless/Cloud

Web/Desktop

Client/Server

Mobileisdifferent:?Transformationalbusinessmodels?Fasterlifecycles,moreiterative

?Fragmentationdrivesmovementtoopenstandards

Volumes(Millions)

Unit

Mobileisanenterprisepriority

GrowthinInternetConnectedDevicesMobileandCloudaretopspending

1200

WWMediaTablets

WWNotebooks

WWPCs

WWSmartphones

600

DramaticGrowthinMobileDevices

?Mobiledatatrafficexceededvoicein20102

?ShipmentsofSmartphonesexceededtotalPCshipmentsforthefirsttimein20113

?10Billionmobileconnecteddevicesareexpectedtobeinuseby20203

Source:WellsFargoSecurities,January23,2012

“FosteringthePeople:TheShifttoEngagementApps”

prioritiesforCIOs1

2WirelessIndustryNews,August26,201032011Economist

201020112012E2013E2014E2015E

12011IBMGlobalCIOStudy

0

Mobilehandsetdominanceisdifficulttopredict

2001Nokia

40%Marketshareofall

mobilephones

2011Apple

Mostvaluablecompanyintheworld,27.3%of

USsmartphones

2013+Android

Has43.7oftheUS

smartphonemarket10/11

2008RIM

Fastestgrowingstock.56%

ofsmartphones,77%3yr

CAGR(19.7%sharein10/11

1995Palm

500,000unitssoldin6mts.70%marketshare

BusinesstoConsumer

?Improvecustomersatisfaction

?Deepercustomerengagementandloyalty

?DriveincreasedsalesthroughPersonalizedoffers

?Customerservice

?Competitivedifferentiator

?Improvebrandperception

?Deeperinsightintocustomerbuyingbehaviorforupsellandcrosssell

?Improveinstoreexperiencewithmobileconciergeservices

Mobilepresentsanenormoussetofopportunities

BusinesstoEnterprise

?Increaseworkerproductivity

?Improvedclaimsprocessing

?Increaserevenuethroughsalesengagements

?Extendexistingapplicationstomobileworkersandcustomers

?Reducingfuel,gas,orfleetmaintenancecoststhatarerelevantinparticularindustries

?Increaseemployeeresponsivenessanddecisionmakingspeed

?ResolveinternalITissuesfaster

?Reducepersonnelcost(utilizingpersonalownedinsteadofcorporateissueddevices)

Theneedforbusinessagilityalongwithchangingemployeebehaviorswillrequireenterprisestomitigateoperationalriskassociatedwithmobility

TrendsinEnterpriseMobility…

NumberandTypesofDevicesareEvolving

MobilityisDrivingthe“Consumerization”ofIT

IncreasingDemandforEnterpriseApplications

SecurityRequirementsBecomingMoreComplex

〉46%oflargeenterprisessupportingpersonally-owneddevices

〉BillionsofdownloadsfromAppStores;longertermtrendforappdeployment

〉1Billionsmartphonesand1.2BillionMobileworkersby2014

〉Largeenterprisesexpecttotripletheirsmartphoneuserbaseby2015

〉20%ofmobileworkersaregettingbusinessappsfromappstorestoday

〉50%oforganizationsplantodeploymobileappswithin12months

〉Threatsfromrogueapplicationsandsocialengineeringexpectedtodoubleby2013

〉50%ofallappssenddeviceinfoorpersonaldetails

Native

Applications

Description:

Anapplicationthatismainlyacquiredthroughappstoresandinstalledonthedevice.PlatformspecificSDKsrequiredfordevelopment.

Advantages:

ARichuserexperienceAOfflinecomputingAAccesstodevicecapabilities

Disadvantages:

ADevelopmentandmaintenancecostsrequired

tosupportmultipleplatformsA$50k-$150kperappAVersionsupport

AExternallycontrolleddeliverychannels(appstores)

Advancements:

ADevelopmentframeworkswithin-builtbusinessmodelsformonetizingapplications

Hybrid

Applications

Description:

Installedapplicationbuiltusingwebtechnologies(i.e.JavaScript,CSS,HTML)thatleverageplatformspecificwrapperstoaccesstodevicecapabilities.

Advantages:

AReduceddevelopmentcostsovernativeapplications

ACansupportofflinecomputing

AAccesstosomeofthedevicecapabilities

Disadvantages:

AInclusionofthird-party

wrapperscouldimpact

performance

AVersionsupport&

management

Advancements:

AFrameworksforbuildinghybridapplicationsmaturing

AToolstoprovidenativelook-and-feel

AImprovementsinperformance

PrimeronMobileApps…

Browser-basedMobileApplications

Description:

WebapplicationresidesonserverandisaccessedviatheInternetusingabrowser.

Advantages:

ARelativelylowdevelopment

costs

AVersionmanagement

AUbiquitouschannelfor

applicationdelivery

Disadvantages:

ANetworklatency

ABandwidthconsumption

ALimitedaccesstodevicecapabilities(i.e.accelerometer,GPS,camera,contactsetc.)

Advancements:

AToolstoprovidenativelook-and-feel

AStandards(i.e.HTML5)offeringgreateraccesstodevicecapabilities,someofflinesupport,andclientsideexecution

ATechniquestomimicuser

experienceinlaunching

applications

?MobileDevelopmentismoreexpensivethantraditionalWebAppDevelopment:

–Whichsmartphone?Whichtablet?Whichformfactor?

?個iOS,Android,Blackberry,WindowsPhone

?個Alloftheabove..

–Skills?

?個Webornativeapps?JavaorObjectiveC?Orother?

–Maintenance?

?個SeparatesoftwarestacksforeachmajorOS

?個SeparateapplicationsforeachmajorOS

?個HowdoIkeepsoftwarecurrent?

–Security?

?個Encryption?Authentication?

?個Responsetostolen/lostdevices?

–Management?

?個CanIseemyapps?CanIdisablethemremotely?

–EnterpriseIntegration?

?個HowdoIbuildcross-channelapp?

?SincetheMobilefieldisstillevolving,soanenterprisewouldwantto

pickaplatformthatcanadapttothefuture.

EvolvingMobileLandscape-

Challenges

Business

Results

WorkforceOptimization

Social

Collaboration

Productand

CustomerCare

andInsights

MobilePayments

ServiceInnovation

UserNotification

LocationServices

business

businessbycreatingnewopportunities

IBMMobileEnterprise:APlatformForMobileInitiatives

BankingInsuranceHealthcareTelecomRetailGovernmentOthers

IBMEnterpriseMobilePlatform

Improveoperational

efficienciesand

reducecosts

Enablenewservicesandbusinessmodels

Differentiatethecustomerexperience

Extendingbusiness

tomobilecustomers

andworkforce

3rdPartyMobility

Services

SocialMobileCommerce

ManagemobiledevicesandapplicationsSecuremymobile

ExtendexistingbusinesscapabilitiestomobiledevicesTransformthe

Buildmobile

applications

Connectto,andrun

backendsystemsin

supportofmobile

CaseStudy:LeadingInternetBank

B2C:Flexibleclient-sideapparchitecturetore-usemobilewebsitecontent,usingdevicesfeature(GPS,Camera,etc.)

CaseStudy:CreditCard

B2C:Rich,100+-screenappforacreditcardcompany

sophisticatedfunctionality,backendintegration,millionsusers,frequentupdate…

–Functionalitiestypicallyincludesover-the-airdistributionofapplications,dataandconfiguration.

Terminologies

?MobileEnterpriseApplicationPlatform

(MEAP)

–Addressthedifficultiesfordevelopingmobilesoftwarebymanagingofthediversityofdevices,networksandusergroupsatthetimeofdeploymentandthroughoutthemobilesolutionlifecycle.

–Comprisesof:

?Mobilemiddlewareserver–handlesallsystemintegration,security,communications,scalability,cross-platformsupportetc

?Mobileclientapp–runsonthedeviceandconnecttothemiddlewareserver.

?MobileDeviceManagement(MDM)

–Tosecure,monitor,manageandsupportmobiledevicesdeployedacrossenterprises.

–GenerallyforB2E(businesstoemployeedevices)

TheIBMMobilePlatform

(i.e.,whatyouneedtobuildandeffectivelyincorporatemobileappswithyourbusiness)

Rational

Lifecycle

Tivoli

Security

SecurityGateway

MobileDeviceManagement

IBMMobilePlatform

WorklightMobilePlatform

ElasticCaching

Analytics

DecisionManagement

Business

Process

Management

EnterpriseApps

SOA&Connectivity

Connectivity

MQTT,Broker,

CastIron

AppsDevelopment

–Buildonce.Runanywhere.

–Android,iOS,Blackberry,Microsoft,iGoogle,Facebookapp,AdobeAIR

–RuntimeSkinsfordifferentresolutions

–Standardsbasedlanguage

–ApplicationLifecycleManagement

–CentralizedBuildProcess

?Security

–Securedofflineaccess

–Ondeviceencryptionofuserdata

–Singlesign-onmechanism

–SSLencryption

–Directaccesstoback-endsystems

–LeverageexistingSOAservices

–Server-sidecaching

?ApplicationManagement

–Appdistribution

–AppVersionmanagement

–Remotedisablingapps

–DirectUpdate

–PushNotificationservicemanagement

–AnalyticsandUsagereport

?Middleware

–WebSphereApplicationServer

??EnterpriseIntegration

WorklightAtaGlance

–Protectionagainstreverseengineeringvulnerabilities–Reliable,HighlyAvailableandScalable

–Multi-factorauthentication

BuiltonEclipseand

RunsonWAS7

WorklightStudio

Themostcomplete,extensibledevelopmentenvironmentwithmaximumcodereuseandper-deviceoptimization

IntegratewithRAD

WorklightOverview

WorklightServer

Mobilemiddlewareofferingunifiedpushnotifications,versionmanagement,securityandintegration

Runsondevices

WorklightRuntimeComponents

ExtensivelibrariesandclientAPIsthatexposeandinterfacewithnativedevicefunctionalityandtheWorklightServer

IntegratedwithWASAdminConsole

Aweb-basedconsoleforreal-timeanalyticsandcontrolofyourmobileappsandinfrastructure

WorklightConsole

?Eclipse-basedIDE

?IntegratewithRationalApplicationDeveloper

?Combiningnativeandstandardwebtechnologiesinonemultiplatform

?Environment-specificoptimization

?3rd-partylibrariesintegration

?DeviceSDKintegration

?Back-endconnectivityutilities

app

AppsDevelopmentwithWorklightStudio

?Supportsavarietyofapplicationtypes

?Mobile

–iPhone

–iPad

–Android

–BlackBerry

–WindowsPhone

–Mobilewebapp

?Desktop

–Windows7andVista

–AdobeAIR

–MacOSDashboard

?WebApplications

–Facebook

–iGoogle

–Embeddedwebpage

SupportedApplicationTypes

WebAppsHybridApps-WebHybridApps-MixedNativeApps

1001010

1010111

0100101

0101010

1010010

0100101

1110010

0110010

DeviceAPIs

DeviceAPIs

WorklightMobileApplicationTypes

WebAppsHybridApps-WebHybridApps-MixedNativeApps

Useraugmentswebcodewithnativelanguageforuniqueneedsandmaximizeduserexperience.

SourcecodeconsistsofwebcodeandincludedWorklightlibrariesandexecutedinanativeshell.

WritteninHTML5JavaScriptandCSS3.Quickandcheaptodevelop,butlesspowerfulthannative.

Platform-specific.Requiresuniqueexpertise,priceyandlongtodevelop.Candeliverhigheruserexperience.

MobileBrowser

NativeApplication

WorklightRuntime

WorklightRuntime

100101010101110100101

Web

001001010111010010011

010101010100100100101

111001001100101010100

101010101001010101010

101010101011111100000

101010101010100100101

010101010100011110101

000111101010011101010

111110010110111101000

1011001110

WebCode

Native

<!DOCTY

PEhtml

PUBLIC

created

2003-12

</p></body></html>

WebCode

<!DOCTYPEhtmlPUBLIC

<html>

<!DOCTYPEhtmlPUBLIC<html>

<!--created2003-12-12-

-

<head><title>XYZ</title>

<!--created2003-12-1

<head><title>XYZ</title

</head>

</body>

</html>

</head>

<body>

</p>

</body>

</html>

DeviceAPIs

SingleSharedCodebase

Commoncodeplacedinprimaryfile

Environmentoptimizationcodeismaintainedseparately

IncorporatedDeviceSDKs–Androidand

BlackberrySDK

IncorporatedDeviceSDKs–iOSSDK

IntegratingBest-in-classTools

WorklightiscompatiblewithprominentHTML5librariesandtools:

25

WorklightClientArchitecture

RuntimeSkinning–UseCases

Different

ScreenSizes

Different

ScreenDensities

Different

InputMethod

Support

forHTML5

ExampleMobileSkinonAndroid

ExampleMobileSkinoniPAD

?BuildallandDeploy

BuildandDeploy

?Createthevendorproject

?DeployserverportionoftheapptoWorklightserver

Integrationwith

RationalTeamConcert

BuildSystem

Worklight

CentralizedBuild

RationalTeamConcertServer

RTCRepository

CentralTeamServer

RationalTeamConcertTeamBuildEngine

SharedBuildServer

Builder

RIM

SDK

Android

SDK

iOS

SDK

MobileDevelopmentLifecycleManagement

IndividualDeveloperWorkstation

RationalApplication

Developer

NativeMobileToolkits

&Emulators

RationalApplicationDeveloperWeb&MobileTools

RationalTeamConcertEclipseClient

WorklightStudio

EclipseClient

Applicationcenter

?TheIBMWorklightApplication

Centerwascreatedtostreamline

testingprocessesofappsby

enablingdevteamstoshareapps

withtesters,designers,sample

users,productmanagers,andany

otherstakeholders.

?Testerscandownloadtheappsto

theirdevicesusingaspecialmobile

clientapplicationandprovide

feedbackondirectlyfromtheir

devices.Developerscanthen

gatherthisfeedbackandconsider

itinfuturedevcycles.

?Distributionofmobilewebapps

?Enterpriseconnectivity:

?Secureclient/serverconnectivity

?Directaccesstoenterpriseback-enddataandtransactioncapabilities

?Authenticationenforcement

?Clientcontrol:

?Applicationversionmanagementandremotedisabling

?Directupdateofapplicationcode

?UnifiedPushNotifications

?Aggregationofusagestatistics

WorklightServer

38

Worklight

Server

Web

resources

Updatewebresource

DirectUpdate–On-deviceLogic

1.Webresources

WorklightRuntime

Pre-packaged

resources

Download

1

packagedwithapptoensureinitialofflineavailability

AppStore

2.Webresources

2Transfer

transferredtoapp'scachestorage

Checkforupdates

3

Cached

resources

3.Appchecksforupdates?Onstartup

?Onforeground

4

4.Updatedwebresourcesdownloadedwhennecessary

39

end

Integration

Back-

Secureback-endintegration

XML-baseddeclarative

specification(JSON)

Multi-sourcedatamashups

Eclipseplug-insupportingauto-

completeandvalidationSimplifiedadaptertestingServer-sidedebugging(soon)

WebservicesandJDBC

integration

Accesstosessiondataanduserproperties

ServersideCaching

LeverageexistingSOAservicesandESB

40

PushNotification

ReceivingNotificationontheDevice

41

UnifiedPushNotifications

Components

DeviceRuntime

?Frameworkforserverintegration:

?Secureserverconnectivity

?Authentication

?Remotedisable¬ification

?Pushregistration

?Dynamicpageloading&caching(soon)

?Eventreportingforanalytics&audit

?Cross-platformcompatibilitylayer

?RuntimeSkinning

?Secureencryptedstorage

43

Protectingdataonthedevice

Secure

challenge-

responseon

startup

Jailbreak

and

malware

detection

App

authenticity

testing

Secure

challenge-

responseon

startup

Jailbreak

andmalwaredetection

App

authenticity

testing

Encryptedofflinecache

Encryptedofflinecache

Offline

authentication

Offline

authentication

Using

deviceidas

2ndfactor

RobustAuthenticationandAuthorization

Using

deviceidas

2ndfactor

Authenticatio

nintegrationframework

Data

protectionrealms

Authenticatio

nintegrationframework

Data

protectionrealms

ApplicationSecurity

SecuringMobileApps

Remote

disable

Direct

update

EnforcingSecurityUpdates

Direct

disable

Remote

update

Shellas

organization

alsandbox

StreamlineCorporateSecurityProcess

Shellas

organization

alsandbox

Proven

platformsecurity

SSLwith

server

identity

verification

Code

obfuscation

SSLwith

server

identity

verification

Proven

platformsecurity

Code

obfuscation

44

WorklightConsole

?ApplicationVersionManagement

?Pushmanagement

?Usagereportsandanalytics

?Reportsofcustomapplicationevents

?Configurableauditlog

?Administrativedashboardsfor:

?Deployedapplications

?Installedadapters

?Pushnotifications

?DataexporttoBIenterprisesystems

DynamicControlofDeployedApps

?Centralizedcontrolofallinstalledapplicationsandadapters

?Remotelydisableappsbydeviceandversion

?Customizeusermessages

PushServicesManagement

AdvancedReportingFunctionality

AdaptersOverview

Query

2

Information

SystemsDatabases

Applications

Updatedata

Response

3

?AnAdapterisatransportlayerusedbytheWorklightPlatformtoconnecttovariousback-endsystems.

?Adaptersareusedfor:

?Retrievinginformation

?Performingactions

?Outofthebox:

?SQLAdapter

?HTTPAdapter(supportsbothRESTandSOAP)

SQL

WS

HTTP

Worklight

1Invoke

adapter

procedure

Data/ResultasJSON

4

49

Deployinganadapter

?Selectanadaptertodeploy

?RightclickonitRunAs-DeployWorklightAdapter

?TheWorklightStudiowillarchivetheadaptercodeanddeployitontotheWorklightServer

?YoucanseethedeployedadapterintheWorklightConsole

50

Adapterstructure

XML

AdapterName.

Mandatoryattribute.

<wl:adaptername="mySQLAdapter">

<displayName/>

<description/>

<connectivity>

<connectionPolicy>

<loadConstraints>

</connectivity>

<procedure/>

<procedure/>

………

</wl:adapter>

51

Adapterstructure

XML

<wl:adaptername="mySQLAdapter">

<displayName/><description/><connectivity>

<connectionPolicy><loadConstraints>

</connectivity>

<procedure/>

<procedure/>

………

</wl:adapter>

Nametobedisplayed

intheWorklightConsole.

Optionalparameter.

52

Adapterstructure

XML

<wl:adaptername="mySQLAdapter"><displayName/>

<description/>

<connectivity><connectionPolicy>

<loadConstraints>

</connectivity><procedure/><procedure/>

Additionalinformationtobe

displayed

intheWorklightConsole.

Optionalparameter.

………

</wl:adapter>

53

</wl:adapter>

Adapterstructure

XML

<wl:adaptername="mySQLAdapter">

<displayName/>

<description/>

<connectivity><connectionPolicy>

<loadConstraints>

</connectivity>

<procedure/>

<procedure/>

………

Connectivity

?Definestheconnectionpropertiesandloadconstraintsoftheback-endsystem.

?Whenthebackendrequiresend-userauthentication,thiselementdefineshowusercredentialsareobtained.

54

Adapterstructure

XML

<wl:adaptername="mySQLAdapter">

<displayName/>

<description/>

<connectivity>

<connectionPolicy><loadConstraints>

</connectivity>

<procedure/>

<procedure/>

………

</wl:adapter>

Procedures

Declareaserviceforaccessingaback-endapplication.Oneentrypereachadapterprocedure.

55

AdapJsSture

?Eachproceduredeclaredintheadapter’sXMLfilemusthaveacorrespondingfunctionintheJSfile

?ProcedurelogicsaredefinedviaJavaScriptusingWL.ServerAPI

XMLFile

JSFile

56

HTTPAdaper

ConnectivitySettings

?Opentheadapter’sXMLfile

?Setprotocol(HTTPorHTTPS)

?SetHTTPdomain(thedomainpartoftheHTTPURL)

?SetTCPPort

57

JSFile

ProceduresImplementation,Cont

?ServiceURLisusedforprocedureinvocation

?SomepartsoftheURLareconstant(e.g.

/

)–theyaredeclaredintheXMLfile

?OtherpartsoftheURLmaybeparameterized,thatis,substitutedatruntimebyparametervaluesprovidedtotheWorklightProcedure

?URLpartsthatcanbeparameterizedare:

?Pathelements

?Querystringparameters/rest/customers?custid=12

?FragmentsPathelements

?Seeadapterdocumentationforadvancedoptionssuchas cookies,headers,encodingetc.

58

JSFile

ProceduresImplementation,Cont.

ReferenceGuideProductDocumentation

?ToinvokeanHTTPrequest,usetheWL.Server.invokeHttpmethod

?Itexpectsinputparametersobject

?Youcanspecify:

–HTTPmethod(GETorPOST)

–Returnedcontenttype(XML,JSON,

HTML,plain)

–Servicepath

–Queryparameters

–Requestbody

–Transformationtype

under

–ForafulllistofinvocationoptionspleaseseetheDeveloper

59

JSFile

SQLQuery

1

?ToexecuteanSQLquery

1.PrepareanSQLqueryusingtheWL.Server.createSQLStatementAPI

2.WL.Server.createSQLStatementshouldALWAYSbecalledoutsideofthefunction

3.Addadditionalparametersifrequired

4.UsetheWL.Server.invokeSQLStatementAPItoinvokepreparedqueries

5.Returninvocationresulttoprocedureinvocator(applicationoranotherprocedure)

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論