SlideShare une entreprise Scribd logo
1  sur  6
Tutorial: Use of Event Delivery Network (EDN)
 and POProcessing
 Let's try out a simple EDN use case. We will extend a POProcessing example.

         In order to follow the tutorial in this article you must have installed the product and learned how
         to use the WebLogic console to configure the JMS adapter and define queues and connection
         factories.
 To illustrate the usage of events, you modify the existing POProcessing composite to accept new orders from
 two sources: the Web Service interface, which you have already implemented, and another application that will
 publish events to indicate new orders.
 Modifying the composite to consume events
 In this step, you modify the POProcessing composite to use EDN. You add a new mediator component
 called receivePO, which subscribes to an event called NewPO and sends the received PO to
 the routePOservice.
 Defining the event
1.   Open the POProcessing application in JDeveloper and open composite.xml,and click on the Event
     Definition Creation icon:




2.   In the Event Definition Creationwindow, enter POEvents as the name of the event definition. Accept the
     namespace value generated.


            Event names are fully qualified names, which means the combination of a namespace and
            the event name together identify a unique event. For instance, the event called
            NewCustomerAdded with name space http://schemas.oracle.com/events/edl/POEvents is
            different than the event with the same name but under a different namespace, for example,
            event NewCustomerAdded with namespace
            http://schemas.oracle.com/event/edl/CRMEvents.
3.   Add a new event by clicking on the +icon.
4.   Select the PuchaseOrder element from the po.xsd file using the chooser.
5.   Enter NewPO as the name of the event and click on OK to close the Add an Eventwindow.
6.   Click on OK to complete the event definition.
7.   Close the POEvents.edl panel.
8.   Save all.
         You have just created a new event called POEvent. It is now available to this and other
         composites to subscribe to or publish. Whenever this event is delivered,it will also carry with it a
         document for the new purchase order.
 Subscribing to the NewPO event
1.   Drag-and-drop a Mediator component on to the composite.
2.   Name the mediator receiveNewPO.
3.   Select Subscribe to Events for the Template.
4.   Click on the + to add an event. Select the NewPO event from the Event Chooser window.
5.   Click on OK to accept and create the mediator.
6.   Save all.
7.   Connect the receiveNewPO mediator to the routePO mediator:
8.   Double-click on the receiveNewPO mediator and define a new transformation map. In the transformation-
     map, map the all the fields from the source to the target.
9.   Close the mediator and save all.
 Deploying and testing
1.   Deploy the POProcessing composite tothe server.
2.   Browse to the EM console at http://localhost:7001/em.
3.   Right-click on folder soa-infra (soa_server1)under folder SOA:




4.   Click on item Business Events.
5.   You should see the Business Events management page with the NewPO event listed in the Events
6.   Select the event and click on the Test…button to publish the event.
7.   In the pop-up window, enter the following XML and click on Publish:


            <PurchaseOrder xmlns="http://xmlns.oracle.com/ns/order">
            <CustID>1111</CustID>
            <ID>33412</ID>
            <productName>Sony Bluray DVD Player</productName>
            <itemType>Electronics</itemType>
            <price>350</price>
            <quantity>5</quantity>
            <status>Initial</status>
            <ccType>Mastercard</ccType>
            <ccNumber>1234-1234-1234-1234</ccNumber>
            </PurchaseOrder>

8.   You should get a "The Event published successfully" message.
9.   Click on soa-infra in the navigation panel on the left to get the soa-infra dashboard.
10. Click on the POProcessing composite to view new instances. You should see an instance created for
     processing the event you just published. Click on the instance ID to view the flowtrace.




         This was just one way of publishing an event and will typically be used as away to test the
         composite. In most cases, the events will be published from a number of sources—from a
Mediator, from PL/SQL by calling the EDN_PUBLISH_EVENT stored function or from a Java
       class using the EDNAPI. An ADF-BC application can also publish events based on database
       insert, update, and delete operations.

Summary
You cannot really build comprehensive SOA applications without business events. Traditionally, this
requirement has been fulfilled by message-oriented-middleware(MOM). However, MOM-based solutions
don't necessarily fit very well within a service-oriented architecture. They are low-level technical solutions that
provide no business semantics, whereas one of the main objectives of creating services is to provide business
functions using semantics that are better understood by business analysts.
With EDN, Oracle SOA Suite 11g fills this gap by providing an event-handling solution that allows creation and
use of events using business semantics, without the publisher or subscriber of the event ever having to worry
about the mechanics of messaging.

As you have seen in this short lab, events are created in away that directly maps to actual business events, in
this case creation of a new purchase order. The process of subscribing to this event was done declaratively
without having to configure any messaging queues or topics.

Contenu connexe

En vedette

Differeniation
DiffereniationDiffereniation
DiffereniationMeganbri03
 
Osb developer's guide
Osb developer's guideOsb developer's guide
Osb developer's guideHarish B
 
Things to consider in the learning
Things to consider in the learningThings to consider in the learning
Things to consider in the learningepafroditus
 
Beyond These Walls - Back to School PPT
Beyond These Walls - Back to School PPTBeyond These Walls - Back to School PPT
Beyond These Walls - Back to School PPTMarcJScott
 
Senior Project 12 pics.
Senior Project 12 pics.Senior Project 12 pics.
Senior Project 12 pics.Selena Maddox
 
Records and Information Management Survey by MCS Management Services
Records and Information Management Survey by MCS Management ServicesRecords and Information Management Survey by MCS Management Services
Records and Information Management Survey by MCS Management ServicesMCS Management Services
 
A Discourse on e-Discovery - MCS Management Services
A Discourse on e-Discovery - MCS Management ServicesA Discourse on e-Discovery - MCS Management Services
A Discourse on e-Discovery - MCS Management ServicesMCS Management Services
 
Considerations of a Business Partnership
Considerations of a Business PartnershipConsiderations of a Business Partnership
Considerations of a Business PartnershipJoseph Treff
 
Records & Information Management and the Law Firm - MCS Management Services
Records & Information Management and the Law Firm - MCS Management ServicesRecords & Information Management and the Law Firm - MCS Management Services
Records & Information Management and the Law Firm - MCS Management ServicesMCS Management Services
 
Differeniation
DiffereniationDiffereniation
DiffereniationMeganbri03
 
Be Digital or Die - Predictive Analytics for Digital Transformation
Be Digital or Die - Predictive Analytics for Digital TransformationBe Digital or Die - Predictive Analytics for Digital Transformation
Be Digital or Die - Predictive Analytics for Digital TransformationFintricity
 
Secure Elements in Web Applications
Secure Elements in Web ApplicationsSecure Elements in Web Applications
Secure Elements in Web ApplicationsOlivier Potonniée
 

En vedette (18)

Differeniation
DiffereniationDiffereniation
Differeniation
 
Osb developer's guide
Osb developer's guideOsb developer's guide
Osb developer's guide
 
Efectos tardios quimioterapia
Efectos tardios quimioterapiaEfectos tardios quimioterapia
Efectos tardios quimioterapia
 
Things to consider in the learning
Things to consider in the learningThings to consider in the learning
Things to consider in the learning
 
Herba LIfe
Herba LIfeHerba LIfe
Herba LIfe
 
Beyond These Walls - Back to School PPT
Beyond These Walls - Back to School PPTBeyond These Walls - Back to School PPT
Beyond These Walls - Back to School PPT
 
Senior Project 12 pics.
Senior Project 12 pics.Senior Project 12 pics.
Senior Project 12 pics.
 
Records and Information Management Survey by MCS Management Services
Records and Information Management Survey by MCS Management ServicesRecords and Information Management Survey by MCS Management Services
Records and Information Management Survey by MCS Management Services
 
Faults
FaultsFaults
Faults
 
A Discourse on e-Discovery - MCS Management Services
A Discourse on e-Discovery - MCS Management ServicesA Discourse on e-Discovery - MCS Management Services
A Discourse on e-Discovery - MCS Management Services
 
Considerations of a Business Partnership
Considerations of a Business PartnershipConsiderations of a Business Partnership
Considerations of a Business Partnership
 
Records & Information Management and the Law Firm - MCS Management Services
Records & Information Management and the Law Firm - MCS Management ServicesRecords & Information Management and the Law Firm - MCS Management Services
Records & Information Management and the Law Firm - MCS Management Services
 
Poaching
PoachingPoaching
Poaching
 
Poaching
PoachingPoaching
Poaching
 
2012 Jdivanna
2012   Jdivanna2012   Jdivanna
2012 Jdivanna
 
Differeniation
DiffereniationDiffereniation
Differeniation
 
Be Digital or Die - Predictive Analytics for Digital Transformation
Be Digital or Die - Predictive Analytics for Digital TransformationBe Digital or Die - Predictive Analytics for Digital Transformation
Be Digital or Die - Predictive Analytics for Digital Transformation
 
Secure Elements in Web Applications
Secure Elements in Web ApplicationsSecure Elements in Web Applications
Secure Elements in Web Applications
 

Similaire à Event driven network

Similaire à Event driven network (20)

Bpmedn
BpmednBpmedn
Bpmedn
 
Bpm edn
Bpm ednBpm edn
Bpm edn
 
Bpm
BpmBpm
Bpm
 
EVENT DELIVERY
EVENT DELIVERY EVENT DELIVERY
EVENT DELIVERY
 
Bpmnt-102-edn-integration
Bpmnt-102-edn-integrationBpmnt-102-edn-integration
Bpmnt-102-edn-integration
 
Oracle BPM 11g Lesson 2
Oracle BPM 11g Lesson 2Oracle BPM 11g Lesson 2
Oracle BPM 11g Lesson 2
 
OpenWhisk Lab
OpenWhisk Lab OpenWhisk Lab
OpenWhisk Lab
 
Adapters db-104-informixstoredprocedure
Adapters db-104-informixstoredprocedureAdapters db-104-informixstoredprocedure
Adapters db-104-informixstoredprocedure
 
Homestead Weather workshop
Homestead Weather workshopHomestead Weather workshop
Homestead Weather workshop
 
Demonstrating caf.doc
Demonstrating caf.docDemonstrating caf.doc
Demonstrating caf.doc
 
How to develop a gateway service using code based implementation
How to develop a gateway service using code based implementationHow to develop a gateway service using code based implementation
How to develop a gateway service using code based implementation
 
TibcoBE-Development
TibcoBE-DevelopmentTibcoBE-Development
TibcoBE-Development
 
Soa8
Soa8Soa8
Soa8
 
Oracle OSB Tutorial 1
Oracle OSB Tutorial 1Oracle OSB Tutorial 1
Oracle OSB Tutorial 1
 
SAP workflow events
SAP workflow eventsSAP workflow events
SAP workflow events
 
Getting started-with-oracle-so a-viii
Getting started-with-oracle-so a-viiiGetting started-with-oracle-so a-viii
Getting started-with-oracle-so a-viii
 
Test script
Test scriptTest script
Test script
 
Build Your First Real-time App with the Streaming API
Build Your First Real-time App with the Streaming APIBuild Your First Real-time App with the Streaming API
Build Your First Real-time App with the Streaming API
 
Open microsoft visual studio/tutorialoutlet
Open microsoft visual studio/tutorialoutletOpen microsoft visual studio/tutorialoutlet
Open microsoft visual studio/tutorialoutlet
 
Solace Integration with Mulesoft
Solace Integration with MulesoftSolace Integration with Mulesoft
Solace Integration with Mulesoft
 

Dernier

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
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
 
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
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
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
 
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
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
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
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
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
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 

Dernier (20)

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
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
 
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)
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
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
 
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
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
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
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 

Event driven network

  • 1. Tutorial: Use of Event Delivery Network (EDN) and POProcessing Let's try out a simple EDN use case. We will extend a POProcessing example. In order to follow the tutorial in this article you must have installed the product and learned how to use the WebLogic console to configure the JMS adapter and define queues and connection factories. To illustrate the usage of events, you modify the existing POProcessing composite to accept new orders from two sources: the Web Service interface, which you have already implemented, and another application that will publish events to indicate new orders. Modifying the composite to consume events In this step, you modify the POProcessing composite to use EDN. You add a new mediator component called receivePO, which subscribes to an event called NewPO and sends the received PO to the routePOservice. Defining the event 1. Open the POProcessing application in JDeveloper and open composite.xml,and click on the Event Definition Creation icon: 2. In the Event Definition Creationwindow, enter POEvents as the name of the event definition. Accept the namespace value generated. Event names are fully qualified names, which means the combination of a namespace and the event name together identify a unique event. For instance, the event called NewCustomerAdded with name space http://schemas.oracle.com/events/edl/POEvents is different than the event with the same name but under a different namespace, for example, event NewCustomerAdded with namespace http://schemas.oracle.com/event/edl/CRMEvents. 3. Add a new event by clicking on the +icon. 4. Select the PuchaseOrder element from the po.xsd file using the chooser. 5. Enter NewPO as the name of the event and click on OK to close the Add an Eventwindow.
  • 2. 6. Click on OK to complete the event definition. 7. Close the POEvents.edl panel. 8. Save all. You have just created a new event called POEvent. It is now available to this and other composites to subscribe to or publish. Whenever this event is delivered,it will also carry with it a document for the new purchase order. Subscribing to the NewPO event 1. Drag-and-drop a Mediator component on to the composite. 2. Name the mediator receiveNewPO. 3. Select Subscribe to Events for the Template. 4. Click on the + to add an event. Select the NewPO event from the Event Chooser window.
  • 3. 5. Click on OK to accept and create the mediator. 6. Save all. 7. Connect the receiveNewPO mediator to the routePO mediator:
  • 4. 8. Double-click on the receiveNewPO mediator and define a new transformation map. In the transformation- map, map the all the fields from the source to the target. 9. Close the mediator and save all. Deploying and testing 1. Deploy the POProcessing composite tothe server. 2. Browse to the EM console at http://localhost:7001/em. 3. Right-click on folder soa-infra (soa_server1)under folder SOA: 4. Click on item Business Events. 5. You should see the Business Events management page with the NewPO event listed in the Events
  • 5. 6. Select the event and click on the Test…button to publish the event. 7. In the pop-up window, enter the following XML and click on Publish: <PurchaseOrder xmlns="http://xmlns.oracle.com/ns/order"> <CustID>1111</CustID> <ID>33412</ID> <productName>Sony Bluray DVD Player</productName> <itemType>Electronics</itemType> <price>350</price> <quantity>5</quantity> <status>Initial</status> <ccType>Mastercard</ccType> <ccNumber>1234-1234-1234-1234</ccNumber> </PurchaseOrder> 8. You should get a "The Event published successfully" message. 9. Click on soa-infra in the navigation panel on the left to get the soa-infra dashboard. 10. Click on the POProcessing composite to view new instances. You should see an instance created for processing the event you just published. Click on the instance ID to view the flowtrace. This was just one way of publishing an event and will typically be used as away to test the composite. In most cases, the events will be published from a number of sources—from a
  • 6. Mediator, from PL/SQL by calling the EDN_PUBLISH_EVENT stored function or from a Java class using the EDNAPI. An ADF-BC application can also publish events based on database insert, update, and delete operations. Summary You cannot really build comprehensive SOA applications without business events. Traditionally, this requirement has been fulfilled by message-oriented-middleware(MOM). However, MOM-based solutions don't necessarily fit very well within a service-oriented architecture. They are low-level technical solutions that provide no business semantics, whereas one of the main objectives of creating services is to provide business functions using semantics that are better understood by business analysts. With EDN, Oracle SOA Suite 11g fills this gap by providing an event-handling solution that allows creation and use of events using business semantics, without the publisher or subscriber of the event ever having to worry about the mechanics of messaging. As you have seen in this short lab, events are created in away that directly maps to actual business events, in this case creation of a new purchase order. The process of subscribing to this event was done declaratively without having to configure any messaging queues or topics.