SlideShare una empresa de Scribd logo
1 de 42
Descargar para leer sin conexión
Oracle Service Bus
<Insert Picture Here>   Essential Concepts
About This Course

• Discuss several SOA requirements that can be
  addressed using a Service Bus
• Explain the relationships between WSDL, XPath,
  XQuery, and ALSB
• List some of the capabilities of an OSB Proxy Service
• Describe the process of how OSB is configured and
  managed
Target Audience

• Anyone evaluating Service Bus technologies
• SOA project team members:
  •   Project Managers
  •   Enterprise and Project Architects
  •   Service Developers
  •   System Administrators


• Prior knowledge of fundamental
  SOA concepts recommended
Roadmap

1. Enterprise Service Bus
  •   Service Enablement
  •   Service Orchestration
  •   OSB Architecture
2. Service Bus Technologies
3. Proxy Service Development
4. Service Management and Monitoring
Why a Service Bus?

• The Point-to-Point problem


Application          Service                    Database


                     Service

Application                                       EJB

                     Service          Service


Application          Service          Service     SAP

              SOAP             SOAP
Location Transparency

• Isolate from changes to service location


                        Service Bus                HostA
  New Hire   SOAP                     SOAP
                                             Initialize Benefits
  Process                Route to                  Service
                          HostB

                                                   HostB
                                             Initialize Benefits
                                                   Service
Backwards Compatibility

• Isolate from changes to service contract/interface

                          Service Bus
             SOAP                       SOAP
 Customer                                       Process Order
  Portal                  Transform                Service
              <1.0>
                          Message

              <2.0>                                    1.0
 CSR App                                               2.0
Service Enablement

• Allow multiple protocols/messages to participate in a
  SOA
                          Service Bus
                SOAP                    JMS
   Expense
                          Transform            Payroll Service
Reimbursement
   Process                              FTP
                          Transform            Submit Expense
                                                Report Service
  Inventory
                                        SOAP
 Management     JMS       Transform             Check Order
     App                                       Status Service
Dynamic Routing

• Use business rules to determine destination service


                          Service Bus


                                                     New Employee
             SOAP                                       Service
 HR Portal           Title =
                                              SOAP
                    Manger?
                                  Transform          New Manager
                                                       Service
Message Enrichment

• Update message using the response from another
  service
                                                     ...
                                                     <Customer
                                                     History>
                                                     ...

                        Service Bus

Insurance           Call       Transform                 Rate Quote
  Portal           Service     Message                    Service




                                       Get Customer
                                       History Service
Service Orchestration

• Compose new services from existing ones


                       Service Bus
                                         SOAP        Account
                                                Validation Service
                               1
  Purchase   SOAP   Validate                       Check Price
   Order             Order     2     3               Service
  Process           Service
                               4                Check Inventory
                                                   Service
OSB to the Rescue
                      Oracle Service Bus
        Service             Service           Service Security
       Monitoring         Management
                                                Authentication
       Dashboard           Discovery
                                                Authorization
       SLA Alerts        Change Mgmt.
                                                     Message
       Reporting          Import/Export              Security

                        Message Broker

     Content Based      Dynamic            Error        Multiple
        Routing      Transformations      Handling     Protocols


                     Oracle WebLogic Server

                       Oracle JRockit JVM
Service Bus Quiz
Roadmap

1. Enterprise Service Bus
2. Service Bus Technologies
  •   Web Service Fundamentals
  •   XML Fundamentals
3. Proxy Service Development
4. Service Management and Monitoring
Web Service Description Language
 (WSDL)
• Is an XML document
• Generated by tools
• Acts as a Web Service contract:
  •   Elements                Employee           getEmployeeDept()
  •   Operations
                             Department             getAllDepts()
  •   Bindings
  •   Ports ("endpoints")

                                    SOAPEmployeeService



                            http://services.bea.com/employeeservice
Simple Object Access Protocol (SOAP)

•   Is a remote function protocol based on XML
•   Used to invoke Web Services
•   Wraps messages in an envelope protocol
•   Supports headers and attachments
                                         Communications Envelope
                                         (HTTP, SMTP, FTP, etc.)
                         Client
                       Application           SOAP Envelope
                                                 <Headers/>

                                                  </Body>

                        Service
                                            SOAP Attachments
Universal Description, Discovery, and
 Integration (UDDI)
• Metadata structure to classify and catalog services
• SOAP interface to communicate with a service
  registry ("digital telephone book")



                        Publish Service    Service Registry
                        Discover Service
         Service                            WSDL + metadata
      Development &
     Management Tools        SOAP           WSDL + metadata
XML Schema
•   Defines the structure of other XML documents
•   Is itself an XML document
•   Allows for faster message validation and processing
•   Has a unique ID called a namespace
         <xs:schema targetNamespace="http://schemas.bea.com/purchase"
             xmlns="http://schemas.bea.com/purchase"
             xmlns:po="http://schemas.bea.com/purchase"
             xmlns:xs="http://www.w3.org/2001/XMLSchema">

           <xs:element name="PurchaseOrder">
             <xs:complexType>
               <xs:sequence>
                 <xs:element name="Location" type="xs:string"/>
                 <xs:element name="Items" type="ItemList"/>
               </xs:sequence>
             </xs:complexType>
           </xs:element>
           ...
         </schema>

                                                                   1
                                                                   011
XPath
• Is a standard XML expression language
• Used to identify or locate portions of an XML
  document
  • Attributes
  • Elements
                                 <PurchaseOrder>
 //PurchaseOrder/Item/@line        <Item line="1">
                                     <price>49.99</price>
                                     <quantity>3</quantity>
                                   </Item>
                                   <Item line="2">
 //PurchaseOrder/Item/price          <price>9.49</price>
                                     <quantity>1</quantity>
                                   </Item>
                                 </PurchaseOrder>         1
                                                         011
XQuery
 • Structured language for working with XML
   documents:
    •   Strongly typed
    •   Variables, operators, conditions, loops
    •   Library and custom functions
    •   Relational database queries
 • Supports XPath

return <items>
                                                  <items>
for $item in //PurchaseOrder/Item                   <price>49.99</price>
 order by $item/title                               <price>9.49</price>
 return <price>{$item/price}<price>               </items>

return </items>
Extensible Stylesheet Language
 Transformations (XSLT)
• Alternative to XQuery for XML transformations:
  • Loosely typed scripting language
  • Does not require XML Schema
  • More tolerant of malformed XML
• Supports XPath
  <xsl:stylesheet>

    <xsl:template match="//Item">         <line id="1">
      <line id="{@line}">                   49.99
        <xsl:value-of select="price"/>    </line>
      </line>                             <line id="2">
    </xsl:template>                         9.49
                                          </line>
  </xsl:stylesheet>
Service Bus Technologies Quiz
Roadmap

1. Enterprise Service Bus
2. Service Bus Technologies
3. Proxy Service Development
  •   Proxy Architecture
  •   Workspace
  •   Actions
  •   Transformations
4. Service Management and Monitoring
Proxy Services
                                  Service Bus                 Outbound

                         Proxy Service             Business           Service
           Inbound                                  Service          Producer
 Service                    Pipeline               Business           Service
Consumer                                            Service          Producer
                            Pipeline               Business           Service
                                                    Service          Producer




                     Workspace           Console
Supported Protocols
• Protocols
   •   SOAP over HTTP/JMS
   •   HTTP/S
   •   JMS
   •   RMI/IIOP (EJB)                                            XML
   •   Tuxedo, MQSeries
   •   Email (SMTP/POP/IMAP)                               SOAP over HTTP
   •   FTP/Secure FTP
   •   Custom
   •   Oracle Adapters (framework + Adapters post 10gR3)
                                                                 XML
• Message Formats
   • XML                                                        JMS
   • Text
   • Custom Binary (EDI, etc.)
                                                                 Text
• SmartConnect Adapters
   •   SAP                                                     SMTP
   •   PeopleSoft
   •   Siebel
   •   Oracle
   •   SWIFT
Workspace
• Eclipse-based IDE
  •   Define XML Schemas, WSDLs, and transformations
  •   Configure business and proxy services
  •   Track dependencies
  •   Deploy to OSB server and test


                               Workspace

                 Beehive    OSB         ALRR    XQuery

                            Eclipse Web Tools

                  J2EE      XML         WSDL    HTML

                             Eclipse Platform
OSB Perspective


            Explorer
                                          Palette
                       Editor




                                DRAG



                                       Properties
  Outline
Message Flow

•   Conditions/branches
•   Routing destinations
•   Request/response Pipelines
•   Actions:
    •   Update/replace/delete message contents
    •   Update message headers
    •   Call another service                Action
    •   Raise error on client
    •   Generate a report or alert
    •   Invoke a Java class or EJB
• Error handlers                                     Pipeline
Transformations

• XML to XML (XQuery or XSLT)
• XML to Text/Binary (XQuery)
• Binary to Binary (MFL)
Dependency Tracking

• Select an artifact
• View References
Demonstration: Create a Proxy Service

       Proxy Service
       approveLoan()

                               Business         ProcessLoan
  > $10,000?
                N               Service         approveLoan()

       Y       Transform       Business       ProcessLargeLoan
               Message          Service         approveLoan()




                            Please enable
                           browser pop-ups!
Proxy Service Development Quiz
Roadmap

1.   Enterprise Service Bus
2.   Service Bus Technologies
3.   Proxy Service Development
4.   Service Management and Monitoring
     •   OSB Console
     •   Service Level Agreements
     •   OSB Security
     •   Advanced Routing
     •   Product Interoperability
OSB Console
• Full Pipeline Design Capabilities
  Additionally:
  •   Configure proxy service security
  •   Monitor service health
  •   Generate reports
                                                          Edit Message
  •   Define SLAs that trigger alerts                          Flow
  •   Synchronize with a UDDI registry




                                         Monitor Alerts
Configuration Management

• Change Center
  •   Atomic sessions
  •   View & resolve conflicts
  •   Undo tasks
  •   Audit changes
• Import/Export
  • Change propagation
  • Workspace synchronization
• Test Console
  • Validate changes
Monitoring Dashboard

• Gauge the current health of:
  • OSB servers
  • Proxy services/operations
  • Message flow components
• View custom reports
• Metrics include:
  •   Response time
  •   Message throughput
  •   Error count
  •   Alert count
  •   Schema violations
Alerts

• Service Level Agreements (SLAs)
  • Guarantee a certain level of performance and/or quality
  • Trigger reports and Alerts
     • Email
     • SNMP
     • JMS
• Rules based on:
  •   Response time
  •   Message count
  •   Success/failure ratio
  •   Schema violations
  •   Security violations
OSB Security

                                                    Service
• Transport security (HTTP, JMS,                   Consumer

  etc.)                                    WS-Security
  • Basic authentication                     SAML

  • SSL                                              Proxy
                                   Authorization
• SOAP message security                             Service

  • WS-Security                     Credential
                                    Mapping        Business
  • WS-Policy                                       Service
  • SAML
• Credential mapping                 SOAP over HTTPS

• Role-based authorization                          Service
                                                   Producer
• Delegated administration
Advanced Mediation Policies

 • Business Service Load Balancing & Failover
                                         Service Producer Node1

           Proxy          Business
                                         Service Producer Node2
          Service          Service

                                         Service Producer Node3

• Throttling

                    Message Buffer
       Proxy                         Business        Legacy
      Service                         Service        Service
Demonstration: Manage a Proxy Service

   Proxy Service
   approveLoan()

                       Business             ProcessLoan
  > $10,000?
                   N    Service             approveLoan()

         Y             Business         ProcessLargeLoan
                        Service           approveLoan()


    Response
   Time > 5ms?

  SMTP

      Alert               Please enable
                         browser pop-ups!
Product Interoperability

                          Console
                                                          BPM
Synchronize
                    Configure
                     Monitor
                                                         Tuxedo


        Service         Service Bus
       Repository
                                                     BPEL PM

   Discover         Configure
    Design
                                                          ODI
   Publish

                        Workspace
                                      Build Services &
                                       Applications
Have Licensing or technical questions?

•   SOA FAQ
•   OSB FAQ
•   OESB FAQ
•   All linked from their respective ias.us pages
    (start at http://soa.us.oracle.com )

Más contenido relacionado

La actualidad más candente

Service Oriented Architecture
Service Oriented ArchitectureService Oriented Architecture
Service Oriented Architecture
Luqman Shareef
 

La actualidad más candente (20)

What is REST API? REST API Concepts and Examples | Edureka
What is REST API? REST API Concepts and Examples | EdurekaWhat is REST API? REST API Concepts and Examples | Edureka
What is REST API? REST API Concepts and Examples | Edureka
 
Introduction to REST - API
Introduction to REST - APIIntroduction to REST - API
Introduction to REST - API
 
Swagger
SwaggerSwagger
Swagger
 
API documentation
API documentationAPI documentation
API documentation
 
Oracle OSB Tutorial 1
Oracle OSB Tutorial 1Oracle OSB Tutorial 1
Oracle OSB Tutorial 1
 
Introduction to the Web API
Introduction to the Web APIIntroduction to the Web API
Introduction to the Web API
 
REST & RESTful Web Services
REST & RESTful Web ServicesREST & RESTful Web Services
REST & RESTful Web Services
 
SOA Principles : 3.service discoverability
SOA Principles : 3.service discoverabilitySOA Principles : 3.service discoverability
SOA Principles : 3.service discoverability
 
Web Services (SOAP, WSDL, UDDI)
Web Services (SOAP, WSDL, UDDI)Web Services (SOAP, WSDL, UDDI)
Web Services (SOAP, WSDL, UDDI)
 
Introduction to microservices
Introduction to microservicesIntroduction to microservices
Introduction to microservices
 
Rest API Security - A quick understanding of Rest API Security
Rest API Security - A quick understanding of Rest API SecurityRest API Security - A quick understanding of Rest API Security
Rest API Security - A quick understanding of Rest API Security
 
REST-API introduction for developers
REST-API introduction for developersREST-API introduction for developers
REST-API introduction for developers
 
Service Oriented Architecture
Service Oriented ArchitectureService Oriented Architecture
Service Oriented Architecture
 
Overview of Rest Service and ASP.NET WEB API
Overview of Rest Service and ASP.NET WEB APIOverview of Rest Service and ASP.NET WEB API
Overview of Rest Service and ASP.NET WEB API
 
Understanding REST
Understanding RESTUnderstanding REST
Understanding REST
 
Enterprise Service Bus y API Managers
Enterprise Service Bus y API ManagersEnterprise Service Bus y API Managers
Enterprise Service Bus y API Managers
 
An introduction to OAuth 2
An introduction to OAuth 2An introduction to OAuth 2
An introduction to OAuth 2
 
Introducing Swagger
Introducing SwaggerIntroducing Swagger
Introducing Swagger
 
REST API and CRUD
REST API and CRUDREST API and CRUD
REST API and CRUD
 
java Servlet technology
java Servlet technologyjava Servlet technology
java Servlet technology
 

Destacado (8)

Oracle Service Bus (OSB) for the Busy IT Professonial
Oracle Service Bus (OSB) for the Busy IT Professonial Oracle Service Bus (OSB) for the Busy IT Professonial
Oracle Service Bus (OSB) for the Busy IT Professonial
 
Osb student guide
Osb student guideOsb student guide
Osb student guide
 
Componenets of osb12c
Componenets of osb12cComponenets of osb12c
Componenets of osb12c
 
Where to use the Oracle Service Bus @ OBUG Connect 22-04-2012
Where to use the Oracle Service Bus @ OBUG Connect 22-04-2012Where to use the Oracle Service Bus @ OBUG Connect 22-04-2012
Where to use the Oracle Service Bus @ OBUG Connect 22-04-2012
 
Performance Management in Oracle 12c
Performance Management in Oracle 12cPerformance Management in Oracle 12c
Performance Management in Oracle 12c
 
Oracle Service Bus 12c (12.2.1) What You Always Wanted to Know
Oracle Service Bus 12c (12.2.1) What You Always Wanted to KnowOracle Service Bus 12c (12.2.1) What You Always Wanted to Know
Oracle Service Bus 12c (12.2.1) What You Always Wanted to Know
 
Xquery
XqueryXquery
Xquery
 
What You Should Know About WebLogic Server 12c (12.2.1.2) #oow2015 #otntour2...
What You Should Know About WebLogic Server 12c (12.2.1.2)  #oow2015 #otntour2...What You Should Know About WebLogic Server 12c (12.2.1.2)  #oow2015 #otntour2...
What You Should Know About WebLogic Server 12c (12.2.1.2) #oow2015 #otntour2...
 

Similar a oracle-osb

Enterprise Use Case - Selecting an Enterprise Service Bus
Enterprise Use Case - Selecting an Enterprise Service Bus Enterprise Use Case - Selecting an Enterprise Service Bus
Enterprise Use Case - Selecting an Enterprise Service Bus
WSO2
 
Keynote-Service Orientation – Why is it good for your business
Keynote-Service Orientation – Why is it good for your businessKeynote-Service Orientation – Why is it good for your business
Keynote-Service Orientation – Why is it good for your business
WSO2
 
MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure ...
MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure ...MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure ...
MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure ...
Spiffy
 
Enterprise service bus(esb)
Enterprise service bus(esb)Enterprise service bus(esb)
Enterprise service bus(esb)
prksh89
 
Integration of Web Service Stacks in an Esb
Integration of Web Service Stacks in an EsbIntegration of Web Service Stacks in an Esb
Integration of Web Service Stacks in an Esb
Wen Zhu
 
Middleware in the cloud platform-v2
Middleware in the cloud   platform-v2Middleware in the cloud   platform-v2
Middleware in the cloud platform-v2
Hammad Rajjoub
 
Understanding the WSO2 Platform and Technology
Understanding the WSO2 Platform and TechnologyUnderstanding the WSO2 Platform and Technology
Understanding the WSO2 Platform and Technology
WSO2
 
A Guide to the SOA Galaxy: Strategy, Design and Best Practices
A Guide to the SOA Galaxy: Strategy, Design and Best PracticesA Guide to the SOA Galaxy: Strategy, Design and Best Practices
A Guide to the SOA Galaxy: Strategy, Design and Best Practices
Dmitri Shiryaev
 
Delivering the Promise of SOA - Enterprise Integration Made Easy
Delivering the Promise of SOA - Enterprise Integration Made EasyDelivering the Promise of SOA - Enterprise Integration Made Easy
Delivering the Promise of SOA - Enterprise Integration Made Easy
WSO2
 

Similar a oracle-osb (20)

Implementing advanced integration patterns with WSO2 ESB
Implementing advanced integration patterns with WSO2 ESBImplementing advanced integration patterns with WSO2 ESB
Implementing advanced integration patterns with WSO2 ESB
 
ESB and SOA
ESB and SOAESB and SOA
ESB and SOA
 
Enterprise Use Case - Selecting an Enterprise Service Bus
Enterprise Use Case - Selecting an Enterprise Service Bus Enterprise Use Case - Selecting an Enterprise Service Bus
Enterprise Use Case - Selecting an Enterprise Service Bus
 
Keynote-Service Orientation – Why is it good for your business
Keynote-Service Orientation – Why is it good for your businessKeynote-Service Orientation – Why is it good for your business
Keynote-Service Orientation – Why is it good for your business
 
MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure ...
MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure ...MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure ...
MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure ...
 
Use of SOA and Web Services Technologies for EA Migration - Lessons Learned o...
Use of SOA and Web Services Technologies for EA Migration - Lessons Learned o...Use of SOA and Web Services Technologies for EA Migration - Lessons Learned o...
Use of SOA and Web Services Technologies for EA Migration - Lessons Learned o...
 
Enterprise service bus(esb)
Enterprise service bus(esb)Enterprise service bus(esb)
Enterprise service bus(esb)
 
Integration of Web Service Stacks in an Esb
Integration of Web Service Stacks in an EsbIntegration of Web Service Stacks in an Esb
Integration of Web Service Stacks in an Esb
 
Middleware in the cloud platform-v2
Middleware in the cloud   platform-v2Middleware in the cloud   platform-v2
Middleware in the cloud platform-v2
 
WCF
WCFWCF
WCF
 
Soa limitations
Soa limitationsSoa limitations
Soa limitations
 
Enterprise Service Bus Part 1
Enterprise Service Bus Part 1Enterprise Service Bus Part 1
Enterprise Service Bus Part 1
 
Understanding the WSO2 Platform and Technology
Understanding the WSO2 Platform and TechnologyUnderstanding the WSO2 Platform and Technology
Understanding the WSO2 Platform and Technology
 
A Guide to the SOA Galaxy: Strategy, Design and Best Practices
A Guide to the SOA Galaxy: Strategy, Design and Best PracticesA Guide to the SOA Galaxy: Strategy, Design and Best Practices
A Guide to the SOA Galaxy: Strategy, Design and Best Practices
 
1 2 osb deep dive
1 2 osb deep dive1 2 osb deep dive
1 2 osb deep dive
 
Complex End-to-End Testing
Complex End-to-End TestingComplex End-to-End Testing
Complex End-to-End Testing
 
Introduction to ServiceStack
Introduction to ServiceStackIntroduction to ServiceStack
Introduction to ServiceStack
 
Delivering the Promise of SOA - Enterprise Integration Made Easy
Delivering the Promise of SOA - Enterprise Integration Made EasyDelivering the Promise of SOA - Enterprise Integration Made Easy
Delivering the Promise of SOA - Enterprise Integration Made Easy
 
Mike Taulty MIX10 Silverlight 4 Patterns Frameworks
Mike Taulty MIX10 Silverlight 4 Patterns FrameworksMike Taulty MIX10 Silverlight 4 Patterns Frameworks
Mike Taulty MIX10 Silverlight 4 Patterns Frameworks
 
Scug nov system center day
Scug nov system center dayScug nov system center day
Scug nov system center day
 

Último

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
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
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
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
 
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
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
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
 
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...
 
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
 
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
 
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
 
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...
 

oracle-osb

  • 1. Oracle Service Bus <Insert Picture Here> Essential Concepts
  • 2. About This Course • Discuss several SOA requirements that can be addressed using a Service Bus • Explain the relationships between WSDL, XPath, XQuery, and ALSB • List some of the capabilities of an OSB Proxy Service • Describe the process of how OSB is configured and managed
  • 3. Target Audience • Anyone evaluating Service Bus technologies • SOA project team members: • Project Managers • Enterprise and Project Architects • Service Developers • System Administrators • Prior knowledge of fundamental SOA concepts recommended
  • 4. Roadmap 1. Enterprise Service Bus • Service Enablement • Service Orchestration • OSB Architecture 2. Service Bus Technologies 3. Proxy Service Development 4. Service Management and Monitoring
  • 5. Why a Service Bus? • The Point-to-Point problem Application Service Database Service Application EJB Service Service Application Service Service SAP SOAP SOAP
  • 6. Location Transparency • Isolate from changes to service location Service Bus HostA New Hire SOAP SOAP Initialize Benefits Process Route to Service HostB HostB Initialize Benefits Service
  • 7. Backwards Compatibility • Isolate from changes to service contract/interface Service Bus SOAP SOAP Customer Process Order Portal Transform Service <1.0> Message <2.0> 1.0 CSR App 2.0
  • 8. Service Enablement • Allow multiple protocols/messages to participate in a SOA Service Bus SOAP JMS Expense Transform Payroll Service Reimbursement Process FTP Transform Submit Expense Report Service Inventory SOAP Management JMS Transform Check Order App Status Service
  • 9. Dynamic Routing • Use business rules to determine destination service Service Bus New Employee SOAP Service HR Portal Title = SOAP Manger? Transform New Manager Service
  • 10. Message Enrichment • Update message using the response from another service ... <Customer History> ... Service Bus Insurance Call Transform Rate Quote Portal Service Message Service Get Customer History Service
  • 11. Service Orchestration • Compose new services from existing ones Service Bus SOAP Account Validation Service 1 Purchase SOAP Validate Check Price Order Order 2 3 Service Process Service 4 Check Inventory Service
  • 12. OSB to the Rescue Oracle Service Bus Service Service Service Security Monitoring Management Authentication Dashboard Discovery Authorization SLA Alerts Change Mgmt. Message Reporting Import/Export Security Message Broker Content Based Dynamic Error Multiple Routing Transformations Handling Protocols Oracle WebLogic Server Oracle JRockit JVM
  • 14. Roadmap 1. Enterprise Service Bus 2. Service Bus Technologies • Web Service Fundamentals • XML Fundamentals 3. Proxy Service Development 4. Service Management and Monitoring
  • 15. Web Service Description Language (WSDL) • Is an XML document • Generated by tools • Acts as a Web Service contract: • Elements Employee getEmployeeDept() • Operations Department getAllDepts() • Bindings • Ports ("endpoints") SOAPEmployeeService http://services.bea.com/employeeservice
  • 16. Simple Object Access Protocol (SOAP) • Is a remote function protocol based on XML • Used to invoke Web Services • Wraps messages in an envelope protocol • Supports headers and attachments Communications Envelope (HTTP, SMTP, FTP, etc.) Client Application SOAP Envelope <Headers/> </Body> Service SOAP Attachments
  • 17. Universal Description, Discovery, and Integration (UDDI) • Metadata structure to classify and catalog services • SOAP interface to communicate with a service registry ("digital telephone book") Publish Service Service Registry Discover Service Service WSDL + metadata Development & Management Tools SOAP WSDL + metadata
  • 18. XML Schema • Defines the structure of other XML documents • Is itself an XML document • Allows for faster message validation and processing • Has a unique ID called a namespace <xs:schema targetNamespace="http://schemas.bea.com/purchase" xmlns="http://schemas.bea.com/purchase" xmlns:po="http://schemas.bea.com/purchase" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="PurchaseOrder"> <xs:complexType> <xs:sequence> <xs:element name="Location" type="xs:string"/> <xs:element name="Items" type="ItemList"/> </xs:sequence> </xs:complexType> </xs:element> ... </schema> 1 011
  • 19. XPath • Is a standard XML expression language • Used to identify or locate portions of an XML document • Attributes • Elements <PurchaseOrder> //PurchaseOrder/Item/@line <Item line="1"> <price>49.99</price> <quantity>3</quantity> </Item> <Item line="2"> //PurchaseOrder/Item/price <price>9.49</price> <quantity>1</quantity> </Item> </PurchaseOrder> 1 011
  • 20. XQuery • Structured language for working with XML documents: • Strongly typed • Variables, operators, conditions, loops • Library and custom functions • Relational database queries • Supports XPath return <items> <items> for $item in //PurchaseOrder/Item <price>49.99</price> order by $item/title <price>9.49</price> return <price>{$item/price}<price> </items> return </items>
  • 21. Extensible Stylesheet Language Transformations (XSLT) • Alternative to XQuery for XML transformations: • Loosely typed scripting language • Does not require XML Schema • More tolerant of malformed XML • Supports XPath <xsl:stylesheet> <xsl:template match="//Item"> <line id="1"> <line id="{@line}"> 49.99 <xsl:value-of select="price"/> </line> </line> <line id="2"> </xsl:template> 9.49 </line> </xsl:stylesheet>
  • 23. Roadmap 1. Enterprise Service Bus 2. Service Bus Technologies 3. Proxy Service Development • Proxy Architecture • Workspace • Actions • Transformations 4. Service Management and Monitoring
  • 24. Proxy Services Service Bus Outbound Proxy Service Business Service Inbound Service Producer Service Pipeline Business Service Consumer Service Producer Pipeline Business Service Service Producer Workspace Console
  • 25. Supported Protocols • Protocols • SOAP over HTTP/JMS • HTTP/S • JMS • RMI/IIOP (EJB) XML • Tuxedo, MQSeries • Email (SMTP/POP/IMAP) SOAP over HTTP • FTP/Secure FTP • Custom • Oracle Adapters (framework + Adapters post 10gR3) XML • Message Formats • XML JMS • Text • Custom Binary (EDI, etc.) Text • SmartConnect Adapters • SAP SMTP • PeopleSoft • Siebel • Oracle • SWIFT
  • 26. Workspace • Eclipse-based IDE • Define XML Schemas, WSDLs, and transformations • Configure business and proxy services • Track dependencies • Deploy to OSB server and test Workspace Beehive OSB ALRR XQuery Eclipse Web Tools J2EE XML WSDL HTML Eclipse Platform
  • 27. OSB Perspective Explorer Palette Editor DRAG Properties Outline
  • 28. Message Flow • Conditions/branches • Routing destinations • Request/response Pipelines • Actions: • Update/replace/delete message contents • Update message headers • Call another service Action • Raise error on client • Generate a report or alert • Invoke a Java class or EJB • Error handlers Pipeline
  • 29. Transformations • XML to XML (XQuery or XSLT) • XML to Text/Binary (XQuery) • Binary to Binary (MFL)
  • 30. Dependency Tracking • Select an artifact • View References
  • 31. Demonstration: Create a Proxy Service Proxy Service approveLoan() Business ProcessLoan > $10,000? N Service approveLoan() Y Transform Business ProcessLargeLoan Message Service approveLoan() Please enable browser pop-ups!
  • 33. Roadmap 1. Enterprise Service Bus 2. Service Bus Technologies 3. Proxy Service Development 4. Service Management and Monitoring • OSB Console • Service Level Agreements • OSB Security • Advanced Routing • Product Interoperability
  • 34. OSB Console • Full Pipeline Design Capabilities Additionally: • Configure proxy service security • Monitor service health • Generate reports Edit Message • Define SLAs that trigger alerts Flow • Synchronize with a UDDI registry Monitor Alerts
  • 35. Configuration Management • Change Center • Atomic sessions • View & resolve conflicts • Undo tasks • Audit changes • Import/Export • Change propagation • Workspace synchronization • Test Console • Validate changes
  • 36. Monitoring Dashboard • Gauge the current health of: • OSB servers • Proxy services/operations • Message flow components • View custom reports • Metrics include: • Response time • Message throughput • Error count • Alert count • Schema violations
  • 37. Alerts • Service Level Agreements (SLAs) • Guarantee a certain level of performance and/or quality • Trigger reports and Alerts • Email • SNMP • JMS • Rules based on: • Response time • Message count • Success/failure ratio • Schema violations • Security violations
  • 38. OSB Security Service • Transport security (HTTP, JMS, Consumer etc.) WS-Security • Basic authentication SAML • SSL Proxy Authorization • SOAP message security Service • WS-Security Credential Mapping Business • WS-Policy Service • SAML • Credential mapping SOAP over HTTPS • Role-based authorization Service Producer • Delegated administration
  • 39. Advanced Mediation Policies • Business Service Load Balancing & Failover Service Producer Node1 Proxy Business Service Producer Node2 Service Service Service Producer Node3 • Throttling Message Buffer Proxy Business Legacy Service Service Service
  • 40. Demonstration: Manage a Proxy Service Proxy Service approveLoan() Business ProcessLoan > $10,000? N Service approveLoan() Y Business ProcessLargeLoan Service approveLoan() Response Time > 5ms? SMTP Alert Please enable browser pop-ups!
  • 41. Product Interoperability Console BPM Synchronize Configure Monitor Tuxedo Service Service Bus Repository BPEL PM Discover Configure Design ODI Publish Workspace Build Services & Applications
  • 42. Have Licensing or technical questions? • SOA FAQ • OSB FAQ • OESB FAQ • All linked from their respective ias.us pages (start at http://soa.us.oracle.com )