the mobilization of soa suite - the rise of rest (adf enterprise mobility conference, may 2014)

18
Lucas Jellema ADF Enterprise to Mobility conference - 21-23 May 2014 – AMIS, The Netherlands The mobilization of SOA Suite (the rise of REST) Service Bus

Upload: lucas-jellema

Post on 19-May-2015

986 views

Category:

Technology


0 download

DESCRIPTION

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.

TRANSCRIPT

Page 1: 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

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

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

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

3

User Interface oriented architecture

Data

Business

User Interface

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

4

User Interface oriented architecture

Data

Business

User Interface

WOA/MOA

SOA

UI (MVC)

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

5

User Interface oriented architecture (MOA/WOA)

Data

Business

Model

REST REST REST

ViewBrowser DOM

Controller

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

6

User Interface technology

Data

Business

Interface

REST

PushSecurity

Data S

ynchronisation

ECM(documents)

WOA

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

7

Data Proliferation

RDBMSECM

DWH

RDBMSNoSQL

GBAPublic Data Service

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

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

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

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’

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

Canonical Business Service

ServiceConsumer Implementation

jdbc

SQL

http

End Users

SOAP/XML

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

From Canonical Business Service to Presentation Service

ServiceConsumer Implementation

jdbc

SQL

http

End Users

SOAP/XML

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

Mobile Presentation Service

ServiceConsumer Implementation

jdbc

SQL

http

End Users

REST/JSON

rapid cache

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

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

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

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

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

15

Mobile Enablement in SOA Suite 12c

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

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

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

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

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