mobile cloud service

33
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Mobile Cloud Service Making Mobile Agile Steven Davelaar @stevendavelaar Oracle Mobile & Cloud ATeam

Upload: amis-friends-of-oracle-and-java

Post on 25-Jul-2015

281 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Mobile cloud service

Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |  Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |  

   Oracle  Mobile  Cloud  Service  Making  Mobile  Agile  

1  

Steven  Davelaar  @stevendavelaar  Oracle  Mobile  &  Cloud  A-­‐Team  

Page 2: Mobile cloud service

Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |  

Safe  Harbor  Statement  The  following  is  intended  to  outline  our  general  product  direcKon.  It  is  intended  for  informaKon  purposes  only,  and  may  not  be  incorporated  into  any  contract.  It  is  not  a  commitment  to  deliver  any  material,  code,  or  funcKonality,  and  should  not  be  relied  upon  in  making  purchasing  decisions.  The  development,  release,  and  Kming  of  any  features  or  funcKonality  described  for  Oracle’s  products  remains  at  the  sole  discreKon  of  Oracle.  

Oracle  ConfidenKal  –  Internal/Restricted/Highly  Restricted   2  

Page 3: Mobile cloud service

Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |  

Enterprise  Mobile  Challenges  LOB:  Time  to  Market  •  Speed  •  Ease  of  use  •  AcKonable  insights  

Total  Cost  Of  Ownership  •  Development  costs  &  agility  

• Mobile  Apps  PorUolio  ROI  

•  Keeping  pace  with  business  demands    

3  

IT  Security:  Mobile  Data  Loss  &  Breaches  • User  IdenKty  •  ApplicaKon  security  •  Content  security  

Dev  &  Architects:  Complexity  • MulK  OS  /  MulK  Device  

• Mobile  App  IntegraKon  

•  Security  

Page 4: Mobile cloud service

Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   Oracle  ConfidenKal  –  Internal/Restricted/Highly  Restricted   4  

Mobile  apps  are  complicated  to  develop…  Client  Dev  Tools  

IntegraDon  

Security  

Mobile  Services  

Monitor  &  Analyze  

MulDple  Environments  

Page 5: Mobile cloud service

Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |  

Why  Mobile  IntegraKon  is  Different  to  TradiKonal  IntegraKon?  

•  ConnecKon  Availability  •  Lighter  Protocols  •  Smaller  Payloads  •  Real  Kme  higher  transacKon  volumes  •  Backend  APIs  not  Mobile  ready  • Wireless  Data  Plan  Cost  •  Power  Savings  •  End  to  End  Security  • MulK  Form  Factors  

Page 6: Mobile cloud service

Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |  

Current  state  of  Mobility  Enterprise  Challenges  in  Mobile  Development  

2/3 of the time spent on mobility projects is connecting to, and securing back-end systems

Time spent On Integration

Source: 2014 Triangle Research Survey

Page 7: Mobile cloud service

Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   Oracle  ConfidenKal  –  Internal/Restricted/Highly  Restricted   7  

Why  Mobile  AnalyKcs  ?  

•  Retail  Co.:    Personalized  engagement  with  users  lead  to  over  20MM  downloads  =  $13B  in  gross  sales  via  mobile  devices  

 •  Media  Co:  Grew  digital  subscripKon  50%  in  12  months.  

SegmentaKon  helped  with  creaKng  profiles  to  increase  reach  to  1.3  million  people  per  month  

•  Company  with  $1B  in  annual  mobile  revenue  e.g.  Starbucks,  Domino’s  Pizza  

•  97%  upKme  =  $2.5M  loss  /  month  •  99%  upKme  =  $0.8M  loss  /  month  •  99.9%  upKme  =  $82K  loss  /  month  

CIO:  No  ROI  dashboard  with  insights  into  mobile  strategy  execuKon    LOB:  No  insights  into  applicaKon  adopKon  and  usage  for  personalized  engagement  Developers:  Very  complex  to  measure  and  derive  insights  on  applicaKon  crashes  and  performance  

Mobile  AnalyDcs  Challenges  

Business  Value  

Page 8: Mobile cloud service

Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |  

Oracle  Mobile  Cloud  Service  

8  

Making  Mobile  Agile  

MOBILE    CLOUD  SERVICE  

Complete  Set  of    Mobile  PlaUorm  Services  

And  AnalyKcs  

Engaging  &  Fast  Mobile  Apps  

Robust  Future  Proof  Backend  Services    &  Enterprise  ApplicaKons    

‘Build  to  Last’  World  

‘Need  for  Speed’  World  

Page 9: Mobile cloud service

Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |  

§  Simplifying  Enterprise  Mobility:  Easily  connect  mobile  app  to  enterprise  backend  services  &  security    

§  Speed  InnovaKon  &  Agility:  Keep  pace  with  business  needs,  create  personalized  engagement  

§ Reduce  Cost:  Reduce  cost  &  risk  of  mobile  connecKvity  to  enterprise  data  centers  

§ Personalize  Engagements:  Measure,  analyze,  engage  and  increase  mobile  ROI  

Oracle  Mobile  Cloud  Service    

Oracle  ConfidenKal  –  Highly  Restricted  

Page 10: Mobile cloud service

Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |  

Enterprise  Architect  

MCS  Admin  

Mobile  App  Developer  

“I  create  the  mobile  applica0ons  that  call  backend  services”  

Service  Developers  “I  create  the  backend  services  that  mobile  

applica0ons  call”  

Line  of  Business  Stakeholders  

“I  am  responsible  for  the  success  of  our  mobiliza0on  strategy”  

Mobile  Developer  

Geared  for  all  involved  Personas  

LOB  Stakeholder  

Service  Developers  

Amanda  –  MCS  Administrator  Enterprise  Architect  

“I  make  sure  we  have  a  secure,  

scalable  solu0on”  

MCS  Admin  “I  administer  MCS  for  our  company”  

.    

Page 11: Mobile cloud service

Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |  

MOBILE  APPLICATION  FRAMEWORK  

Others  

Mobile APIs / SDKs SECURE  

MOBILE    CLOUD  SERVICE  

Oracle  Mobile  Cloud  Service  

 Users    

Built-­‐in  APIs  Offline  Sync  

NoDficaDons  

User  Mgmt  

 Objs    

Storage  

Public  Cloud  

Connectors

3rd  Party  API  

Data  Shaping  

Custom

   Logic  

Orchestrate  

ON-­‐PREMISE  PACKAGED  

APPLICATIONS  

CUSTOM  APPLICATIONS  

CLOUD  

Custom  API  

Oracle  Cloud  Enterprise  SaaS  On-­‐premise  

Outside-­‐in,  Mobile  First  

Inside-­‐out,  Service  first  

AnalyDcs  

DiagnosDcs   Usage   Engagement  

ConDnuous  Development  

Monitoring   SDLC  

ICS  OSB  /  SOA  

NaDve  

Page 12: Mobile cloud service

Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |  

PlaUorm  API’s  -­‐  NoKficaKons  

• Register  devices  to  receive  push    noKficaKons  

•  Send  push  noKficaKons  to  mobile    devices  

Page 13: Mobile cloud service

Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |  

NoKficaKons  Console  

Oracle  ConfidenKal  –  Internal   13  

Page 14: Mobile cloud service

Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |  

PlaUorm  API’s  -­‐  Storage    

•  Store  ,  update,  delete  data  in  the  cloud.  • Use  cases:  

– JSON  payloads  for  data  caching  – Mobile-­‐app  (personal)  images,  files  

• Data  objects  are  stored  in  collecKons  – Private:  user  specific  – Shared:  visible  by  all  users  

Page 15: Mobile cloud service

Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |  

Storage  CollecKons  Console  

Oracle  ConfidenKal  –  Internal   15  

Page 16: Mobile cloud service

Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |  

PlaUorm  API  –  Database  

• Database  Management  API  – Create  and  delete  relaKon  DB  tables  – Implicit  table  creaKon  possible  

• Database  API    – CRUD  acKons  against  relaKon  tables  – Custom  SQL  queries      

Page 17: Mobile cloud service

Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |  

PlaUorm  API  –  Offline  API    

• Offline  Sync  Client  SDK  for  iOS/Android  –   Policy-­‐based  caching  of  any  REST  service  

•  Several  types  of  policies  – Fetch  policies  – ExpiraKon  policies  – EvicKon  policies  – Update  policies  

• Policies  can  be  combined  

Page 18: Mobile cloud service

Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |  

PlaUorm  API’s  –  AnalyKcs  API  

• Gain  Insight  in  App  Usage  • General  indicators  

– API  Calls  Count  and  Response  Time,  New  Users  ,  AcKve  Users,  Session  Count,  Session  DuraKon  

– AutomaKcally  tracked  when  using  iOS/Android  Client  SDK  

• App-­‐specific  indicators    – Custom  Events:  Call  AnalyKcs  API  from  Custom  Code  

Page 19: Mobile cloud service

Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |  

PlaUorm  API  -­‐  User  Management  

• User  Management  API    – Define  realm  with  users  – AuthenKcate  users  – Grant  roles  to  users  – Protect  API’s  with  roles    

Page 20: Mobile cloud service

Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |  

ImplemenKng  a  Custom  API  

• Define  the  REST  API  in  MCS  – From  scratch  or  import  RAML  doc  

•  Setup  Mock  Data  – Mobile  app  dev  can  start!  

• Define  Connectors  – SOAP  or  REST  

•  Implement  Custom  API    – JavaScript  using  Node.js  /  Express  

Oracle  ConfidenKal  –  Internal   20  

Page 21: Mobile cloud service

Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |  

Understanding  Node.js  

•  “JavaScript  on  the  Server”  • PlaUorm  built  on  top  of  Chrome’s  Javascript  RunKme  •  Lightweight  and  efficient  

– Uses  event-­‐driven,  non-­‐blocking  I/O  model  

•  Easily  build  fast,  scalable  network  applicaKons  • Perfect  for  data-­‐intensive  real-­‐Kme  applicaKons  •  Express.js:  web/mobile  applicaKon  features  on  top  of  Node.js  

Oracle  ConfidenKal  –  Internal   21  

Page 22: Mobile cloud service

Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |  

   

ImplemenKng  the  HR  Custom  API  

Page 23: Mobile cloud service

Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |  

   

Designing  a  Mobile-­‐OpKmized  HR  API  

• Design  opKmized  for  on-­‐demand  data  loading  – Get  list  of  departments  with  only  id  and  name  – Get  details  of  one  department  with  summary  list  of  employees  – Get  details  of  one  employee  

• Design  opKmized  for  data  caching  /  offline  usage  – Get  list  of  departments  and  its  employees  with  all  awributes  

• Mobile-­‐opKmized  API  needs  to  be  flexible  to  support  both  scenarios!    

Page 24: Mobile cloud service

Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |  

   

Designing  a  Mobile-­‐OpKmized  API  

•  The  mobile  developer  should  drive  API  design  – knows  the  supported  form  factors  and  which  data  is  needed  for  which  screen.  – knows  the  requirements  for  offline  mode,  and  how  mobile  development  tool  set  supports  and  implements  this.  

– designs  data  caching  strategies  for  performance  opKmizaKons  – decides  which  read  and  write  acKons  can  be  performed  in  background  thread  not  impacKng  user-­‐perceived  performance.  

Page 25: Mobile cloud service

Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |  

DocumenKng  the  Mobile  API  –  Poor  Man’s  Style  

Oracle  ConfidenKal  –  Internal   25  

Page 26: Mobile cloud service

Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |  

DocumenKng  the  Mobile  API  -­‐    Using  RAML  RESTful  API  Modeling  Language  

• Define  Resources  and  Methods  • Define  Path  and  Query  Parameters  • Define  (Error)  Responses  • Use  Examples  and/or  JSON  Schema    • Used  by  MCS  • Used  by  A-­‐Team  Mobile  Persistence  Accelerator  

Oracle  ConfidenKal  –  Internal   26  

Page 27: Mobile cloud service

Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |  

Demo  Part  1  -­‐  ImplemenKng  Mobile  API  using  MockUp  Data    

• Define  HR  Mobile  Back  End  – Secure  container  of  APIs  and  other  resources  for  a  defined  set  of  mobile  apps.    

– Register  the  apps  that  can  access  the  mobile  backend    – Select  the  APIs  that  you  want  available  for  those  apps.  

• Define  HR  RESTful  API  •  Test  Using  Sample  Data  

Oracle  ConfidenKal  –  Internal   27  

Page 28: Mobile cloud service

Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |  

ImplemenKng  a  Custom  API  

• Define  the  REST  API  in  MCS  – From  scratch  or  import  RAML  doc  

•  Setup  Mock  Data  – Mobile  app  dev  can  start!  

• Define  Connectors  – SOAP  or  REST  

•  Implement  Custom  API    – JavaScript  using  NodeJS  /  Express  

Oracle  ConfidenKal  –  Internal   28  

Page 29: Mobile cloud service

Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |  

Demo  Part  2  –  Wiring  Mobile  API  to  SOAP  Connector    

• Define  HR  SOAP  Connector  •  Test  HR  SOAP  Connector  • Download  JS  Scaffold  •  Implement  SOAP-­‐REST  TransformaKon  in  JS  •  Test  Mobile  API  •  Set  Up  Users  • Publish  Mobile  Back  End  

Oracle  ConfidenKal  –  Internal   29  

Page 30: Mobile cloud service

Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |  

AnalyKcs  

• Usage  – New  and  acKve  users  – Sessions  

• Business  – Events  – Funnels  

•  Technical  – API  calls  – Response  Kmes  

Overview  

Page 31: Mobile cloud service

Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |  

Other  Important  Features  

•  Scalability  –  Users,  apps,  use  cases,  security  models…  

•  Team  Management  –  Role  based  access  control  

•  Security  –  Basic  Auth  from  client  –  SAML,  Basic  Auth  etc.  to  connect  with  back-­‐ends  –  IdenKty  propagaKon  or  system  access  

•  Lifecycle  Management  –  One  or  more  environments  –  Controlled  deployment  with  dependency  checking  

•  End-­‐to-­‐End  DiagnosKcs  

True  enterprise  grade    

Page 32: Mobile cloud service

Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |  

TO  CLIENT  DEVELOPMENT  TOOLS

Oracle  Mobile  Cloud  Service  Making  Mobile  Easy  

NEW  SERVICES  &  API’S  

BUSINESS  IMPACT  

PRE-­‐BUILT  MOBILE  SERVICES

SECURITY  

CONTINUOUS  DELIVERY  SDLC  

Page 33: Mobile cloud service

Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |