SlideShare uma empresa Scribd logo
1 de 21
Baixar para ler offline
Event Driven Architecture
  with GlassFish ESB

     Eugene Bogaart
    Solution Architect
    Sun Microsystems
Objectives

• Introduce background on event-driven
  architecture (EDA) and Complex Event
  Processing (CEP)
• Overview GlassFish ESB Intelligent Event
  Processor (IEP) service engine
• Demonstrate a simple, but interesting, event
  processing application
• Jumpstart you, get you started!
Agenda

• Event-Driven Architecture
  – Fundamentals
  – Theory
• Demonstration
• Summary
Event-Driven Architecture
                Fundamentals (Terminology)
• EDA is a software architectural
  pattern focusing on producing,
  detecting, consuming and acting
  upon events
• Event is a significant change in state
  of something of interest
• Three event processing styles:
   – Simple: events directly related to specific change of state
   – Event stream: events screened to identify important ones
   – Complex: events analyzed for patterns and inferencing (casual,
     temporal, spatial) determines decision-impelling situations
Event-Driven Architecture
          Fundamentals
Inspiration: Connecting the Dots
• We are flooded with data
• Must monitor inside and outside
  the enterprise
• Understand the big picture
  – Threats and
  – opportunities,
  – context
• We need all the dots but need help in                        Original source: Robert Alexander

  connecting the dots
                          Referenced in: The Event Web: Sense and Respond to Critical Conditions
                                                 by K. Mani Chandy and Jonathan Lurié Carmona
                                  http://www.developer.com/security/article.php/11580_3458981_2
Event-Driven Architecture
          Fundamentals
Terminology: CEP History
• Developed in the early 90s to
  analyze real-time events in
  distributed systems (air traffic
  control, radar tracking, telco
  networks, electronic markets)
• David Luckham, “Father of CEP”
  – Stanford electrical engineering
    professor (Emeritus)
  – Co-founder of Rational Software
                   “Complex Event Processing: What's the Difference Between ESP and CEP?” by David Luckham
                                                                             http://complexevents.com/?p=103
Event-Driven Architecture
              Fundamentals
Terminology: CEP and ESP
• ESP focuses on streams
  – Sequence of events ordered by time
  – Simpler algorithms as data is analyzed as received, analyzed, passed
    along and forgotten (Prototypical examples: Stock market feeds, RFID)
• CEP focuses on clouds
  –   Collection of events generated at different places
  –   Cloud could contain many streams
  –   Events don't arrive in order
  –   Focus on detecting patterns in independent events
• Some consider ESP a subset of CEP,
  – but domains merge as ESP vendors evolve
                          “Complex Event Processing: What's the Difference Between ESP and CEP?” by David Luckham
Intelligent Event Processor Overview
                               DBMS vs. DSMS Perspectives

   • Focus on data streams (no tables)
   • Example domains: network
     monitoring, sensors, telecom call
     records, financial markets
   • Distributed Data Base       • Distributed Stream
     Management Systems             Management Systems
         – Persistent data                        – Transient and persistent data
         – One-time queries                       – Continuous queries
         – Random access                          – Sequential access
         – Access plan determined by              – Unpredictable data characteristics and
           queue analyzer                           arrival patterns
         – Implemented by SQL                     – Implemented by CQL
http://infolab.stanford.edu/~widom/cql-talk.pdf
Event-Driven Architecture
          Fundamentals
                                                    “SOA and EDA are peers and
                                                    complements. I disagree with the SOA
Comparing EDA and SOA                               evangelists who say EDA is merely a
                                                    subset (child) of SOA.”
• Event-Driven SOA                                  - Brenda Michelson

  – Notable thing inside or outside enterprise happens
  – Infrastructure detects state change & issues event
  – Event initiates one or more SOA services
• SOA Service as Event Generator
  – Service generates an event signaling a problem,
    opportunity or notable deviation
  – Infrastructure delivers event to event infrastructure
  – Event is propagated to all subscribers
                  “Event-Driven Architecture” blog posting by Brenda Michelson (Patricia Seybold Group)
                  http://elementallinks.typepad.com/bmichelson/2006/02/eventdriven_arc.html
Intelligent Event Processor
            Big Picture (I)

• Real time business event
   – Collection,
   – Processing
   – Aggregation,
   – Filtering, partitioning
   – and correlation
• Event process editor
• Real time business
  event notification
  and event triggers
                               https://open-esb.dev.java.net/IEPSE.html
Intelligent Event Processor
           Big Picture (II)

• Event provider to other
  tools such as BI and
  reporting tools
• Runtime service engine
  based on Continuous
  Query Language (CQL)
• Framework to create
  visual representation
  of IEP based aggregated
  data like dashboard,
  charts and reports
                              https://open-esb.dev.java.net/IEPSE.html
Intelligent Event Processor
NetBeans Tooling (I)
Intelligent Event Processor
NetBeans Tooling (II)
Demo Scenario
           Stock Fraud Detection

• Stock exchange interested in
  suspicious trading activity
• An example of “suspicious” is a trade whose
  price is significantly different
• “Significantly different” is defined as price at least
  10% above or below the prevailing price
• If detected, an alert is to be generated
• For each alert, a matching operation is to be
  perfomed against a possible suspects table to
  produce a second – a known suspects notification
Demonstration
Demo Scenario
        Lotto money laundry

• Penny Lotto is interested in
  suspicious activity
• An example of “suspicious” is a money deposit
  and withdrawal without significant activity
• “Significantly activity” is defined as deposit, no
  betting and withdrawal within 24 hours
• If detected an alert is to be generated
• Each alert needs to send to different end-points.
Summary
Summary

• Just SOA in your toolkit isn't enough for today's challenges
• Event-Driven Architecture (EDA) is an orthogonal to SOA
• EDA focused on producing, detecting, consuming and
  acting upon events
• Stock Fraud detection is a very simple complex event
  processing (CEP) demo based real life on a fraud
  detection scenario
• GlassFish ESB IEP is you friend for CEP.
Learning more
Learning more ...

• Glassfish ESB website
  – https://glassfish.dev.java.net
• Intelligent Event Processing website:
  – https://open-esb.dev.java.net/IEPSE.html
• IEP BluePrints
  – See NetBeans Samples
• IEP Tutorial
  –   http://wikis.sun.com/display/OpenESBTutor/Tom+Barrett%27s+Open+ESB+and+Mural+Tutorials
Q&A
Thanks
Eugene Bogaart
eugene.bogaart@sun.com


                         21

Mais conteúdo relacionado

Semelhante a EDA With Glassfish ESB Jfall IEP Intelligent Event Processing

Building Reactive Fast Data & the Data Lake with Akka, Kafka, Spark
Building Reactive Fast Data & the Data Lake with Akka, Kafka, SparkBuilding Reactive Fast Data & the Data Lake with Akka, Kafka, Spark
Building Reactive Fast Data & the Data Lake with Akka, Kafka, SparkTodd Fritz
 
Advanced Logging and Analysis for SOA, Social, Cloud and Big Data
Advanced Logging and Analysis for SOA, Social, Cloud and Big DataAdvanced Logging and Analysis for SOA, Social, Cloud and Big Data
Advanced Logging and Analysis for SOA, Social, Cloud and Big DataPerficient, Inc.
 
Siddhi: A Second Look at Complex Event Processing Implementations
Siddhi: A Second Look at Complex Event Processing ImplementationsSiddhi: A Second Look at Complex Event Processing Implementations
Siddhi: A Second Look at Complex Event Processing ImplementationsSrinath Perera
 
Reactive Fast Data & the Data Lake with Akka, Kafka, Spark
Reactive Fast Data & the Data Lake with Akka, Kafka, SparkReactive Fast Data & the Data Lake with Akka, Kafka, Spark
Reactive Fast Data & the Data Lake with Akka, Kafka, SparkTodd Fritz
 
Data & analytics challenges in a microservice architecture
Data & analytics challenges in a microservice architectureData & analytics challenges in a microservice architecture
Data & analytics challenges in a microservice architectureNiels Naglé
 
High Availability HPC ~ Microservice Architectures for Supercomputing
High Availability HPC ~ Microservice Architectures for SupercomputingHigh Availability HPC ~ Microservice Architectures for Supercomputing
High Availability HPC ~ Microservice Architectures for Supercomputinginside-BigData.com
 
CQRS + Event Sourcing
CQRS + Event SourcingCQRS + Event Sourcing
CQRS + Event SourcingMike Bild
 
DTS Solution - Building a SOC (Security Operations Center)
DTS Solution - Building a SOC (Security Operations Center)DTS Solution - Building a SOC (Security Operations Center)
DTS Solution - Building a SOC (Security Operations Center)Shah Sheikh
 
Mandas Deb S O Aand E D A Benefits And Best Practices V1
Mandas  Deb   S O Aand E D A  Benefits And Best Practices V1Mandas  Deb   S O Aand E D A  Benefits And Best Practices V1
Mandas Deb S O Aand E D A Benefits And Best Practices V1SOA Symposium
 
Building the High Speed Cybersecurity Data Pipeline Using Apache NiFi
Building the High Speed Cybersecurity Data Pipeline Using Apache NiFiBuilding the High Speed Cybersecurity Data Pipeline Using Apache NiFi
Building the High Speed Cybersecurity Data Pipeline Using Apache NiFiDataWorks Summit
 
ASAS 2014 - Simon Brown
ASAS 2014 - Simon BrownASAS 2014 - Simon Brown
ASAS 2014 - Simon BrownAvisi B.V.
 
Microservices Architecture - Cloud Native Apps
Microservices Architecture - Cloud Native AppsMicroservices Architecture - Cloud Native Apps
Microservices Architecture - Cloud Native AppsAraf Karsh Hamid
 
Database@Home : Data Driven Apps - Data-driven Microservices Architecture wit...
Database@Home : Data Driven Apps - Data-driven Microservices Architecture wit...Database@Home : Data Driven Apps - Data-driven Microservices Architecture wit...
Database@Home : Data Driven Apps - Data-driven Microservices Architecture wit...Tammy Bednar
 
Combating Fraud and Intrusion Threats with Event Processing
Combating Fraud and Intrusion Threats with Event ProcessingCombating Fraud and Intrusion Threats with Event Processing
Combating Fraud and Intrusion Threats with Event ProcessingTim Bass
 
Complex Event Processing: What?, Why?, How?
Complex Event Processing: What?, Why?, How?Complex Event Processing: What?, Why?, How?
Complex Event Processing: What?, Why?, How?Fabien Coppens
 
Regulated Reactive - Security Considerations for Building Reactive Systems in...
Regulated Reactive - Security Considerations for Building Reactive Systems in...Regulated Reactive - Security Considerations for Building Reactive Systems in...
Regulated Reactive - Security Considerations for Building Reactive Systems in...Ryan Hodgin
 
Event-Driven Architecture (EDA)
Event-Driven Architecture (EDA)Event-Driven Architecture (EDA)
Event-Driven Architecture (EDA)WSO2
 
System Support for Internet of Things
System Support for Internet of ThingsSystem Support for Internet of Things
System Support for Internet of ThingsHarshitParkar6677
 

Semelhante a EDA With Glassfish ESB Jfall IEP Intelligent Event Processing (20)

Building Reactive Fast Data & the Data Lake with Akka, Kafka, Spark
Building Reactive Fast Data & the Data Lake with Akka, Kafka, SparkBuilding Reactive Fast Data & the Data Lake with Akka, Kafka, Spark
Building Reactive Fast Data & the Data Lake with Akka, Kafka, Spark
 
Advanced Logging and Analysis for SOA, Social, Cloud and Big Data
Advanced Logging and Analysis for SOA, Social, Cloud and Big DataAdvanced Logging and Analysis for SOA, Social, Cloud and Big Data
Advanced Logging and Analysis for SOA, Social, Cloud and Big Data
 
Siddhi: A Second Look at Complex Event Processing Implementations
Siddhi: A Second Look at Complex Event Processing ImplementationsSiddhi: A Second Look at Complex Event Processing Implementations
Siddhi: A Second Look at Complex Event Processing Implementations
 
Reactive Fast Data & the Data Lake with Akka, Kafka, Spark
Reactive Fast Data & the Data Lake with Akka, Kafka, SparkReactive Fast Data & the Data Lake with Akka, Kafka, Spark
Reactive Fast Data & the Data Lake with Akka, Kafka, Spark
 
Data & analytics challenges in a microservice architecture
Data & analytics challenges in a microservice architectureData & analytics challenges in a microservice architecture
Data & analytics challenges in a microservice architecture
 
The Age of Network Operations Management in Software Defined Data Centers
The Age of Network Operations Management in Software Defined Data CentersThe Age of Network Operations Management in Software Defined Data Centers
The Age of Network Operations Management in Software Defined Data Centers
 
High Availability HPC ~ Microservice Architectures for Supercomputing
High Availability HPC ~ Microservice Architectures for SupercomputingHigh Availability HPC ~ Microservice Architectures for Supercomputing
High Availability HPC ~ Microservice Architectures for Supercomputing
 
CQRS + Event Sourcing
CQRS + Event SourcingCQRS + Event Sourcing
CQRS + Event Sourcing
 
DTS Solution - Building a SOC (Security Operations Center)
DTS Solution - Building a SOC (Security Operations Center)DTS Solution - Building a SOC (Security Operations Center)
DTS Solution - Building a SOC (Security Operations Center)
 
Mandas Deb S O Aand E D A Benefits And Best Practices V1
Mandas  Deb   S O Aand E D A  Benefits And Best Practices V1Mandas  Deb   S O Aand E D A  Benefits And Best Practices V1
Mandas Deb S O Aand E D A Benefits And Best Practices V1
 
Building the High Speed Cybersecurity Data Pipeline Using Apache NiFi
Building the High Speed Cybersecurity Data Pipeline Using Apache NiFiBuilding the High Speed Cybersecurity Data Pipeline Using Apache NiFi
Building the High Speed Cybersecurity Data Pipeline Using Apache NiFi
 
ASAS 2014 - Simon Brown
ASAS 2014 - Simon BrownASAS 2014 - Simon Brown
ASAS 2014 - Simon Brown
 
Microservices Architecture - Cloud Native Apps
Microservices Architecture - Cloud Native AppsMicroservices Architecture - Cloud Native Apps
Microservices Architecture - Cloud Native Apps
 
Database@Home : Data Driven Apps - Data-driven Microservices Architecture wit...
Database@Home : Data Driven Apps - Data-driven Microservices Architecture wit...Database@Home : Data Driven Apps - Data-driven Microservices Architecture wit...
Database@Home : Data Driven Apps - Data-driven Microservices Architecture wit...
 
Combating Fraud and Intrusion Threats with Event Processing
Combating Fraud and Intrusion Threats with Event ProcessingCombating Fraud and Intrusion Threats with Event Processing
Combating Fraud and Intrusion Threats with Event Processing
 
Complex Event Processing: What?, Why?, How?
Complex Event Processing: What?, Why?, How?Complex Event Processing: What?, Why?, How?
Complex Event Processing: What?, Why?, How?
 
Regulated Reactive - Security Considerations for Building Reactive Systems in...
Regulated Reactive - Security Considerations for Building Reactive Systems in...Regulated Reactive - Security Considerations for Building Reactive Systems in...
Regulated Reactive - Security Considerations for Building Reactive Systems in...
 
Event-Driven Architecture (EDA)
Event-Driven Architecture (EDA)Event-Driven Architecture (EDA)
Event-Driven Architecture (EDA)
 
System Support for Internet of Things
System Support for Internet of ThingsSystem Support for Internet of Things
System Support for Internet of Things
 
Azure Digital Twins
Azure Digital TwinsAzure Digital Twins
Azure Digital Twins
 

Mais de Eugene Bogaart

What is new and cool j2se & java
What is new and cool j2se & javaWhat is new and cool j2se & java
What is new and cool j2se & javaEugene Bogaart
 
Introduction into JavaFX
Introduction into JavaFXIntroduction into JavaFX
Introduction into JavaFXEugene Bogaart
 
Java Enterprise Edition 6 Overview
Java Enterprise Edition 6 OverviewJava Enterprise Edition 6 Overview
Java Enterprise Edition 6 OverviewEugene Bogaart
 
Gf University 27may09 Amersfoort
Gf University 27may09 AmersfoortGf University 27may09 Amersfoort
Gf University 27may09 AmersfoortEugene Bogaart
 
Glass Fish V3 University Amers May2009
Glass Fish V3  University Amers May2009Glass Fish V3  University Amers May2009
Glass Fish V3 University Amers May2009Eugene Bogaart
 
Glassfish Overview Fontys 20090520
Glassfish Overview Fontys 20090520Glassfish Overview Fontys 20090520
Glassfish Overview Fontys 20090520Eugene Bogaart
 
Glassfish Overview for Sogeti 20090225
Glassfish Overview for Sogeti 20090225Glassfish Overview for Sogeti 20090225
Glassfish Overview for Sogeti 20090225Eugene Bogaart
 

Mais de Eugene Bogaart (7)

What is new and cool j2se & java
What is new and cool j2se & javaWhat is new and cool j2se & java
What is new and cool j2se & java
 
Introduction into JavaFX
Introduction into JavaFXIntroduction into JavaFX
Introduction into JavaFX
 
Java Enterprise Edition 6 Overview
Java Enterprise Edition 6 OverviewJava Enterprise Edition 6 Overview
Java Enterprise Edition 6 Overview
 
Gf University 27may09 Amersfoort
Gf University 27may09 AmersfoortGf University 27may09 Amersfoort
Gf University 27may09 Amersfoort
 
Glass Fish V3 University Amers May2009
Glass Fish V3  University Amers May2009Glass Fish V3  University Amers May2009
Glass Fish V3 University Amers May2009
 
Glassfish Overview Fontys 20090520
Glassfish Overview Fontys 20090520Glassfish Overview Fontys 20090520
Glassfish Overview Fontys 20090520
 
Glassfish Overview for Sogeti 20090225
Glassfish Overview for Sogeti 20090225Glassfish Overview for Sogeti 20090225
Glassfish Overview for Sogeti 20090225
 

Último

Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusZilliz
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 

Último (20)

Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 

EDA With Glassfish ESB Jfall IEP Intelligent Event Processing

  • 1. Event Driven Architecture with GlassFish ESB Eugene Bogaart Solution Architect Sun Microsystems
  • 2. Objectives • Introduce background on event-driven architecture (EDA) and Complex Event Processing (CEP) • Overview GlassFish ESB Intelligent Event Processor (IEP) service engine • Demonstrate a simple, but interesting, event processing application • Jumpstart you, get you started!
  • 3. Agenda • Event-Driven Architecture – Fundamentals – Theory • Demonstration • Summary
  • 4. Event-Driven Architecture Fundamentals (Terminology) • EDA is a software architectural pattern focusing on producing, detecting, consuming and acting upon events • Event is a significant change in state of something of interest • Three event processing styles: – Simple: events directly related to specific change of state – Event stream: events screened to identify important ones – Complex: events analyzed for patterns and inferencing (casual, temporal, spatial) determines decision-impelling situations
  • 5. Event-Driven Architecture Fundamentals Inspiration: Connecting the Dots • We are flooded with data • Must monitor inside and outside the enterprise • Understand the big picture – Threats and – opportunities, – context • We need all the dots but need help in Original source: Robert Alexander connecting the dots Referenced in: The Event Web: Sense and Respond to Critical Conditions by K. Mani Chandy and Jonathan Lurié Carmona http://www.developer.com/security/article.php/11580_3458981_2
  • 6. Event-Driven Architecture Fundamentals Terminology: CEP History • Developed in the early 90s to analyze real-time events in distributed systems (air traffic control, radar tracking, telco networks, electronic markets) • David Luckham, “Father of CEP” – Stanford electrical engineering professor (Emeritus) – Co-founder of Rational Software “Complex Event Processing: What's the Difference Between ESP and CEP?” by David Luckham http://complexevents.com/?p=103
  • 7. Event-Driven Architecture Fundamentals Terminology: CEP and ESP • ESP focuses on streams – Sequence of events ordered by time – Simpler algorithms as data is analyzed as received, analyzed, passed along and forgotten (Prototypical examples: Stock market feeds, RFID) • CEP focuses on clouds – Collection of events generated at different places – Cloud could contain many streams – Events don't arrive in order – Focus on detecting patterns in independent events • Some consider ESP a subset of CEP, – but domains merge as ESP vendors evolve “Complex Event Processing: What's the Difference Between ESP and CEP?” by David Luckham
  • 8. Intelligent Event Processor Overview DBMS vs. DSMS Perspectives • Focus on data streams (no tables) • Example domains: network monitoring, sensors, telecom call records, financial markets • Distributed Data Base • Distributed Stream Management Systems Management Systems – Persistent data – Transient and persistent data – One-time queries – Continuous queries – Random access – Sequential access – Access plan determined by – Unpredictable data characteristics and queue analyzer arrival patterns – Implemented by SQL – Implemented by CQL http://infolab.stanford.edu/~widom/cql-talk.pdf
  • 9. Event-Driven Architecture Fundamentals “SOA and EDA are peers and complements. I disagree with the SOA Comparing EDA and SOA evangelists who say EDA is merely a subset (child) of SOA.” • Event-Driven SOA - Brenda Michelson – Notable thing inside or outside enterprise happens – Infrastructure detects state change & issues event – Event initiates one or more SOA services • SOA Service as Event Generator – Service generates an event signaling a problem, opportunity or notable deviation – Infrastructure delivers event to event infrastructure – Event is propagated to all subscribers “Event-Driven Architecture” blog posting by Brenda Michelson (Patricia Seybold Group) http://elementallinks.typepad.com/bmichelson/2006/02/eventdriven_arc.html
  • 10. Intelligent Event Processor Big Picture (I) • Real time business event – Collection, – Processing – Aggregation, – Filtering, partitioning – and correlation • Event process editor • Real time business event notification and event triggers https://open-esb.dev.java.net/IEPSE.html
  • 11. Intelligent Event Processor Big Picture (II) • Event provider to other tools such as BI and reporting tools • Runtime service engine based on Continuous Query Language (CQL) • Framework to create visual representation of IEP based aggregated data like dashboard, charts and reports https://open-esb.dev.java.net/IEPSE.html
  • 14. Demo Scenario Stock Fraud Detection • Stock exchange interested in suspicious trading activity • An example of “suspicious” is a trade whose price is significantly different • “Significantly different” is defined as price at least 10% above or below the prevailing price • If detected, an alert is to be generated • For each alert, a matching operation is to be perfomed against a possible suspects table to produce a second – a known suspects notification
  • 16. Demo Scenario Lotto money laundry • Penny Lotto is interested in suspicious activity • An example of “suspicious” is a money deposit and withdrawal without significant activity • “Significantly activity” is defined as deposit, no betting and withdrawal within 24 hours • If detected an alert is to be generated • Each alert needs to send to different end-points.
  • 18. Summary • Just SOA in your toolkit isn't enough for today's challenges • Event-Driven Architecture (EDA) is an orthogonal to SOA • EDA focused on producing, detecting, consuming and acting upon events • Stock Fraud detection is a very simple complex event processing (CEP) demo based real life on a fraud detection scenario • GlassFish ESB IEP is you friend for CEP.
  • 20. Learning more ... • Glassfish ESB website – https://glassfish.dev.java.net • Intelligent Event Processing website: – https://open-esb.dev.java.net/IEPSE.html • IEP BluePrints – See NetBeans Samples • IEP Tutorial – http://wikis.sun.com/display/OpenESBTutor/Tom+Barrett%27s+Open+ESB+and+Mural+Tutorials