Oracle Service Bus for Microservice Architecture MTE10097
Ricardo Ferreira Principal Solution Architect – Oracle Luis Weir Principal Architect, Global Lead – HCL Robert Wunderlich Sr. Principal Product Manager – Oracle October 27, 2015
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Safe Harbor Statement
The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.
3
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Agenda
Meet the Experts
Microservices in an Integrated World
Questions, Answers, Food-for-thought
1
2
3
4
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Agenda
Meet the Experts
Microservices in an Integrated World
Questions, Answers, Food-for-thought
1
2
3
5
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
• Product Manager for
– Service Integration
– Microservices
– DevOps/Continuous Delivery
– API Management
• Former Development Engineer/Manager for Oracle E-Business Suite
• 17 Years with Oracle
6
Robert Wunderlich
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
• Solution Architect in the A-Team
– Service Bus, SOA & Messaging
– Stream Explorer (OEP, Oracle CEP)
– Coherence In-Memory Data Grid
• Software Developer (Java, C++) by passion, working with distributed technologies since 1997.
• Experience with other middleware vendors before Oracle: IONA, JBoss
7
Ricardo Ferreira
@jricardoferreir
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
LinkedIn Profile:
•https://www.linkedin.com/in/lweir
Oracle ACE Profile
•https://apex.oracle.com/pls/apex/f?p=19297:4:102460129095460::NO:4:P4_ID:7360
Blog:
•www.soa4u.co.uk
Latest Media:
•Podcast: API Management Implementation
•Article: A Word About Microservices and SOA
•Article: Oracle API Management 12c Implementation – Book Overview •Podcast: API Management Round Table
HCL Thought Leadership in Middleware & PaaS Luis Weir Principal Architect – Fusion Middleware & PaaS Solutions Luis Weir is an Oracle Ace Director and a Digital Principal Architect for HCL technologies With several years of experience implementing IT solutions across the globe, Luis has successfully delivered several large and complex Service Oriented Architecture (SOA) and API solutions for Fortune 500 companies. He has led SOA and other middleware capabilities for different renowned SIs such as CSC, Cognizant and Capgemini. Luis current focus is in creating digital solutions and strategies to assist key global customers adopt technology disruption and realize the benefits that APIs, mobile frameworks, cloud integration platforms and IoT have to offer. Luis is very passionate about technology. He has co-authored 2 books (Oracle SOA Governance 11g Implementation and Oracle API
Management 12c Implementation), he is a blogger and also a regular speaker in major conferences and events. A well-known industry expert especially when it comes to Oracle middleware technologies Luis is also an OTN certified SOA black belt.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Agenda
Meet the Experts
Microservices in an Integrated World
Questions, Answers, Food-for-thought
1
2
3
9
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Microservices in an Integrated World A Hybrid Approach
10
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
If it Wasn’t for the Canonical...
11
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
• Is it small?
• Does it run in an Application Server?
• Does it use XML?
• Does it use REST?
• Does it use SOAP?
12
What is a Microservice?
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Benefits of a Monolith
• Common code infrastructure
• More density/efficient allocation of hardware
• Not Everybody has to be an expert in security.
• Developers do not have to develop instrumentation into their services
• Less inter-process communication required, less network hops
13
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
• Extreme Scalability
• Organizational Ownership
• Cheaper to Start
• Ideal for the Cloud
• Grasp latest technologies
• Promotes Agile Practices
• Promotes DevOps
• All Programmers Welcome!
• “It’s what the cool people do!”
14
Benefits of a Microservice Approach
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
• Leverage common management/monitoring
• Scale out with in-memory data-grid
• Common transformation logic.
• Increase density
• Capture Business Instance Data over Choreography.
15
Hybrid Approach
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 29-Oct-15 16
• Answers the key questions your data warehouse / BI solutions are not built for: – need current info – requires cross system
data – no coding /
instrumentation
Real-Time Integration Business Insight
Real-Time Dashboards
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
The Promise of Microservices vs. Monolithic Architecture Monolithic Microservices
Codebase Singular, unified, codependent Smaller, independently evolving
Technology Stack Homogeneous Best of breed
Edit-Compile-Test Minutes to hours Seconds
Dependencies Compile-time; version lockstep Network APIs; library independence
Change Slow, painful, risky Isolated; consumer-driven contracts
Rewrite Major planning One service at a time
Test & Release Months, all in one Focus on changed services
Deploy & Start Minutes to hours Seconds or less
Scaling All or nothing Hotspots
Operations Static, straightforward Dynamic, complex automation
Oracle Confidential –Highly Restricted 17
Dev
Prod
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Microservices Common Characteristics
Componentization via Services
Organization around Business Capabilities
Products over Projects
Smart Endpoints and Dumb Pipes
Decentralized Governance
Decentralized Data Management
Infrastructure Automation
Design for Failure
Evolutionary Design
18
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Smart Endpoints and Dumb Pipes in Theory
19
• Endpoints exposed through REST
• "Do One Thing Only" Design Approach
• Request/Response Interaction Style
• Design for Failure Philosophy Push
Application
Microservice A
Microservice B
REST
REST
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Smart Endpoints and Dumb Pipes in the Real World…
20
Application
Microservice A
Microservice B
REST
REST
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Enterprise Service Buses could help on that, but…
21
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Classic Problem of Constraints over Principles
• While adopting an architectural style; people often prioritizes restrictions over design principles, resulting in fragile/broken software architectures.
– e.g. Put as most logic as possible in the database due to the client/server style.
• Constraints must be evaluated carefully, considering context, organization culture, infrastructure limitations and of course, people's knowledge.
– e.g. Breaking down a 10 years old bank's corporate MDM into smaller entity services.
• By focusing in the principles, developers can design their services without sacrificing the entire architectural style. – Achieving loosely coupling even without exposing services through REST
– Handling failures/exceptions by design without coding in the application.
22
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Hybrid Microservices Architecture to the Rescue
23
Source: Microservices and the Integration Platform Blog: http://tinyurl.com/pgx5yqx
Powered by:
+
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Hybrid Microservices Architecture to the Rescue
24
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Supporting Apache Kafka via OSB's Custom Transport SDK
25
Service Bus
Topic
Java
Microservice A
Content-Based Routing Integration Pattern
Node.js
Microservice B
Python
Microservice C
Scala
Microservice D
• Kafka native transport created with the SDK: http://tinyurl.com/pa8fexy
• Allows the creation of Proxy and Business Services via Console and JDev.
• Compatible with Service Bus 12c On-Premise and SOA Cloud Service.
Copyright © 2014 HCL Technologies Limited | www.hcltech.com
Microservices
Oracle Open World 2015
Luis Weir Oracle ACE Director Principal Architect / Global Lead OFM Solutions
[email protected] http://uk.linkedin.com/in/lweir @luisw19 http://www.soa4u.co.uk/
Copyright © 2014 HCL Technologies Limited | www.hcltech.com 27
What is a Microservice Architecture (MSA)?
A
T
MSA
O
3 aspects to MSA
rchitectural
rganizational ecnical
Copyright © 2014 HCL Technologies Limited | www.hcltech.com 28
• Common platform for all services deployed
to it
• Typically services/APIs runs on an AS, that
depends on an MRE
• Resources made available to and managed
by MRE and AS
• Multi-threaded with more overheads to
handle I/Os
• Use of containers (i.e. Dockers, Linux
Containers) less popular
• Common hardware for all services/APIs
running on the same ESB or Application
Server clusters
• Built on common governance and
standards
• Comm tech stack
• Contracts define service/APIs interfaces
• Granularity focused on business
capabilities
• Typically Services/APIs run on an ESB
• Use of Canonical schemas not
uncommon for business services, less
common in APIs
• APIs typically targeted for external use
(exposed in DMZ)
• HTTP transport of choice but multi-
transports supported
• Multiple message protocols supported
(SOAP-XML, REST-JSON, etc)
• DevOps / Continuous Delivery
becoming more popular not yet
mainstream
Network
Storage
Hypervisor
Operating System
Managed Runtime Environment
(MRE)
Application Server (AS)
Application (typically an ESB)
Services / APIs
Hardware
Network
Storage
Hypervisor
Operating System
Services / APIs
Managed Runtime Environment
(MRE)
Hardware
• Relaxed governance: less focus
on common standards and more
on people collaboration and
freedom of choice
• Use of ESBs not popular
• Granularity focused on business
capabilities
• Services/APIs are self-contained
an can run independently from
each other
• Services/APIs built using tech
stack of choice (usually one
that’s best for the job)
• Use of Lightweight protocols,
such as HTTP/REST and AMQP
• Strong focus on DevOps /
Continuous Delivery from the
start
• Services are stateless
• Single-threaded typically with use of
use of Event Loop (callbacks) features
for non-locking I/O handling
• Application Servers not really used.
Platforms such as Node.JS can be
used but not mandated (as said, no
tech stack enforced)
• Use of containers (i.e. Dockers, Linux
Containers) more popular as
services/APIs are more independent
on other applications
• Common hardware optional
Container Container
Typical Systems Layers
In Traditional Monoliths
Typical Systems Layers
In Microservices Architecture
MSA - Technical
Copyright © 2014 HCL Technologies Limited | www.hcltech.com 29
SO
A
Su
pp
ort
Te
am
D
B S
upport
Te
am
UI S
up
po
rt
tea
m
UI Dev Team
Database Dev Teams
SOA Dev Team
Pro
ject Te
am
s
Development and Support Teams Organized by Technologies Resulted in Siloes
Coms
Gaps
MSA – Organizational
Multi-Disciplinary Teams Organized by Business Capability Result in Modular Systems
Team A UI
DB
ASG
Team B UI
DB
ASG
Team C UI
DB
ASG
Team D UI
DB
ASG
Modular
System
A Modular
system
B
Modular
System
C Modular
System
D
Team Structure in Traditionally
Copyright © 2014 HCL Technologies Limited | www.hcltech.com 30
MSA – Architectural
Pattern Traditional SOA MSA
Monolith pattern Yes No
Polyglot Persistence Not traditionally (use of Suites) Yes
API gateway pattern Yes Yes
Orchestration Yes No
Choreography No Yes
Event Collaboration Yes Yes
Canonical Schema Very common (not always) No
Schema centralization Yes No
Decouple Contract Yes Could be….
Bounded Context Some times Yes
Tolerant Reader Some times Yes
Client-side Service Discovery Initially only (service registry) Recommended
Service-side Service Discovery Yes Yes
ESB Pattern Yes Yes when done right!!
Copyright © 2014 HCL Technologies Limited | www.hcltech.com 31
ESB
System Boundary
Web
App
System Boundary
Web
App
System Boundary System Boundary
System Boundary System Boundary System Boundary
System based on Microservice Architecture
System based on Microservice Architecture
Legacy
COTS
COTS
COTS Bespoke
Service Calls Systems
System Functionality
Expose as a Service
Service Virtualised
Misusing Microservice Pattern can lead to Micro-siloes…..
Copyright © 2014 HCL Technologies Limited | www.hcltech.com 32
Microservice Bus (Oracle Service Bus)
System Boundary
Web
App
System Boundary
Web
App
System Boundary System Boundary
System Boundary System Boundary System Boundary
System based on Microservice Architecture
System based on Microservice Architecture
Legacy
COTS
COTS
COTS Bespoke
Service Calls Systems
System Functionality
Expose as a Service
Service Virtualised
Solution: A Microservice Bus using Oracle Service Bus
Copyright © 2014 HCL Technologies Limited | www.hcltech.com 33
About HCL
EAS Consultant 8,000
Oracle Consultants 3,500
Active Engagements 150
North
America
Europe Asia
54% 27%
19% $6.5B REVENUE
26% 3 YR CAGR
31 COUNTRIES
100,000+ PEOPLE
Countries 31
Offices 60
Global Delivery Centres 15
LEADING GLOBAL HCL PARTNER KEY MIDDLEWARE CUSTOMERS IDC MARKETSCAPE FIGURE
Worldwide Cloud Professional Vendor Assessment
Copyright © 2014 HCL Technologies Limited | www.hcltech.com 34
Oracle middleware/paas practice
PROVEN EXPERTISE
Successfully delivered several large scale OFM related solutions and now working towards becoming
the #1 Oracle PaaS service provider
HCL COE
Best practices based on success stories and leading edge solution building for SOA / BPM / API /
Mobile / IoT technologies and most recently also covering Oracle PaaS solutions using ICS, PCS,
MCS and IoTCS
ROBUST CAPABILITY BUILDING
Regular HCL senior management connects with Oracle Corporation’s FMW and PaaS product
management and VPs
HCL is a regular sponsor of the Oracle SOA/PaaS Customer Advisory Board (CAB) and is also part
of the OFM Partner Advisory Council (PAC). Both grant HCL access to the latest product launches,
product roadmaps and key information on Oracle’s future direction
IPs AND FRAMEWORKs
Tools to enable automation, monitoring and acceleration of SOA and BPM implementations.
Frameworks to ensure consistent execution and a reduced cost and risk for our clients
THOUGHT LEADERSHIP
Strong capability in on-prem technologies but also already enabled for Oracle Cloud Platform as a
Service (PaaS). Furthermore with HCL’s proprietary cloud migration framework HCL can help
organizations build strong cloud adoption strategies quickly and cost-effectively
30+ Projects
12 Years of Existence
500+ Experts in HCL Fusion
Middleware Stack
60+ HCL certified Experts
Copyright © 2014 HCL Technologies Limited | www.hcltech.com 35
LinkedIn Profile:
•https://www.linkedin.com/in/lweir
Oracle ACE Profile
•https://apex.oracle.com/pls/apex/f?p=19297:4:102460129095460::NO:4:P4_ID:7360
Blog:
•www.soa4u.co.uk
Latest Media:
•Podcast: API Management Implementation
•Article: A Word About Microservices and SOA
•Article: Oracle API Management 12c Implementation – Book Overview
•Podcast: API Management Round Table
HCL Thought Leadership in Middleware & PaaS
Luis Weir
Principal Architect – Fusion Middleware & PaaS Solutions Luis Weir is an Oracle Ace Director and a Digital Principal Architect for HCL technologies With
several years of experience implementing IT solutions across the globe, Luis has successfully
delivered several large and complex Service Oriented Architecture (SOA) and API solutions for
Fortune 500 companies. He has led SOA and other middleware capabilities for different renowned
SIs such as CSC, Cognizant and Capgemini. Luis current focus is in creating digital solutions and
strategies to assist key global customers adopt technology disruption and realize the benefits that
APIs, mobile frameworks, cloud integration platforms and IoT have to offer.
Luis is very passionate about technology. He has co-authored 2 books (Oracle SOA Governance 11g Implementation and
Oracle API Management 12c Implementation), he is a blogger and also a regular speaker in major conferences and events.
A well-known industry expert especially when it comes to Oracle middleware technologies Luis is also an OTN certified
SOA black belt.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Note: The speaker notes for this slide include information on how to use this Section Header slide.
Tip! Remember to remove this text box.
36
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Oracle Service (SOA) & Cloud Integration Sessions @ OpenWorld 2015 – Wednesday, Oct 28:
CON8115
High-Performance Oracle SOA Suite Customer Panel
11:00 AM - 11:45 AM
CON7967
Oracle’s API Management Roadmap
11:00 AM - 11:45 AM
CON7975
Gain Insight into Integration and Improve Operational Intelligence
12:15 PM - 1:00 PM
CON6271
Accelerate Your SaaS Integration with Oracle Integration Cloud Service
1:45 PM - 2:30 PM
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Oracle Service (SOA) & Cloud Integration Sessions @ OpenWorld 2015 – Wednesday, Oct 28 - Continued:
CON7974
Oracle Stream Explorer: A Pattern-First Approach to Real-Time Streaming Analytics
1:45 PM - 2:30 PM
CON7996
Oracle SOA Suite 12c Success Stories
3:00 PM - 3:45 PM
CON6377
Oracle SOA Suite Cloud Service and Hybrid Integration—Customer Panel
4:15 PM - 5:00 PM
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Oracle Service (SOA) & Cloud Integration Sessions @ OpenWorld 2015 - Thursday, Oct 29:
CON9633
Oracle Integration Cloud Service—Catalyst for Success in the Cloud
9:30 AM - 10:15 AM
CON6373
Cloud Integration Best Practices—Customer Panel
10:45 AM - 11:30 AM
CON7942
Introduction to Oracle SOA Suite 12.2.1 Operations
10:45 AM - 11:30 AM
CON7993
Boost SaaS and On-Premises Connectivity: Leverage Oracle Cloud Adapters
1:15 PM - 2:00 PM
CON10096
Oracle SOA Suite for Healthcare Integration: the Path to Large-Scale Production Deployment
1:15 PM - 2:00 PM
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Oracle Service (SOA) & Cloud Integration Hand-On Labs:
HOL10440
Secure Managed File Exchange for the Hybrid Cloud
Monday, Oct 26: 11:00 AM - 12:00 PM
Hotel Nikko—Nikko Ballroom III
HOL10756
Oracle API Manager Cloud Service Plus Oracle SOA Cloud Service—Developer Speed and Innovation
Monday, Oct 26: 11:00 AM - 12:00 PM
Hotel Nikko—Mendocino I/II
HOL10414
Explore Real-Time Business Data: Oracle Stream Explorer and Oracle Business Activity Monitoring
Tues, Oct 27: 10:15 - 11:15 AM
Hotel Nikko—Nikko Ballroom III
HOL10759
Integration of SaaS and On-Premises Applications with Oracle Integration Cloud Service
Tues, Oct 27 11:45 AM - 12:45 PM
Hotel Nikko—Mendocino I/II
HOL10461
Achieving Greater Operational Efficiency with Oracle SOA Suite
Wed, Oct 28 4:15 PM - 5:15 PM
Hotel Nikko—Nikko Ballroom III
HOL10416
Using Oracle Service Bus to Power Your Integration Today and into the Future
Thurs, Oct 29 2:00 PM - 3:00 PM
Hotel Nikko—Nikko Ballroom III
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Oracle Service (SOA) & Cloud Integration Demo Pods
SLM | 021 Oracle B2B, Oracle Healthcare, and Oracle Managed File Transfer
Moscone South, Lower Left, Middleware
SLM | 023 Oracle Business Activity Monitoring and Oracle Real-Time Integration Business Insight
SLM | 024 Oracle API Management
SLM | 026 Oracle Stream Explorer
SLM | 027 Oracle Integration Adapters: Rich and Comprehensive Connectivity to SaaS, On-Premises, and More
SLM | 028 Oracle Integration Platform for Services
SPI | 031 Oracle SOA Cloud Service Moscone South, Oracle Cloud Platform and Infrastructure
Showcase SPI | 031 Oracle Integration Cloud Service
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 42
Classroom Training
Learning Subscription
Live Virtual Class
Training On Demand
Keep Learning with Oracle University
education.oracle.com
Cloud
Technology
Applications
Industries
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Session Surveys
Help us help you!! • The OpenWorld Organizing committee would like to invite you to take a
moment to give us your session feedback. Your feedback will help us to improve your conference.
• Please be sure to add your feedback for your attended sessions by using the Mobile Survey or in Schedule Builder.
43
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Safe Harbor Statement
The preceding is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.
44
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 45