The most comprehensive Oracle applications & technology content under one roof The most comprehensive Oracle applications & technology content under one roof Building an Event Driven Architecture David Gresham Red Rock Consul5ng
Jun 17, 2015
The most comprehensive Oracle applications & technology content under one roof The most comprehensive Oracle applications & technology content under one roof
Building an Event Driven Architecture
David Gresham Red Rock Consul5ng
The most comprehensive Oracle applications & technology content under one roof
Building an Event Driven Architecture
Build a more responsive enterprise by harnessing an event driven architecture.
Prac5cal demonstra5on of Oracle's Middleware to build an event driven architecture.
The most comprehensive Oracle applications & technology content under one roof
Agenda
• Defini5on & Terminology • Posi5oning EDA in the world of TLA’s • Real live Demo
Warning: This presenta/on involves a hands on technology demo
The most comprehensive Oracle applications & technology content under one roof
Clouds, clouds and more clouds
The most comprehensive Oracle applications & technology content under one roof
Central Nervous System • The central nervous system
(CNS) is the part of the nervous system that integrates the informa5on that it receives from, and coordinates the ac5vity of, all parts of the bodies of bilaterian... It contains the majority of the nervous system and consists of the brain and the spinal cord
The most comprehensive Oracle applications & technology content under one roof
EDA -‐ Defini5on
• Event-‐driven architecture is a distributed architectural style composed of decoupled applica5ons that interact by exchanging events. Event-‐driven applica5ons either ini5ate or process events through sense-‐and-‐respond.
The most comprehensive Oracle applications & technology content under one roof
Terminology
Event source: a component that generates events Event sink: a component that consumes events Channel: which can be a Stream or Rela5on – stream: a component through which events flow, provides queuing and concurrency
– rela5on: iden5fies the rela5onship between incoming data element.
Processors: a component capable of processing events • hVp://en.wikipedia.org/wiki/Petri_net
The most comprehensive Oracle applications & technology content under one roof
An EDA at work
Context Aware Autonomous Elements
Decoupled
Flexible
The most comprehensive Oracle applications & technology content under one roof
Perfect Candidates for EDA
• Suspicious Credit Card Transac5ons • Traffic Incident Management • Logis5cs and shipping • Fault and Error handling
The most comprehensive Oracle applications & technology content under one roof
What about SOA & BPM ?
• Do we throw away SOA and BPM ?
Processes have a dedicated fixed defini5on
Pass context sensi5ve, 5me sensi5ve, decision points to the Event Processor
Granularity is the key – The Goldilocks Principle
No !
The most comprehensive Oracle applications & technology content under one roof
Events are everywhere...
The most comprehensive Oracle applications & technology content under one roof
An EDA at work at Oracle
Context Aware Autonomous Elements
Oracle CEP
Oracle BAM
Oracle Coherence
Oracle BPM / SOA
The most comprehensive Oracle applications & technology content under one roof
Smart Fault Handler Fault Occurs
Oracle Database
Oracle BPEL & Oracle Business Rules
Oracle BPEL -‐ Log
Oracle BPEL -‐ No5fy
Oracle BPEL -‐ Suspend
The most comprehensive Oracle applications & technology content under one roof
The demo...
The most comprehensive Oracle applications & technology content under one roof
4 Points to take home
• EDA style architecture is not opposed to BPM & SOA
• EDA takes contextual and 5mely informa5on to trigger event sinks
• EDA goals are context driven dynamic systems • Find the right granularity – Your service layer s5ll have do something meaningful