SlideShare une entreprise Scribd logo
1  sur  8
Télécharger pour lire hors ligne
WHITE PAPER


Enabling predictive analysis in
service oriented BPM solutions.
Summary
  Complex Event Processing (CEP) is a real time event analysis, correlation and processing mechanism that fits in

  seamlessly with service oriented Business Process Management (BPM) solutions. Conceived in the early 1990s by

  Dr. David Luckham of Stanford University, CEP uses technology to predict high-level events likely to result from specific

  sets of low-level factors. CEP identifies and analyzes cause and effect relationships among real time events and

  allows personnel to take proactive, effective actions in response to specific scenarios. CEP is used in security policy

  development, risk management, Customer Relationship Management (CRM), application servers and middleware.



  One important aspect of CEP is Business Activity Monitoring (BAM). BAM is the use of technology to proactively define

  and analyze the most critical opportunities and risks in an enterprise. CEP is especially effective in situations where

  numerous factors interact in variable ways, such as investment and lending environments for financial institutions. CEP

  can also be used in threat management for communications networks.



  It is evident that CEP is a technology for low-latency filtering, correlating, aggregating and computing real-world event

  data. The processing of messages as they arrive is called “real time processing” and the use of a sophisticated and

  optimized storage mechanism is called “historical processing”. A good event processing platform is judged by how well it

  integrates real-time and historical processing.




Contents
Relevance of CEP solutions in a service oriented BPM      03

CEP and SOA – how are they related?                       03

CEP in action                                             05

CEP platforms –market status                              06




White paper                                                                                                                   02
Relevance of CEP solutions in a service                        Eg., one can implement a state model for workflow
oriented BPM                                                   queue handling in TI BCO Business Events, but most people
                                                               prefer to use the out-of-the-box variant from a BPM tool.
CEP solutions are relevant in the following service oriented
BPM implementations:                                           CEP and SOA – how are they related?
Organizations where processes change frequently.               Connecting services in a typical SOA environment
Here, event-driven dynamic process models, which are           occurs in a linear and predictable sequence. Event
typically rule or plan driven, can be used. Changes can        driven architecture on the other hand, allows multiple,
be done at rule levels so the core process model remains       unpredictable, asynchronous events to happen in parallel
untouched and rework is reduced. Eg., TIBCO’s CEP              and trigger a single action. An event processing system
offering Business Events uses rules and state models to        senses and collects these events and correlates patterns
define event processing, as well as managed decisions.         which are disseminated to all interested parties (human
                                                               or automated) optionally via services. The interested
Automating / monitoring processes across the value chain.      stakeholders evaluate the events and may respond by
Though monitoring capabilities may be built-in at the          invoking a service, triggering a business process, or
BPM level, the customer may want to monitor processes          publishing or syndicating further information. Event Driven
against external metrics (like SOA services, external          Architecture (EDA) helps correlate complex relationships of
events, etc). That’s a role for CEP.                           events based on past trends and future predictions. While
                                                               EDA is often considered a subset of SOA, it is being widely
Eg., TIBCO Business Events can model a value chain             acknowledged as complementary to SOA.
as a state model, and correlate events in various
ways to support business activity monitoring – including       Complex Event Processing (CEP) is an emerging
monitoring BPM.                                                technology that will help companies develop and manage
                                                               Business Activity Monitoring (BAM), enterprise application
Supporting cross-functional processes.                         integration, network and systems security and business
In an enterprise BPM implementation, CEP tools                 processes. With SOA and CEP, organizations can develop
can define and utilize the appropriate meta-model              model-driven, agile “sense and respond” systems that
as concepts, and enjoy full flexibility in how it interacts    can detect events of business value and trigger services
with events, rules and decisions.                              to manage the min near real-time. Understanding which
                                                               applications are optimized for which architecture and
Monitoring the status of work in progress.                     how they interface with each other allows for improved
CEP allows long-running stateful processes – self              architecture. Such an architectural approach enables
monitoring processes come as a basic feature. Eg., many        end-to-end management of business processes and
CEP products can continuously question the attributes          supported functions.
of entities they are processing and deliver results as
events change.                                                 The operational stack supports a distributed architecture.
                                                               In this the activities of client applications and partner
Extending the life of legacy apps.                             services, both within the organization and outside, are
BPM can layer on existing applications and services. The       coordinated by orchestration processes. Clients and
same is true for CEP, which can invoke and control existing    partners communicate with these processes through the
applications as well.                                          ESB. Internal connections typically use MOM queues to
                                                               access the bus; external connections use SOAP over HTTP.
Improving inaccurate, inconsistent or laborious                The orchestration processes, besides coordinating partner
manual work.                                                   activities, also interface with backend systems (databases,
CEP is mostly about automated processes or monitoring          mainframes, and so on) and use BPM to delegate manual
events from manual processes.                                  work to human actors.




White paper                                                                                                                03
The following figure illustrates this architecture:


                                        CEP Cache engine                   Transactional database

                                         Distributed cache



                                                                  Channels (JMS)




                                   Business                           Communication               Content            Sync / Async
                                   services                             mechanism             transformation          messaging

                                                                           Service               Metadata
     Mediation                                                                                                         Messaging
                                                                          directory             managment


                                 Component                            Message routing               Logging            Auditing
                                  services

                                 SOA platform                                                                Event
                                                                                   Error handling
                                                                                                          management




         Customer APPS 1                    Customer APPS 2                    Operational APPS                  Shared APPS

                                                            System components


CEP consists of a set of rules that listen for events from the             Example, rather than tracking just order processes, BAM
bus. A publish-subscribe messaging infrastructure allows                   might also track the orders themselves, as they appear
CEP to get these events without disrupting operational                     in the backend order system. In the previous figure, we
processes. CEP rules, as we discussed above, infer complex                 labelled this piece BAM / BI (for Business Intelligence),
events from these operational events. They send complex                    because most BAM implementations by themselves lack the
events back on the bus on orchestration queues, where                      ability to incorporate application data. Combining process
they are picked up and handled by CEP-aware orchestration                  state with application data often requires the combination
processes (see figure).                                                    of BAM and some sort of BI or analytics tool.


                                                                           Whereas BAM merely presents a view of the system, CEP, by
CEP must be sufficiently scalable to handle the high volume                creating events that it has inferred from its observations,
of events on the bus. There is more to this than its sheer                 serves as an active participant. SOA platforms with CEP are
processing speed. CEP, like most rule-based systems, is                    self-healing; CEP watches what’s happening operationally
stateful. It keeps its state (i.e., its current set of asserted            and warns when it detects a significant occurrence.
facts) in a data store called the working memory.
                                                                           The dotted line in the previous figure from CEP to BAM
BAM works differently from CEP. Orchestration and                          suggests that complex events created by CEP could be
BPM processes have state and BAM uses this, combined                       incorporated into the BAM dashboard. Thus, the BAM
with business data from backend systems, to present                        dashboard for the trading application could show statistics
a consolidated view of the state of the processes.                         on completed orders or buy-aheads per broker. The
                                                                           mechanism by which CEP notifies BAM of complex events
                                                                           is implementation-specific.



White paper                                                                                                                              04
What CEP and SOA have in common are events. Both                 ƒƒ Many applications and people operate in sales,
technologies use events, but for different purposes.                including the person and the application that was used
SOA processes use events to drive control flow. An SOA              to submit the order. When an order is submitted, it goes
process is started by an event and during the course of             through all the internal validations and sales raises an
its execution waits for further events to propel it forward.        Order Tentatively Accepted event
Events in SOA, in effect, force process transitions. Most SOA    ƒƒ Inventory, which is subscribed to this event, checks if it
processes not only receive but also send events. When               has everything in stock for the order. For every item in
a process sends an event, another process receives it.              stock, it allocates that stock to the order and publishes
Elaborate choreographies arise when the processes of                the Inventory Allocated To Order event for it. For items /
multipleorganizations engage in conversations of events.            quantities not in stock, it starts a long running process
                                                                    which watches for inventory changes
CEP in action                                                    ƒƒ When an Inventory Changed event occurs, it
Example 1:                                                          matches that against orders requiring allocation –
There are different design choices in an SOA, even                  if it finds one that requires stock, it publishes the
when services are already identified. The following example         Inventory Allocated To Order event
illustrates this:                                                ƒƒ Sales is subscribed to the Inventory Allocated To
                                                                    Order event. On receiving any event pertaining
To cash the process of supply chain management, one starts          to the order tentatively accepted, it publishes an Order
with placing an order. Take two services: order service and         Accepted event
inventory service. The task is to place the order and make a     ƒƒ When inventory receives the Order Accepted event, it
corresponding reservation for the stock level. In this context      generates the pick list to bring all the stock from the
let us explore few design options (A, B, C):                        warehouses to the loading docks, finally publishing
A. 1. The “process / application” sends a message                   the Pick List Generated event containing target docks
     (sync or async) to “placeOrder” on the order service.       ƒƒ When shipping receives the Pick List Generated
   2. The “process / application” sends another                     event, it starts the yard management necessary to bring
     message (sync or async) to “blockStock” on the                 the trucks needed to the docks
     inventory service.
B. 1. The “process / application” sends a message                Example 2:
     (sync or async) to “placeOrder” on the order service.       In stock trading, a customer’s purchase of shares is the
  2. The order service sends a message (sync or async)           combination of four events:
     to “blockStock” on the inventory service.                   1.	 A request to the broker to buy the shares
C. 1. The “process / application” sends a message                2.	 The broker’s placement of the order
     (sync or async) to “placeOrder” on the order service.       3.	 The result of the order, including the price at which the
   2. The order service publishes an “orderReceived” event.         shares were bought
   3. The inventory service subscribes to the                    4.	 The broker’s response back to the customer
     “orderReceived” event.
                                                                 When CEP detects these four events, it publishes a complex
The same context above can be viewed in the light of a           event – let’s call it Buy Order Completed – back to the
business service. Three business services related to this        bus, where interested listeners may pick it up. The figure in
are: sales, inventory and shipping.                              following page illustrates the sequence of steps:




White paper                                                                                                                      05
Buy order completed
     Customer




                                                                                  CEP rule
                                   ESB                                            If 1 causes 2 and 2 causes 3 and 3 causes 4 then
                                                     1, 2, 3, 4 (in any order)    generate buy order completed event

                                                     Brocker SOA process
                                                                                                          4
    The market                                                                         3
                                                                2
                                          1


                                 Broker buy               Submit buy             Get buy order
                                                                                                          Send request           End
                                   request                    order                 responce




CEP can also detect breakdowns in the buy order.                       processes, but – unlike SOA – is concerned mainly with
For example, if the broker fails to respond to the                     the detection of patterns that emerge across events. It
customer in time, CEP easily spots this and publishes                  does this by applying event-pattern matching rules to the
a Buy Order Broker Response Late event. CEP also spot                  events. CEP thus relies on both SOA’s event bus and its
anomalies that span multiple orders. For example, it can               rules engine.
detect suspicious broker activities like a buy-ahead, in
which the broker, when directed by a customer to buy                   CEP platforms –market status
shares, buys his own lot of shares first and sells them after          IInitially the most established commercial
placing the customer’s order. It would be difficult to build a         implementations came from small vendors, such as
detection mechanism for buy-aheads into SOA processes;                 Coral8 and Streambase. But within the past few years
CEP, as a watchdog off to the side, is much better equipped.           the major SOA vendors have started to incorporate CEP
                                                                       into their stacks. IBM acquired Coral8 and came up with
This trade monitoring example is one of many CEP used                  a CEP offering. TIBCO aggressively sells its CEP tool,
cases. CEP used cases arise naturally from SOA used cases.             Business Events in its SOA and BPM deals. Oracle, thanks
If events move through the bus to drive services and                   to its BEA acquisition, offers a product called “Oracle” CEP.
processes, there is bound to be some important business
reason to infer complex events from them. Indeed, many                 The combined SOA / CEP offering is encouraging, because
CEP used cases require SOA. Fraud detection, for example,              CEP’s value does not lie solely in itself, but from its
which checks for anomalies in transactions on an account,              contribution to an overall solution. SOA vendors, in a
must reside on an SOA platform with processes in place to              sense, have been in the “overall solution” business
perform transactions on accounts. The fraud detection rules            for years. They promote the idea that business
must understand the structure of the account events and                architecture should be built on services. They also provide
the protocol governing how they are exchanged.                         a platform on which to build those services. But what’s
                                                                       always been missing is a tool to watch the services, to
As it is evident from these examples, many business                    make sense of what’s happening operationally.
domains services are invoking / subscribing to events,
which are a combination of SOA and CEP. CEP listens on the             The figure that follows shows a typical CEP stack offered
SOA bus for the same events that pass in and out of SOA                by major SOA vendors.




White paper                                                                                                                            06
Typical CEP stack offered by major SOA vendors.

                                                                                                     Evaluation of
                                                   Working                              Pattern      rules against
                                                   memory                               matcher      event data

        Channel                               Event objects
        manager

                                                                                                                       Execution
                                                   Rule base                            Agenda
                                                                                                                        engine

                                              Collection of rules              Order of
                                              in byte code                     rules firing
                                                                                                                   Object manager



                                                                                                                     Object store
                                                                                                                     (Transactional
                                                                                                                       database)




The channel manager manages all channels on which real              an important business monitoring capability. BAM, in
time events are received from business systems. Rule base           most implementations, is a summary the view of business
is a collection of dynamic rules that the CEP engine                processes in the system. Like CEP, it observes the progress
effectively uses for decision making. A decision tree based         of operational processes, though it handles this data
on industry standard algorithms like RETE is utilized to            somewhat differently. BAM’s purpose is to create a rolled
build and process hierarchical rules. SOA based processes           up, read-only data view. CEP, on the other hand, tries to
running on the orchestration engine can send uncorrelated           infer complex events that can trigger follow-on actions.
and unanalyzed events received via its partner systems              Both the CEP and the BAM funnel have a large volume of
to the CEP engine which can process and send correlated,            events from the operational stack, reducing all that chatter
analysed and contextual responses back.                             to a smaller set.


CEP and Business Activity Monitoring (BAM) are not a part           The following table maps this stack to the four major SOA
of the core operational SOA platform, but rather provide            vendors: IBM, Oracle, TIBCO and Microsoft.




  Vendor                    BPM                         Orchestration              ESB                       CEP

  TIBCO                     iProcess / Active           Business Works             Active Matrix             Business Events
                            Matrix BPM                                             Service Grid / Bus

  Oracle                    Oracle BPM                  BPEL Process               Oracle Service Bus        Oracle CEP
                                                        Manager

  IBM                       Websphere Process           Websphere Process          Websphere                 Websphere
                            Server, FileNet             Server, Websphere          Enterprise Service        BusinessEvents
                                                        Interchange Server         Bus, Websphere
                                                                                   Message Broker

  Microsoft                 Sharepoint BPM              Biztalk Server             Biztalk ESB               Microsoft CEP




White paper                                                                                                                           07
White paper   08

Contenu connexe

En vedette

Collaborate with customer. Engage the consumer.
Collaborate with customer. Engage the consumer.Collaborate with customer. Engage the consumer.
Collaborate with customer. Engage the consumer.Mindtree Ltd.
 
Brand identity brochure.
Brand identity brochure.Brand identity brochure.
Brand identity brochure.Mindtree Ltd.
 
Mindtree test automation services.
Mindtree test automation services.Mindtree test automation services.
Mindtree test automation services.Mindtree Ltd.
 
Innovated a functionally rich solution suite for a leader in air transport co...
Innovated a functionally rich solution suite for a leader in air transport co...Innovated a functionally rich solution suite for a leader in air transport co...
Innovated a functionally rich solution suite for a leader in air transport co...Mindtree Ltd.
 
IT strategy for a sports goods retailer.
IT strategy for a sports goods retailer.IT strategy for a sports goods retailer.
IT strategy for a sports goods retailer.Mindtree Ltd.
 
Predictable testing for faster time to market.
Predictable testing for faster time to market.Predictable testing for faster time to market.
Predictable testing for faster time to market.Mindtree Ltd.
 
Digital business offerings
Digital business offeringsDigital business offerings
Digital business offeringsMindtree Ltd.
 

En vedette (11)

Collaborate with customer. Engage the consumer.
Collaborate with customer. Engage the consumer.Collaborate with customer. Engage the consumer.
Collaborate with customer. Engage the consumer.
 
Brand identity brochure.
Brand identity brochure.Brand identity brochure.
Brand identity brochure.
 
Upstream testing.
Upstream testing.Upstream testing.
Upstream testing.
 
Mindtree test automation services.
Mindtree test automation services.Mindtree test automation services.
Mindtree test automation services.
 
Corporate brochure
Corporate brochureCorporate brochure
Corporate brochure
 
Innovated a functionally rich solution suite for a leader in air transport co...
Innovated a functionally rich solution suite for a leader in air transport co...Innovated a functionally rich solution suite for a leader in air transport co...
Innovated a functionally rich solution suite for a leader in air transport co...
 
IT strategy for a sports goods retailer.
IT strategy for a sports goods retailer.IT strategy for a sports goods retailer.
IT strategy for a sports goods retailer.
 
Predictable testing for faster time to market.
Predictable testing for faster time to market.Predictable testing for faster time to market.
Predictable testing for faster time to market.
 
Digital business offerings
Digital business offeringsDigital business offerings
Digital business offerings
 
Corporate brochure
Corporate brochureCorporate brochure
Corporate brochure
 
Energy and utilities.
Energy and utilities.Energy and utilities.
Energy and utilities.
 

Similaire à Enabling predictive analysis in service oriented BPM solutions.

Correlation Architecture
Correlation ArchitectureCorrelation Architecture
Correlation Architecturesboray
 
Mashups and Business Process Management in SOA
Mashups and Business Process Management in SOAMashups and Business Process Management in SOA
Mashups and Business Process Management in SOAWSO2
 
D1 3 200710 Poznan+Paris Bpm Arch
D1 3   200710 Poznan+Paris Bpm ArchD1 3   200710 Poznan+Paris Bpm Arch
D1 3 200710 Poznan+Paris Bpm Archbrutkowski
 
Creating a Workflow engine for BPM Application through the use of the Microse...
Creating a Workflow engine for BPM Application through the use of the Microse...Creating a Workflow engine for BPM Application through the use of the Microse...
Creating a Workflow engine for BPM Application through the use of the Microse...Tea Tavanxhiu
 
BAM CEP / Business Activity Monitoring , Complex Event Processingomplex
BAM CEP / Business Activity Monitoring , Complex Event Processingomplex BAM CEP / Business Activity Monitoring , Complex Event Processingomplex
BAM CEP / Business Activity Monitoring , Complex Event Processingomplex Liviu Claudiu Cismaru
 
TechDays 2010 Portugal - Event Driven Architectures - 16x9
TechDays 2010 Portugal - Event Driven Architectures - 16x9TechDays 2010 Portugal - Event Driven Architectures - 16x9
TechDays 2010 Portugal - Event Driven Architectures - 16x9Nuno Godinho
 
Architecting Enterprise BPM Systems for Optimal Agility
Architecting Enterprise BPM Systems for Optimal AgilityArchitecting Enterprise BPM Systems for Optimal Agility
Architecting Enterprise BPM Systems for Optimal AgilityNathaniel Palmer
 
The New Frontier For Business Agility Intelligent Bpm
The New Frontier For Business Agility   Intelligent BpmThe New Frontier For Business Agility   Intelligent Bpm
The New Frontier For Business Agility Intelligent BpmNat Evans
 
WSO2 Mashups and BPM
WSO2 Mashups and BPMWSO2 Mashups and BPM
WSO2 Mashups and BPMWSO2
 
Using BPM for Agility in a Globalised World
Using BPM for Agility in a Globalised WorldUsing BPM for Agility in a Globalised World
Using BPM for Agility in a Globalised WorldSchneider Electric
 
Spagic3 Presentation En
Spagic3 Presentation EnSpagic3 Presentation En
Spagic3 Presentation Enguest76d50b
 
Business and IT Alignment in Corporate Banking
Business and IT Alignment in Corporate BankingBusiness and IT Alignment in Corporate Banking
Business and IT Alignment in Corporate BankingGherda Stephens
 
eMA in an Outsourced Environment
eMA in an Outsourced EnvironmenteMA in an Outsourced Environment
eMA in an Outsourced Environmentpakelly
 
Correlation Architecture
Correlation ArchitectureCorrelation Architecture
Correlation Architecturesboray
 
Role of Business Process Automation in FDA Regulated Industries
Role of Business Process Automation in FDA Regulated IndustriesRole of Business Process Automation in FDA Regulated Industries
Role of Business Process Automation in FDA Regulated Industriesnageshnama
 
The business analyst and bpm
The business analyst and bpmThe business analyst and bpm
The business analyst and bpmdotNFS
 

Similaire à Enabling predictive analysis in service oriented BPM solutions. (20)

Correlation Architecture
Correlation ArchitectureCorrelation Architecture
Correlation Architecture
 
Mashups and Business Process Management in SOA
Mashups and Business Process Management in SOAMashups and Business Process Management in SOA
Mashups and Business Process Management in SOA
 
Intelligent Business Process Management
Intelligent Business Process ManagementIntelligent Business Process Management
Intelligent Business Process Management
 
D1 3 200710 Poznan+Paris Bpm Arch
D1 3   200710 Poznan+Paris Bpm ArchD1 3   200710 Poznan+Paris Bpm Arch
D1 3 200710 Poznan+Paris Bpm Arch
 
Creating a Workflow engine for BPM Application through the use of the Microse...
Creating a Workflow engine for BPM Application through the use of the Microse...Creating a Workflow engine for BPM Application through the use of the Microse...
Creating a Workflow engine for BPM Application through the use of the Microse...
 
BAM CEP / Business Activity Monitoring , Complex Event Processingomplex
BAM CEP / Business Activity Monitoring , Complex Event Processingomplex BAM CEP / Business Activity Monitoring , Complex Event Processingomplex
BAM CEP / Business Activity Monitoring , Complex Event Processingomplex
 
TechDays 2010 Portugal - Event Driven Architectures - 16x9
TechDays 2010 Portugal - Event Driven Architectures - 16x9TechDays 2010 Portugal - Event Driven Architectures - 16x9
TechDays 2010 Portugal - Event Driven Architectures - 16x9
 
Architecting Enterprise BPM Systems for Optimal Agility
Architecting Enterprise BPM Systems for Optimal AgilityArchitecting Enterprise BPM Systems for Optimal Agility
Architecting Enterprise BPM Systems for Optimal Agility
 
Business process-platform
Business process-platformBusiness process-platform
Business process-platform
 
The New Frontier For Business Agility Intelligent Bpm
The New Frontier For Business Agility   Intelligent BpmThe New Frontier For Business Agility   Intelligent Bpm
The New Frontier For Business Agility Intelligent Bpm
 
WSO2 Mashups and BPM
WSO2 Mashups and BPMWSO2 Mashups and BPM
WSO2 Mashups and BPM
 
Using BPM for Agility in a Globalised World
Using BPM for Agility in a Globalised WorldUsing BPM for Agility in a Globalised World
Using BPM for Agility in a Globalised World
 
Skelta Corporate Brochure
Skelta Corporate BrochureSkelta Corporate Brochure
Skelta Corporate Brochure
 
Spagic3 Presentation En
Spagic3 Presentation EnSpagic3 Presentation En
Spagic3 Presentation En
 
Business and IT Alignment in Corporate Banking
Business and IT Alignment in Corporate BankingBusiness and IT Alignment in Corporate Banking
Business and IT Alignment in Corporate Banking
 
eMA in an Outsourced Environment
eMA in an Outsourced EnvironmenteMA in an Outsourced Environment
eMA in an Outsourced Environment
 
Correlation Architecture
Correlation ArchitectureCorrelation Architecture
Correlation Architecture
 
Role of Business Process Automation in FDA Regulated Industries
Role of Business Process Automation in FDA Regulated IndustriesRole of Business Process Automation in FDA Regulated Industries
Role of Business Process Automation in FDA Regulated Industries
 
Bpm Hype Of Hulp Gemeente Amsterdam April 2009
Bpm Hype Of Hulp Gemeente Amsterdam April 2009Bpm Hype Of Hulp Gemeente Amsterdam April 2009
Bpm Hype Of Hulp Gemeente Amsterdam April 2009
 
The business analyst and bpm
The business analyst and bpmThe business analyst and bpm
The business analyst and bpm
 

Plus de Mindtree Ltd.

Mindtree: Shift to Continuous Delivery
Mindtree: Shift to Continuous DeliveryMindtree: Shift to Continuous Delivery
Mindtree: Shift to Continuous DeliveryMindtree Ltd.
 
Automation and upgrade of a multi country rollout testing, accelerated by Min...
Automation and upgrade of a multi country rollout testing, accelerated by Min...Automation and upgrade of a multi country rollout testing, accelerated by Min...
Automation and upgrade of a multi country rollout testing, accelerated by Min...Mindtree Ltd.
 
Developing a contact center application to enhance customer service in the ba...
Developing a contact center application to enhance customer service in the ba...Developing a contact center application to enhance customer service in the ba...
Developing a contact center application to enhance customer service in the ba...Mindtree Ltd.
 
Designing a syndicated loans deal management system.
Designing a syndicated loans deal management system.Designing a syndicated loans deal management system.
Designing a syndicated loans deal management system.Mindtree Ltd.
 
Facilitating a unique identification enrolment and authentication system.
Facilitating a unique identification enrolment and authentication system.Facilitating a unique identification enrolment and authentication system.
Facilitating a unique identification enrolment and authentication system.Mindtree Ltd.
 
Implementing a comprehensive digital content management solution.
Implementing a comprehensive digital content management solution.Implementing a comprehensive digital content management solution.
Implementing a comprehensive digital content management solution.Mindtree Ltd.
 
Developed a cutting edge Cloud-based solution for enhancing Indirect Material...
Developed a cutting edge Cloud-based solution for enhancing Indirect Material...Developed a cutting edge Cloud-based solution for enhancing Indirect Material...
Developed a cutting edge Cloud-based solution for enhancing Indirect Material...Mindtree Ltd.
 
Managed support cost and enhanced performance for the world's largest gaming ...
Managed support cost and enhanced performance for the world's largest gaming ...Managed support cost and enhanced performance for the world's largest gaming ...
Managed support cost and enhanced performance for the world's largest gaming ...Mindtree Ltd.
 
Online platform for a leading American consumer electronic enterprise.
Online platform for a leading American consumer electronic enterprise.Online platform for a leading American consumer electronic enterprise.
Online platform for a leading American consumer electronic enterprise.Mindtree Ltd.
 
Next generation SaaS solution with end-to-end ownership for a leading mobile ...
Next generation SaaS solution with end-to-end ownership for a leading mobile ...Next generation SaaS solution with end-to-end ownership for a leading mobile ...
Next generation SaaS solution with end-to-end ownership for a leading mobile ...Mindtree Ltd.
 
Cloud based analytics framework for the world's largest B2B e-commerce servic...
Cloud based analytics framework for the world's largest B2B e-commerce servic...Cloud based analytics framework for the world's largest B2B e-commerce servic...
Cloud based analytics framework for the world's largest B2B e-commerce servic...Mindtree Ltd.
 
Developing high customer engagement through mobile application for a major cr...
Developing high customer engagement through mobile application for a major cr...Developing high customer engagement through mobile application for a major cr...
Developing high customer engagement through mobile application for a major cr...Mindtree Ltd.
 
Crafting an intuitive and efficient marketing portal to enhance product manag...
Crafting an intuitive and efficient marketing portal to enhance product manag...Crafting an intuitive and efficient marketing portal to enhance product manag...
Crafting an intuitive and efficient marketing portal to enhance product manag...Mindtree Ltd.
 
Enhancing Web Content Management System (WCMS) and service.
Enhancing Web Content Management System (WCMS) and service.Enhancing Web Content Management System (WCMS) and service.
Enhancing Web Content Management System (WCMS) and service.Mindtree Ltd.
 
SharePoint partnership.
SharePoint partnership.SharePoint partnership.
SharePoint partnership.Mindtree Ltd.
 
Improving employee and broker productivity with portal technologies.
Improving employee and broker productivity with portal technologies.Improving employee and broker productivity with portal technologies.
Improving employee and broker productivity with portal technologies.Mindtree Ltd.
 
SITEsMART - Connecting with the on-the-move consumer.
SITEsMART - Connecting with the on-the-move consumer.SITEsMART - Connecting with the on-the-move consumer.
SITEsMART - Connecting with the on-the-move consumer.Mindtree Ltd.
 
Powering performance through a tailor-made solution.
Powering performance through a tailor-made solution.Powering performance through a tailor-made solution.
Powering performance through a tailor-made solution.Mindtree Ltd.
 
Developing softphone driver for Unified Communication Market (UCF)
Developing softphone driver for Unified Communication Market (UCF)Developing softphone driver for Unified Communication Market (UCF)
Developing softphone driver for Unified Communication Market (UCF)Mindtree Ltd.
 
Mindtree SAP BI, BO & HANA services
Mindtree SAP BI, BO & HANA servicesMindtree SAP BI, BO & HANA services
Mindtree SAP BI, BO & HANA servicesMindtree Ltd.
 

Plus de Mindtree Ltd. (20)

Mindtree: Shift to Continuous Delivery
Mindtree: Shift to Continuous DeliveryMindtree: Shift to Continuous Delivery
Mindtree: Shift to Continuous Delivery
 
Automation and upgrade of a multi country rollout testing, accelerated by Min...
Automation and upgrade of a multi country rollout testing, accelerated by Min...Automation and upgrade of a multi country rollout testing, accelerated by Min...
Automation and upgrade of a multi country rollout testing, accelerated by Min...
 
Developing a contact center application to enhance customer service in the ba...
Developing a contact center application to enhance customer service in the ba...Developing a contact center application to enhance customer service in the ba...
Developing a contact center application to enhance customer service in the ba...
 
Designing a syndicated loans deal management system.
Designing a syndicated loans deal management system.Designing a syndicated loans deal management system.
Designing a syndicated loans deal management system.
 
Facilitating a unique identification enrolment and authentication system.
Facilitating a unique identification enrolment and authentication system.Facilitating a unique identification enrolment and authentication system.
Facilitating a unique identification enrolment and authentication system.
 
Implementing a comprehensive digital content management solution.
Implementing a comprehensive digital content management solution.Implementing a comprehensive digital content management solution.
Implementing a comprehensive digital content management solution.
 
Developed a cutting edge Cloud-based solution for enhancing Indirect Material...
Developed a cutting edge Cloud-based solution for enhancing Indirect Material...Developed a cutting edge Cloud-based solution for enhancing Indirect Material...
Developed a cutting edge Cloud-based solution for enhancing Indirect Material...
 
Managed support cost and enhanced performance for the world's largest gaming ...
Managed support cost and enhanced performance for the world's largest gaming ...Managed support cost and enhanced performance for the world's largest gaming ...
Managed support cost and enhanced performance for the world's largest gaming ...
 
Online platform for a leading American consumer electronic enterprise.
Online platform for a leading American consumer electronic enterprise.Online platform for a leading American consumer electronic enterprise.
Online platform for a leading American consumer electronic enterprise.
 
Next generation SaaS solution with end-to-end ownership for a leading mobile ...
Next generation SaaS solution with end-to-end ownership for a leading mobile ...Next generation SaaS solution with end-to-end ownership for a leading mobile ...
Next generation SaaS solution with end-to-end ownership for a leading mobile ...
 
Cloud based analytics framework for the world's largest B2B e-commerce servic...
Cloud based analytics framework for the world's largest B2B e-commerce servic...Cloud based analytics framework for the world's largest B2B e-commerce servic...
Cloud based analytics framework for the world's largest B2B e-commerce servic...
 
Developing high customer engagement through mobile application for a major cr...
Developing high customer engagement through mobile application for a major cr...Developing high customer engagement through mobile application for a major cr...
Developing high customer engagement through mobile application for a major cr...
 
Crafting an intuitive and efficient marketing portal to enhance product manag...
Crafting an intuitive and efficient marketing portal to enhance product manag...Crafting an intuitive and efficient marketing portal to enhance product manag...
Crafting an intuitive and efficient marketing portal to enhance product manag...
 
Enhancing Web Content Management System (WCMS) and service.
Enhancing Web Content Management System (WCMS) and service.Enhancing Web Content Management System (WCMS) and service.
Enhancing Web Content Management System (WCMS) and service.
 
SharePoint partnership.
SharePoint partnership.SharePoint partnership.
SharePoint partnership.
 
Improving employee and broker productivity with portal technologies.
Improving employee and broker productivity with portal technologies.Improving employee and broker productivity with portal technologies.
Improving employee and broker productivity with portal technologies.
 
SITEsMART - Connecting with the on-the-move consumer.
SITEsMART - Connecting with the on-the-move consumer.SITEsMART - Connecting with the on-the-move consumer.
SITEsMART - Connecting with the on-the-move consumer.
 
Powering performance through a tailor-made solution.
Powering performance through a tailor-made solution.Powering performance through a tailor-made solution.
Powering performance through a tailor-made solution.
 
Developing softphone driver for Unified Communication Market (UCF)
Developing softphone driver for Unified Communication Market (UCF)Developing softphone driver for Unified Communication Market (UCF)
Developing softphone driver for Unified Communication Market (UCF)
 
Mindtree SAP BI, BO & HANA services
Mindtree SAP BI, BO & HANA servicesMindtree SAP BI, BO & HANA services
Mindtree SAP BI, BO & HANA services
 

Dernier

Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
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
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
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
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 

Dernier (20)

Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
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
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
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
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 

Enabling predictive analysis in service oriented BPM solutions.

  • 1. WHITE PAPER Enabling predictive analysis in service oriented BPM solutions.
  • 2. Summary Complex Event Processing (CEP) is a real time event analysis, correlation and processing mechanism that fits in seamlessly with service oriented Business Process Management (BPM) solutions. Conceived in the early 1990s by Dr. David Luckham of Stanford University, CEP uses technology to predict high-level events likely to result from specific sets of low-level factors. CEP identifies and analyzes cause and effect relationships among real time events and allows personnel to take proactive, effective actions in response to specific scenarios. CEP is used in security policy development, risk management, Customer Relationship Management (CRM), application servers and middleware. One important aspect of CEP is Business Activity Monitoring (BAM). BAM is the use of technology to proactively define and analyze the most critical opportunities and risks in an enterprise. CEP is especially effective in situations where numerous factors interact in variable ways, such as investment and lending environments for financial institutions. CEP can also be used in threat management for communications networks. It is evident that CEP is a technology for low-latency filtering, correlating, aggregating and computing real-world event data. The processing of messages as they arrive is called “real time processing” and the use of a sophisticated and optimized storage mechanism is called “historical processing”. A good event processing platform is judged by how well it integrates real-time and historical processing. Contents Relevance of CEP solutions in a service oriented BPM 03 CEP and SOA – how are they related? 03 CEP in action 05 CEP platforms –market status 06 White paper 02
  • 3. Relevance of CEP solutions in a service Eg., one can implement a state model for workflow oriented BPM queue handling in TI BCO Business Events, but most people prefer to use the out-of-the-box variant from a BPM tool. CEP solutions are relevant in the following service oriented BPM implementations: CEP and SOA – how are they related? Organizations where processes change frequently. Connecting services in a typical SOA environment Here, event-driven dynamic process models, which are occurs in a linear and predictable sequence. Event typically rule or plan driven, can be used. Changes can driven architecture on the other hand, allows multiple, be done at rule levels so the core process model remains unpredictable, asynchronous events to happen in parallel untouched and rework is reduced. Eg., TIBCO’s CEP and trigger a single action. An event processing system offering Business Events uses rules and state models to senses and collects these events and correlates patterns define event processing, as well as managed decisions. which are disseminated to all interested parties (human or automated) optionally via services. The interested Automating / monitoring processes across the value chain. stakeholders evaluate the events and may respond by Though monitoring capabilities may be built-in at the invoking a service, triggering a business process, or BPM level, the customer may want to monitor processes publishing or syndicating further information. Event Driven against external metrics (like SOA services, external Architecture (EDA) helps correlate complex relationships of events, etc). That’s a role for CEP. events based on past trends and future predictions. While EDA is often considered a subset of SOA, it is being widely Eg., TIBCO Business Events can model a value chain acknowledged as complementary to SOA. as a state model, and correlate events in various ways to support business activity monitoring – including Complex Event Processing (CEP) is an emerging monitoring BPM. technology that will help companies develop and manage Business Activity Monitoring (BAM), enterprise application Supporting cross-functional processes. integration, network and systems security and business In an enterprise BPM implementation, CEP tools processes. With SOA and CEP, organizations can develop can define and utilize the appropriate meta-model model-driven, agile “sense and respond” systems that as concepts, and enjoy full flexibility in how it interacts can detect events of business value and trigger services with events, rules and decisions. to manage the min near real-time. Understanding which applications are optimized for which architecture and Monitoring the status of work in progress. how they interface with each other allows for improved CEP allows long-running stateful processes – self architecture. Such an architectural approach enables monitoring processes come as a basic feature. Eg., many end-to-end management of business processes and CEP products can continuously question the attributes supported functions. of entities they are processing and deliver results as events change. The operational stack supports a distributed architecture. In this the activities of client applications and partner Extending the life of legacy apps. services, both within the organization and outside, are BPM can layer on existing applications and services. The coordinated by orchestration processes. Clients and same is true for CEP, which can invoke and control existing partners communicate with these processes through the applications as well. ESB. Internal connections typically use MOM queues to access the bus; external connections use SOAP over HTTP. Improving inaccurate, inconsistent or laborious The orchestration processes, besides coordinating partner manual work. activities, also interface with backend systems (databases, CEP is mostly about automated processes or monitoring mainframes, and so on) and use BPM to delegate manual events from manual processes. work to human actors. White paper 03
  • 4. The following figure illustrates this architecture: CEP Cache engine Transactional database Distributed cache Channels (JMS) Business Communication Content Sync / Async services mechanism transformation messaging Service Metadata Mediation Messaging directory managment Component Message routing Logging Auditing services SOA platform Event Error handling management Customer APPS 1 Customer APPS 2 Operational APPS Shared APPS System components CEP consists of a set of rules that listen for events from the Example, rather than tracking just order processes, BAM bus. A publish-subscribe messaging infrastructure allows might also track the orders themselves, as they appear CEP to get these events without disrupting operational in the backend order system. In the previous figure, we processes. CEP rules, as we discussed above, infer complex labelled this piece BAM / BI (for Business Intelligence), events from these operational events. They send complex because most BAM implementations by themselves lack the events back on the bus on orchestration queues, where ability to incorporate application data. Combining process they are picked up and handled by CEP-aware orchestration state with application data often requires the combination processes (see figure). of BAM and some sort of BI or analytics tool. Whereas BAM merely presents a view of the system, CEP, by CEP must be sufficiently scalable to handle the high volume creating events that it has inferred from its observations, of events on the bus. There is more to this than its sheer serves as an active participant. SOA platforms with CEP are processing speed. CEP, like most rule-based systems, is self-healing; CEP watches what’s happening operationally stateful. It keeps its state (i.e., its current set of asserted and warns when it detects a significant occurrence. facts) in a data store called the working memory. The dotted line in the previous figure from CEP to BAM BAM works differently from CEP. Orchestration and suggests that complex events created by CEP could be BPM processes have state and BAM uses this, combined incorporated into the BAM dashboard. Thus, the BAM with business data from backend systems, to present dashboard for the trading application could show statistics a consolidated view of the state of the processes. on completed orders or buy-aheads per broker. The mechanism by which CEP notifies BAM of complex events is implementation-specific. White paper 04
  • 5. What CEP and SOA have in common are events. Both ƒƒ Many applications and people operate in sales, technologies use events, but for different purposes. including the person and the application that was used SOA processes use events to drive control flow. An SOA to submit the order. When an order is submitted, it goes process is started by an event and during the course of through all the internal validations and sales raises an its execution waits for further events to propel it forward. Order Tentatively Accepted event Events in SOA, in effect, force process transitions. Most SOA ƒƒ Inventory, which is subscribed to this event, checks if it processes not only receive but also send events. When has everything in stock for the order. For every item in a process sends an event, another process receives it. stock, it allocates that stock to the order and publishes Elaborate choreographies arise when the processes of the Inventory Allocated To Order event for it. For items / multipleorganizations engage in conversations of events. quantities not in stock, it starts a long running process which watches for inventory changes CEP in action ƒƒ When an Inventory Changed event occurs, it Example 1: matches that against orders requiring allocation – There are different design choices in an SOA, even if it finds one that requires stock, it publishes the when services are already identified. The following example Inventory Allocated To Order event illustrates this: ƒƒ Sales is subscribed to the Inventory Allocated To Order event. On receiving any event pertaining To cash the process of supply chain management, one starts to the order tentatively accepted, it publishes an Order with placing an order. Take two services: order service and Accepted event inventory service. The task is to place the order and make a ƒƒ When inventory receives the Order Accepted event, it corresponding reservation for the stock level. In this context generates the pick list to bring all the stock from the let us explore few design options (A, B, C): warehouses to the loading docks, finally publishing A. 1. The “process / application” sends a message the Pick List Generated event containing target docks (sync or async) to “placeOrder” on the order service. ƒƒ When shipping receives the Pick List Generated 2. The “process / application” sends another event, it starts the yard management necessary to bring message (sync or async) to “blockStock” on the the trucks needed to the docks inventory service. B. 1. The “process / application” sends a message Example 2: (sync or async) to “placeOrder” on the order service. In stock trading, a customer’s purchase of shares is the 2. The order service sends a message (sync or async) combination of four events: to “blockStock” on the inventory service. 1. A request to the broker to buy the shares C. 1. The “process / application” sends a message 2. The broker’s placement of the order (sync or async) to “placeOrder” on the order service. 3. The result of the order, including the price at which the 2. The order service publishes an “orderReceived” event. shares were bought 3. The inventory service subscribes to the 4. The broker’s response back to the customer “orderReceived” event. When CEP detects these four events, it publishes a complex The same context above can be viewed in the light of a event – let’s call it Buy Order Completed – back to the business service. Three business services related to this bus, where interested listeners may pick it up. The figure in are: sales, inventory and shipping. following page illustrates the sequence of steps: White paper 05
  • 6. Buy order completed Customer CEP rule ESB If 1 causes 2 and 2 causes 3 and 3 causes 4 then 1, 2, 3, 4 (in any order) generate buy order completed event Brocker SOA process 4 The market 3 2 1 Broker buy Submit buy Get buy order Send request End request order responce CEP can also detect breakdowns in the buy order. processes, but – unlike SOA – is concerned mainly with For example, if the broker fails to respond to the the detection of patterns that emerge across events. It customer in time, CEP easily spots this and publishes does this by applying event-pattern matching rules to the a Buy Order Broker Response Late event. CEP also spot events. CEP thus relies on both SOA’s event bus and its anomalies that span multiple orders. For example, it can rules engine. detect suspicious broker activities like a buy-ahead, in which the broker, when directed by a customer to buy CEP platforms –market status shares, buys his own lot of shares first and sells them after IInitially the most established commercial placing the customer’s order. It would be difficult to build a implementations came from small vendors, such as detection mechanism for buy-aheads into SOA processes; Coral8 and Streambase. But within the past few years CEP, as a watchdog off to the side, is much better equipped. the major SOA vendors have started to incorporate CEP into their stacks. IBM acquired Coral8 and came up with This trade monitoring example is one of many CEP used a CEP offering. TIBCO aggressively sells its CEP tool, cases. CEP used cases arise naturally from SOA used cases. Business Events in its SOA and BPM deals. Oracle, thanks If events move through the bus to drive services and to its BEA acquisition, offers a product called “Oracle” CEP. processes, there is bound to be some important business reason to infer complex events from them. Indeed, many The combined SOA / CEP offering is encouraging, because CEP used cases require SOA. Fraud detection, for example, CEP’s value does not lie solely in itself, but from its which checks for anomalies in transactions on an account, contribution to an overall solution. SOA vendors, in a must reside on an SOA platform with processes in place to sense, have been in the “overall solution” business perform transactions on accounts. The fraud detection rules for years. They promote the idea that business must understand the structure of the account events and architecture should be built on services. They also provide the protocol governing how they are exchanged. a platform on which to build those services. But what’s always been missing is a tool to watch the services, to As it is evident from these examples, many business make sense of what’s happening operationally. domains services are invoking / subscribing to events, which are a combination of SOA and CEP. CEP listens on the The figure that follows shows a typical CEP stack offered SOA bus for the same events that pass in and out of SOA by major SOA vendors. White paper 06
  • 7. Typical CEP stack offered by major SOA vendors. Evaluation of Working Pattern rules against memory matcher event data Channel Event objects manager Execution Rule base Agenda engine Collection of rules Order of in byte code rules firing Object manager Object store (Transactional database) The channel manager manages all channels on which real an important business monitoring capability. BAM, in time events are received from business systems. Rule base most implementations, is a summary the view of business is a collection of dynamic rules that the CEP engine processes in the system. Like CEP, it observes the progress effectively uses for decision making. A decision tree based of operational processes, though it handles this data on industry standard algorithms like RETE is utilized to somewhat differently. BAM’s purpose is to create a rolled build and process hierarchical rules. SOA based processes up, read-only data view. CEP, on the other hand, tries to running on the orchestration engine can send uncorrelated infer complex events that can trigger follow-on actions. and unanalyzed events received via its partner systems Both the CEP and the BAM funnel have a large volume of to the CEP engine which can process and send correlated, events from the operational stack, reducing all that chatter analysed and contextual responses back. to a smaller set. CEP and Business Activity Monitoring (BAM) are not a part The following table maps this stack to the four major SOA of the core operational SOA platform, but rather provide vendors: IBM, Oracle, TIBCO and Microsoft. Vendor BPM Orchestration ESB CEP TIBCO iProcess / Active Business Works Active Matrix Business Events Matrix BPM Service Grid / Bus Oracle Oracle BPM BPEL Process Oracle Service Bus Oracle CEP Manager IBM Websphere Process Websphere Process Websphere Websphere Server, FileNet Server, Websphere Enterprise Service BusinessEvents Interchange Server Bus, Websphere Message Broker Microsoft Sharepoint BPM Biztalk Server Biztalk ESB Microsoft CEP White paper 07