Lucas Jellema
ADF Enterprise to Mobility conference - 21-23 May 2014 – AMIS, The Netherlands
The mobilization of SOA Suite
(the rise of REST)
ServiceBus
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
ServiceBus
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
Security
DataSynchronisation
ECM
(documents)
WOA
7
Data Proliferation
RDBMSECM
DWH
RDBMSNoSQL
GBA
Public
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
UI
services
JDBC, RMI, HTTP
HTTPS, Email, VPN,…
HTTP
HTTP
Full Service Bus
(WS*, SOAP, XML)
UI
services
OA
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
SQL
End Users
From Canonical Business
Service to Presentation Service
ServiceConsumer Implementation
SQL
End Users
Mobile Presentation Service
ServiceConsumer Implementation
SQL
End Users
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
Declarative
calls 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
ServiceBus
 The mobilization of SOA Suite - the rise of REST (ADF Enterprise Mobility Conference, May 2014)

The mobilization of SOA Suite - the rise of REST (ADF Enterprise Mobility Conference, May 2014)

  • 1.
    Lucas Jellema ADF Enterpriseto Mobility conference - 21-23 May 2014 – AMIS, The Netherlands The mobilization of SOA Suite (the rise of REST) ServiceBus
  • 2.
    Overview • Mobile andWeb Oriented Architecture • Special challenges on SOA infrastructure • How do SOA Suite and OSB fit in • What is the SOA Suite 12c evolution ServiceBus
  • 3.
  • 4.
  • 5.
    5 User Interface oriented architecture(MOA/WOA) Data Business Model REST REST REST ViewBrowser DOM Controller
  • 6.
  • 7.
  • 8.
    OA Mobile Application (native/HTML 5app) Web 2.0/Ajax Rich UI Browser application WOA/MOA (RESTful, JSON) Service & Process Bus (WS*, SOAP, XML) Portlet Container/ UI Service Bus UI services JDBC, RMI, HTTP HTTPS, Email, VPN,… HTTP HTTP Full Service Bus (WS*, SOAP, XML) UI services OA
  • 9.
    9 Challenges and Requirements forWOA/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’
  • 10.
    Canonical Business Service ServiceConsumerImplementation SQL End Users
  • 11.
    From Canonical Business Serviceto Presentation Service ServiceConsumer Implementation SQL End Users
  • 12.
    Mobile Presentation Service ServiceConsumerImplementation SQL End Users rapid cache
  • 13.
    13 Implementing the WOA/MOA backendwith SOA Suite Oracle Service Bus SOA Suite (SCA engine) Result Cache JPAADF BC DC DC DC JAX-RS JAX-RS REST request
  • 14.
    14 Implementing the WOA/MOA backendwith 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.
  • 16.
    16 Implementing the WOA/MOA backendwith 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 Declarative calls 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
  • 17.
    Summary • Mobile andWeb 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 ServiceBus

Editor's Notes

  • #2 Web Oriented Architecture (WOA) and Mobile Oriented Architecture (MOA) are terms coined for the architecture backing modern HTML 5 web applications (rich client/thin server) as well as mobile applications. A pivotal part of WOA and MOA is a layer of services that exposes relevant aspects - both data and functions - of enterprise systems, in a standardized fashion that can easily be consumed. RESTful services using JSON for message payloads are commonly preferred for this. The next generation of the SOA Suite has cloud integration, JSON processing and REST-services as one of its core themes. In this session, we will discuss how a MOA & WOA is designed and how the Oracle SOA Suite & Service Bus - both the current 11g and the upcoming 12c release - can be used to create the services layer.
  • #11 UI built and deployed on Force.com platform For one page – multiple service calls were required to various Business Services Each call had a network latency – 0.5-2 secs => sum of latencies was unacceptable Solution: provide Presentation Service
  • #12 UI built and deployed on Force.com platform For one page – multiple service calls were required to various Business Services Each call had a network latency – 0.5-2 secs => sum of latencies was unacceptable Solution: provide Presentation Service
  • #13 UI built and deployed on Force.com platform For one page – multiple service calls were required to various Business Services Each call had a network latency – 0.5-2 secs => sum of latencies was unacceptable Solution: provide Presentation Service
  • #16 CON8863_Lher-CON8863-Lher-Whats-new-in-SOA-Suite – OOW 2013 Slidedeck http://technology.amis.nl/2013/09/27/oow13-soa-suite-12c/