Partner Webcast – Oracle REST Data Services Communication for Cloud and Mobility
-
Upload
oracleimc-innovation-modernization-center -
Category
Technology
-
view
373 -
download
2
Transcript of Partner Webcast – Oracle REST Data Services Communication for Cloud and Mobility
Stay Connected
BLOGS.ORACLE.COM/IMC
TWITTER.COM/ORACLEIMC
YOUTUBE.COM/ORACLEIMCTEAM
FACEBOOK.COM/ORACLEIMC
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Oracle REST Data Communication for Cloud and Mobility
Gökhan Göksu ISV Migration Center FMW Consultant [email protected]
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Agenda
1
2
3
REST for Cloud Application Development
Oracle REST Data Services and Oracle Cloud PaaS
Oracle Mobile Applications in Mobile Cloud Service
Summary
DEMO: Oracle REST Data Services for Mobile Application Development with Oracle Mobile Cloud Service
4
4
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
REST for Cloud Application Development
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Accelerated Pace of Change Rapidly Evolving Opportunities in Business and Society
80% OF USER ACCESS
WILL BE MOBILE BY 2020
44% OF ORGANIZATIONS PLAN
TO
SOCIAL ENABLE APPLICATIONS
CLOUD COMPUTING
WILL BECOME THE BULK OF NEW IT SPEND BY 2016
THERE WILL BE 26 BILLION
CONNECTED DEVICES
BY 2020
“Microservices”
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Need an “API for the Internet” Any Device, Any Service
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
“Representational State Transfer is the software architectural style of the World Wide Web.” Roy T. Fielding
8
REST – A Key to Cloud Computing
Or put another way…
REST is an architectural style to defining,
publishing and consuming APIs and
services on the internet using HTTP.
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
REpresentational State Transfer (REST)
• Model resources, not actions:
– GET /ords/hr/employees/ …GOOD
– GET /ords/hr/GetAllEmployees/ …BAD
– Use nouns, not verbs
• Uniform operations on all resources:
– GET, POST, PUT, DELETE, OPTIONS, HEAD
– Many nouns, just a few uniform verbs
• Stateless requests, state transitions communicated via hyper-links. – IT'S ALL ABOUT THE HYPER-LINKS
The Architectural Style of the Web
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Oracle REST Data Services and Oracle Cloud PaaS
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Oracle REST Data Services
11
REST-enable your data
JSON
Oracle Database (Relational)
Oracle Database (Document Store)
Oracle NoSQL Database
Oracle Rest Data Service
(WLS, Glassfish, Tomcat)
REST
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Oracle REST Data Services HTTP(s) API App-Dev with Relational Tables in Oracle Database
{ “custno”: 1001, “name”: “Scott King”, “address”: “500 Main street, Innovation CA”, “orders”: [ { “orderno”: 404, “orderdate”: “Feb 27, 2014”, “status”: “in process”} } } { “orderno”: 303, “orderdate”: “Feb 26, 2014”, “status”: “in process”} ] }
JSON
HTTP(s)
https://myhost/myapp/hr/customerorders/1001
Oracle REST Data Services
SQL
ORDS maps standard URI requests to corresponding relational SQL (not schemaless): e.g. SQL SELECT from customers and orders table. ORDS also transforms the SQL results into the highly popular JavaScript Object Notation (JSON), other formats include HTML, binary and CSV.
Fully committed to supporting any and all standards required by Fusion / SaaS / FMW; we are actively engaged in the ongoing dialog.
SQL result to JSON
transformation
URI Request or HTTP(s) post mapped to SQL request
JDBC Connection
Pool
URI Module
Template Context Root
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Oracle REST Data Services Example: Query returning JSON for customer 1001
{ “custno”: 1001, “name”: “Scott King”, “address”: “500 Oracle Parkway, Redwood Shores, CA, 94065”, “country”: “USA”, “class”: “A”, “orders”: [ { “orderno”: 303, “orderdate”: “Feb 26, 2014”, “status”: “in process”}, { “orderno”: 202, “orderdate”: “Jan 16, 2014”, “status”: “processed”}, { “orderno”: 101, “orderdate”: “Dec 2, 2013”, “status”: “processed”} ] }
http://myhost/myapplication/custorders/simplequery { custno: 1001} • Map URI request to data access template • Bind custno (1001) to bindcustno • Execute select statement below • Note embedded cursor expression • Set format to JSON
JSON Result
select c.*, cursor( select * from orders o where o.custno = c.custno) orders from customers c where c.custno = :bindcustno
Data Access Template
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 14
DATA MANAGEMENT
• Database • NoSQL Database • Big Data
• Big Data SQL • Database Backup • Oracle Database Exadata
MANAGEMENT
• IT Analytics • Log Analytics • Application Performance Monitoring
SECURITY
• Identity
CONTENT
• Documents • Social
• Sites
APPLICATION DEVELOPMENT
• Java • Application Container • Mobile
• Application Builder • Developer
ENTERPRISE INTEGRATION
• Integration • SOA • Managed File Transfer
• Internet of Things • Process • API Platform
DATA INTEGRATION
• GoldenGate • Big Data Preparation
BUSINESS ANALYTICS
• Data Visualization • Business Intelligence • Big Data Discovery
Broad, Deep, Integrated PaaS
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Addressing the Needs of the Business
15
Developers and DevOps Architects and IT Ops Line of Business
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Oracle Mobile Applications in Mobile Cloud Service
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 17 Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
The Two Biggest Disruptions To The Enterprise
17
CLOUD Has transformed every facet
of the IT infrastructure
MOBILE Has transformed every facet
of modern society
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
With Growth Comes Challenges for the Enterprise
18
Growth
Challenges
No integration across apps & backend systems
Not easily portable to other development environments
Not customizable to your business needs
Lack of secure access
Limited views into productivity… no analytics
Harder to maintain, not upgrade protected
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Core HR, Peoplesoft
Mobile storage
Social Networks
Talent management,
Taleo, Cloud
SAP On-Premise
Taleo
Google Map Service
Core HR
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 24
Making mobile simple
Oracle Mobile Cloud Service
MOBILE CLOUD SERVICE
Engaging front-end experience
Enterprise grade backend
Systems of Record & Services
A set of Cloud-based mobile services designed to make app development & integration quick, secure & easy to deploy.
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Oracle Mobile Cloud Service
Oracle Cloud
Cloud/Internet
On-Premise
Mobile Client SDKs
Custom APIs Mobile Backend Connectors
REST APIs
Diagnostics Analytics Lifecycle
Node
JavaScript SDK
Oracle MAF Utility
Platform APIs
Notifications User Services Storage Database Data Offline App Policies
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Custom APIs give you the chance to take the ugly, horrible mess of on premise legacy enterprise endpoints, combined with 3rd party web services, and turn them into optimized endpoints for mobile consumption.
Custom APIs • Beyond prebuilt Platform APIs
• Build your own Custom APIs
– Define RESTful endpoints
– Implemented in Node.js
– Consume Connectors
• Expose through Mobile Backends
– Can be reused
– Protected by roles
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Mobile Backend
Mobile App Connectors Custom API
Node http://rest/api
External Services
Oracle Mobile Cloud Service
Implementation Interface
Mobile Developer
Service Developer
Defines Interface REST API
Mock data
Defines Implementation Node.js code Connectors
The mobile developer & service developer work hand in hand in parallel. Or 1 person does all the work in sequence.
The choice is yours.
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Summary
• REST is the key to Cloud Computing
– Common Communicaton Ground
• Highly Differentiated PaaS Services
– End-to-End Architecture
• Mobile Growth Brings Challenges – Analytics? User Mgt? Notifications? Storage?
• One Mobile Platform to Support Enterprise
– Highly scalable & multichannel integration services across on-premise & cloud apps with REST for mobile
29
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Learn More
• oracle.com/mobile
• blogs.oracle.com/mobile
• twitter.com/OracleMobile
• facebook.com/OracleMAF
• youtube.com/user/OracleMobilePlatform
30
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Demo Oracle REST Data Services for Mobile Application Development with Oracle Mobile Cloud Service
Gökhan Göksu ISV Migration Center FMW Consultant [email protected]
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Demo Components
• Application Express (https://apex.oracle.com)
– REST Data Services
• Mobile Cloud Service (https://cloud.oracle.com/mobile)
• Jdeveloper 12.2.1.0 (http://www.oracle.com/technetwork/developer-tools/jdev/index.html )
• Mobile Application Framework 2.3.2 (http://www.oracle.com/technetwork/developer-tools/maf/index.html )
32
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Architecture
33
MOBILE CLOUD SERVICE
REST DATA SERVICES APPLICATION EXPRESS MOBILE APPLICATION FRAMEWORK
CONNECTOR CUSTOM API
(NODE.JS)
REST SERVICE MODULE
TABLE
REST REST
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Q&A
34
Gökhan Göksu Oracle ISV Migration Center Consultant [email protected] ISV Migration Center blog: http://blogs.oracle.com/imc ISV Migration Center email: [email protected]
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
• Oracle.com Partner Hub oracle.com/partners/goto/hub-ecemea
• Migration Center Team Blog blogs.oracle.com/imc
feeds.feedburner.com/oracleIMC
• Partner Webcast Recordings youtube.com/OracleIMCteam
• Partner Webcast Presentations slideshare.net/Oracle_IMC_team
Oracle Partner Hub ISV Migration Center • twitter.com/OracleIMC
• plus.google.com/+OracleIMC
• facebook.com/OracleIMC
• linkedin.com/groups/Oracle-Partner-Hub-Migration-Center-4535240
35