Improved Integration Agility with
Oracle SOA Suite and the Event
Delivery Network
Brad Bukacek Jr | Team Lead
6+ years of integration & J2EE experience
Oracle SOA 11g Certified Expert
Oracle AIA 11g Certified Specialist
About Fishbowl Solutions
Experience
• Over 700 projects since founding in 1999
• Oracle “Gold” Partner
• Oracle “Public Se...
Leading WebCenter Innovations
WebCenter Mobile WebCenter Portals & Intranets
Google Search Integration 11g Upgrades
Fishbowl Consulting Services
+ WebCenter Content
+ Document Management
+ Digital Asset Management
+ Image & Process Manage...
• Let’s talk about SOA
• What is EDN?
• Business Events
• EDN with Oracle SOA Suite 11g
• Architectures
• Uses Cases
• Sum...
What is SOA?
Service-oriented architecture is a technology
architectural model for service-oriented solutions
with distinc...
SOA is a way of organizing applications and
processes in terms of services.
We Use SOA… EVERYDAY!
Why Move?
Business Reasons
• Agility
• Cost
IT Reasons
• Agility
• Cost
• Reduce Risk
What is EDN?
• Allows loose coupling between SCA
components.
• Abstracted Framework
• Similar to JMS & AQ
Advantages
• Loose coupling
– Domains
• Great GUI support for EDN
• Requires minimal coding
Event Delivery Network Infrastructure
• Two types of implementations:
– EDN-DB (default)
• Oracle Database
– EDN-JMS
• JMS...
Event Delivery Network Infrastructure
Don’t treat as a Messaging Infrastructure!
What are Business Events?
• One-Way, Fire and Forget, Asynchronous
• Can be used in the following situations:
– Dashboard ...
Business Events
• Event Definition Language (EDL)
– XML Schema
• Global Name
• Payload
• Stored in MDS
• Published to EDN Infrastructure
• Subscribed to by other service components
• Cannot be unpublished, always exist
Levels
• One and Only One
• Guaranteed
• Immediate
Connection Types
• Local Event
• Remote
Debugging
• Only available on EDN-DB
• SOA_INFRA schema
• Found at:
– http://<host_name>:<port_number>/soa-
infra/events/e...
SCA Example
ADF & Java
• Build events and publish via
Java API
• Through Java class
BusinessEventBuilder
PL/SQL
• Messages can be published
from PL/SQL
• Using procedure
EDN_PUBLISH_EVENT
Uses Cases
• Notification System
– Send notifications to end-users
– Types of Messages:
• Success
• Faults
• Information
–...
Composite
NotificationMessage
Message
Utility
Service
Notification
Service
EDN
• Why this design?
– Easier development
– Reusable services
– Publish from multiple sources
• ADF application
• PL/SQL
• J...
• Logging System
– Control different logging levels
– Published directly from SOA service components
• Captured in Oracle ...
• Error Handling
– Uses notification system for emails
– Common Error Event EDL
– Used throughout all integrations
Testing
• Fusion Middleware
Control
• Right-click soa-infra
and select Business
Events
• Downside: Need to
enter your own ...
What Not To Do
• Use Case
– Used EDN to persist between service components
– Guaranteed delivery
– At every service call
•...
• Ultimately, bad design
• Tuning steps:
– Organization was bringing in new database
– Moved to EDN-JMS
• Improved, but st...
Tips & Tricks
• Create Business Events First!
• Group Business Events by Type In EDL file
• Store in MDS!!
Questions?
April 7 – 11, 2014
The Venetian
Resort, Las Vegas, NV
– Network with 5,000+ database and
application professionals
– 5 day...
IOUG Master Class Series Returns
Coming soon to a city near you!
One Day Interactive Training Events to meet your
educatio...
twitter: @bbukacek
Contact Me
Brad Bukacek Jr.
Team Lead | Fishbowl Solutions
Minneapolis, MN
bbukacek@fishbowlsolutions.c...
Improved Integration Agility with Oracle SOA Suite and the Event Delivery Network
Improved Integration Agility with Oracle SOA Suite and the Event Delivery Network
Improved Integration Agility with Oracle SOA Suite and the Event Delivery Network
Improved Integration Agility with Oracle SOA Suite and the Event Delivery Network
Upcoming SlideShare
Loading in...5
×

Improved Integration Agility with Oracle SOA Suite and the Event Delivery Network

269

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
269
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
10
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • Our current software and services initiatives for Oracle WebCenter are shown here. We have recently been focused on developing products that provide Oracle WebCenter customers with new ways to contribute content. This includes solutions for Mobile ECM, extending Oracle WebCenter capabilities to iPhone, iPad and Android devices. Additionally, we have products that provide robust batch load capabilities of digital assets and then providing users with interactive ways to tag and group photographs, illustrations, and other creative assets. And our SharePoint connector provides users of both SharePoint and Oracle WebCenter Content with that desired SharePoint front-end collaboration and content contribution backed by the power of Oracle and finally the topic of today’s discussion the Google Search Appliance connector to enable WebCenter customers to harness the power of Google Search within WebCenter Content.
  • What is the business problem for SOA?Organizations dependent on many application - legacy, external and packagedTypically new systems get bought that duplicate business needs or are acquired from mergers.With many applications - maintenance costs are typically higher.User standpoint - productivity is lower because users are going to multiple systems to accomplish specific business tasks.logging in, entering new or similar data and etc.So what comes from this? Usually the business realizes they need an IT approach to integrate these systems.
  • one and only one
Events are delivered to the subscriber in its own global (that is, JTA) transaction. Any changes made by the subscriber within that transaction are committed after the event processing is complete. If the subscriber fails, the transaction is rolled back. Failed events are retried a configured number of times.guaranteed
Events are delivered to the subscriber asynchronously without a global transaction. The subscriber can choose to create its own local transaction for processing, but it is committed independently of the rest of the event processing. The event is guaranteed to be handed to the subscriber, but because there is no global transaction, there is a possibility that a system failure can cause an event to be delivered more than once. If the subscriber throws an exception (or fails in any way), the exception is logged, but the event is not resent.immediate
Events are delivered to the subscriber in the same global transaction and same thread as the publisher. The publish call does not return until all immediate subscribers have completed processing. If any subscribers throw an exception, no additional subscribers are invoked and an exception is thrown to the publisher. The transaction is rolled back in case of any error during immediate processing.
  • Raising an event from a Java EE application can be done through a local event connection or a remote event connection:Local event connection
If the publisher resides on the same Oracle WebLogic Server as the application and the publisher uses a local business event connection factory, the event is raised through a local event connection. In this scenario, synchronous subscriptions are executed synchronously.Remote event connection
If the caller resides in a different container (different JVM) then the application, the event is raised through a remote event connection. Only asynchronous subscriptions are supported for remote event connections.
  • Show EDN-DB Debugging screenshot
  • Mediator &amp; BPEL Example
  • Show ADF &amp; Java Example
  • Show PL/SQL Example
  • Improved Integration Agility with Oracle SOA Suite and the Event Delivery Network

    1. 1. Improved Integration Agility with Oracle SOA Suite and the Event Delivery Network Brad Bukacek Jr | Team Lead
    2. 2. 6+ years of integration & J2EE experience Oracle SOA 11g Certified Expert Oracle AIA 11g Certified Specialist
    3. 3. About Fishbowl Solutions Experience • Over 700 projects since founding in 1999 • Oracle “Gold” Partner • Oracle “Public Sector Pillar Partner” Expertise • Portals and Content Management • Enterprise Information Management • Business Process Automation Customer Successes • Across verticals Award Winning • Forrester Groundswell Award - Mobile App • Oracle Excellence Award • Enterprise 2.0 Blazer • 2009 ECM Architect of the Year
    4. 4. Leading WebCenter Innovations WebCenter Mobile WebCenter Portals & Intranets Google Search Integration 11g Upgrades
    5. 5. Fishbowl Consulting Services + WebCenter Content + Document Management + Digital Asset Management + Image & Process Management + Forms Recognition + WebCenter Portal + Employee Intranets + Vendor or Partner Extranets + Customer Portal + ADF SOA + BPM (business process management) + ERP Integrations + Installations, Configuration, Performance Tuning, Solution Design, Development, Implementation + Records Management + Web Content Management + Document Capture + Content Consolidation
    6. 6. • Let’s talk about SOA • What is EDN? • Business Events • EDN with Oracle SOA Suite 11g • Architectures • Uses Cases • Summary • Questions
    7. 7. What is SOA? Service-oriented architecture is a technology architectural model for service-oriented solutions with distinct characteristics in support of realizing service-orientation and the strategic goals associated with service-oriented computing.
    8. 8. SOA is a way of organizing applications and processes in terms of services.
    9. 9. We Use SOA… EVERYDAY!
    10. 10. Why Move?
    11. 11. Business Reasons • Agility • Cost
    12. 12. IT Reasons • Agility • Cost • Reduce Risk
    13. 13. What is EDN? • Allows loose coupling between SCA components. • Abstracted Framework • Similar to JMS & AQ
    14. 14. Advantages • Loose coupling – Domains • Great GUI support for EDN • Requires minimal coding
    15. 15. Event Delivery Network Infrastructure • Two types of implementations: – EDN-DB (default) • Oracle Database – EDN-JMS • JMS back-end store • Supports SCA, ADF, PL/SQL and Java • Each instance of SOA runs EDN
    16. 16. Event Delivery Network Infrastructure Don’t treat as a Messaging Infrastructure!
    17. 17. What are Business Events? • One-Way, Fire and Forget, Asynchronous • Can be used in the following situations: – Dashboard data – Invoke another Business Process – Business Activity Monitoring
    18. 18. Business Events • Event Definition Language (EDL) – XML Schema • Global Name • Payload • Stored in MDS
    19. 19. • Published to EDN Infrastructure • Subscribed to by other service components • Cannot be unpublished, always exist
    20. 20. Levels • One and Only One • Guaranteed • Immediate
    21. 21. Connection Types • Local Event • Remote
    22. 22. Debugging • Only available on EDN-DB • SOA_INFRA schema • Found at: – http://<host_name>:<port_number>/soa- infra/events/edn-db-log
    23. 23. SCA Example
    24. 24. ADF & Java • Build events and publish via Java API • Through Java class BusinessEventBuilder
    25. 25. PL/SQL • Messages can be published from PL/SQL • Using procedure EDN_PUBLISH_EVENT
    26. 26. Uses Cases • Notification System – Send notifications to end-users – Types of Messages: • Success • Faults • Information – Abstracted & Flexible Design
    27. 27. Composite NotificationMessage Message Utility Service Notification Service EDN
    28. 28. • Why this design? – Easier development – Reusable services – Publish from multiple sources • ADF application • PL/SQL • Java
    29. 29. • Logging System – Control different logging levels – Published directly from SOA service components • Captured in Oracle Database – Reporting purposes
    30. 30. • Error Handling – Uses notification system for emails – Common Error Event EDL – Used throughout all integrations
    31. 31. Testing • Fusion Middleware Control • Right-click soa-infra and select Business Events • Downside: Need to enter your own xml message
    32. 32. What Not To Do • Use Case – Used EDN to persist between service components – Guaranteed delivery – At every service call • Problem: – SLA was dependent on completing processing in all subsystems – Taking over 15 minutes to process 1 message!!
    33. 33. • Ultimately, bad design • Tuning steps: – Organization was bringing in new database – Moved to EDN-JMS • Improved, but still didn’t SLA’s
    34. 34. Tips & Tricks • Create Business Events First! • Group Business Events by Type In EDL file • Store in MDS!!
    35. 35. Questions?
    36. 36. April 7 – 11, 2014 The Venetian Resort, Las Vegas, NV – Network with 5,000+ database and application professionals – 5 days of in-depth education built by users, for users – Complimentary Pre-Conference Workshops for IOUG registrants Attend for free! IOUG’s Call for Speakers is now open collaborate14.ioug.org/call-for-speakers
    37. 37. IOUG Master Class Series Returns Coming soon to a city near you! One Day Interactive Training Events to meet your educational needs Maximum Availability Architecture with Oracle’s Larry Carpenter and Joe Meeks October 15: Milwaukee, WI October 16: Rochester, NY Performance and Internals with Craig Shallahamer November 6: Chicago, IL November 8: Atlanta, GA Get more information at www.ioug.org/masterclass or visit the IOUG kiosk in Moscone West, 2nd floor
    38. 38. twitter: @bbukacek Contact Me Brad Bukacek Jr. Team Lead | Fishbowl Solutions Minneapolis, MN bbukacek@fishbowlsolutions.com
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×