The mobilization of SOA Suite - the rise of REST (ADF Enterprise Mobility Conference, May 2014)
-
Upload
lucas-jellema -
Category
Technology
-
view
984 -
download
0
description
Transcript of The mobilization of SOA Suite - the rise of REST (ADF Enterprise Mobility Conference, May 2014)
Lucas Jellema
ADF Enterprise to Mobility conference - 21-23 May 2014 – AMIS, The Netherlands
The mobilization of SOA Suite (the rise of REST)
Se
rvic
e B
us
Overview
• Mobile and Web Oriented Architecture• Special challenges on SOA infrastructure• How do SOA Suite and OSB fit in• What is the SOA Suite 12c evolution
Se
rvic
e B
us
3
User Interface oriented architecture
Data
Business
User Interface
4
User Interface oriented architecture
Data
Business
User Interface
WOA/MOA
SOA
UI (MVC)
5
User Interface oriented architecture (MOA/WOA)
Data
Business
Model
REST REST REST
ViewBrowser DOM
Controller
6
User Interface technology
Data
Business
Interface
REST
PushSecurity
Data S
ynchronisation
ECM(documents)
WOA
7
Data Proliferation
RDBMSECM
DWH
RDBMSNoSQL
GBAPublic Data Service
OA
Mobile Application (native/HTML 5 app)
Web 2.0/Ajax Rich UI Browser application
WOA/MOA(RESTful, JSON)
Service & Process Bus(WS*, SOAP, XML)
Portlet Container/UI Service
Bus
3 rd Party
Services
(GeoCoder, Weather,
Map, Translation,
Payment, Storage,
SaaS apps, ….)
B2B
Partners
UI services
JDBC, RMI, HTTPHTTPS, Email, VPN,…
HTTP
HTTP
Full Service Bus(WS*, SOAP, XML)
UI services
xOA
9
Challenges and Requirements for WOA/MOA
• REST & JSON for easy access• Caching to handle the load and provide 24/7
– availability mismatch between UI and back end
• Filter data - at right level – data context/authorization
• Minimize number of network requests – presentation services rather than entity service access)
• Handle Offline/Online synchronization• Support push notifications• Personal cloud for user specific data and cross device experience
– Preferences and customizations, search & navigation history, in flight ‘transactions’
Canonical Business Service
ServiceConsumer Implementation
jdbc
SQL
http
End Users
SOAP/XML
From Canonical Business Service to Presentation Service
ServiceConsumer Implementation
jdbc
SQL
http
End Users
SOAP/XML
Mobile Presentation Service
ServiceConsumer Implementation
jdbc
SQL
http
End Users
REST/JSON
rapid cache
13
Implementing the WOA/MOA backend with SOA Suite
Oracle Service Bus
SOA Suite(SCA engine)
Result Cache
JPAADF BC
DC DC DC
JAX-RS
JAX-RS
REST request
14
Implementing the WOA/MOA backend with SOA Suite
Oracle Service Bus
SOA Suite(SCA engine)
Result Cache
JPAADF BC
DC DC DC
JAX-RS
JAX-RS
Request Interpreter
JSON processor
Messaging Proxy
REST verb
Messaging Proxy
Service
HTTP Verb handler
URL & Request
interpreter JSON XML
Xformer
REST request
Caching with preset expiry time
Same steps to invoke REST
Composite Service
BPEL process to orchestrate
business services
15
Mobile Enablement in SOA Suite 12c
16
Implementing the WOA/MOA backend with SOA Suite
Oracle Service Bus
SOA Suite(SCA engine)
Result Cache
JPAADF BC
DC DC DC
JAX-RS
JAX-RS
JSON processor
Native REST
REST verb
Expose any
pipeline as REST Declarative
REST verb processing + map to request
Native, declarative
JSON XML
REST request
Fine Grained, directly accessible
cache
Declarativecalls to REST
All REST & JSON + Coherence Adapter support also in SOA
Composites
Composite Service
BPEL process to orchestrate
business services
OWSM policy for REST security
Summary
• Mobile and Web Oriented Architecture– Make life easier and scalable on modern UI
• Special challenges on SOA infrastructure• With Oracle SOA Suite and Service Bus and quite a bit of manual effort,
we can– Expose and invoke RESTful services– Deal with JSON data
• SOA Suite 12c adds out of the box, native, declarative support for– Exposing Services/Pipelines and References/Business Services as RESTful
interfaces and map REST operations to services– Natively converting between XML and JSON– Fine grained interaction with the Coherence cache
Ser
vice
Bus