1 / 53

SOA Suite: Oracle Service Bus Workshop

SOA Suite: Oracle Service Bus Workshop. Tal Brown Oracle SOA Team http://tech.theoracles.co.il. Composite Applications. Docs. Process Portals. Mashups. Collab. Business Processes. Systems, data & services Integration. Messaging. Partners. Orchestration. SOA Management.

diamond
Télécharger la présentation

SOA Suite: Oracle Service Bus Workshop

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. SOA Suite: Oracle Service Bus Workshop Tal Brown Oracle SOA Team http://tech.theoracles.co.il

  2. Composite Applications Docs Process Portals Mashups Collab Business Processes Systems, data & services Integration Messaging Partners Orchestration SOA Management SOA Governance SOA Security Services & Event Infrastructure Events Connectivity Data Access ERP High Level Reference Architecture Legacy Core

  3. Multiple communications paradigms Request/response Synchronous and asynchronous One-to-many, many-to-one Pub-sub Mix-and-match (e.g. sync-to-async) Adaptive Messaging HTTP/SOAP WS-RM ApplicationClient ApplicationClient ApplicationClient ApplicationClient ApplicationClient Service Service Service Service Service Request / Response Synch / Asynch Split / Join Publish / Subscribe JMS TUX FTP MQ REST EJB JCA File Adaptive Messaging In a Nutshell… Enterprise Services Oracle Service Bus Service Clients Service Messaging • Any to Any Protocol • Any to Any Payload • XML • non-XML • Binary • No WSDL Required

  4. Adaptive Messaging Applications & Database IntegrationMessage Enrichment and Chaining • Adapter Certifications • Packaged with OSB install • AQ • Database • EBusiness Suite • Packaged separately • SAP • PeopleSoft • Siebel • JD Edwards

  5. Connectivity Web Service Transports HTTP/SOAP WS-Security WS-Policy WS-Addressing WS-RM Traditional Messaging JMS MQ EJB/RMI Tuxedo FTP / SFTP SMTP File Native Database Lookup Transport SDK Enterprise-specific custom transports Interoperability .NET, Tibco EMS, IBM MQ, IBM WebSphere, Apache Axis, B2B Interchange, iWay 5.5 adapters Messaging Services Transport Layer Transport SDK Service Service Service Service Reliably connects services by leveraging standards

  6. OSB Solves Brittle Integration Costs OSB reduces complexity and increases visibility and re-use Time to Market OSB insulates business logic from “overhead” Scalability Proven to handle all dimensions of scalability Multi-channel Delivery Separates service functionality from presentation layers Risk Allows cached cloud service results to ensure high availability and retain control 28

  7. Value PropositionOracle Service Bus Oracle Service Busdelivers business agility, scalability, and performance into the business infrastructure to allow businesses to rapidly respond to new business requests Unlike traditional ESBs…Oracle Service Bus provides predictable scalability for reducing risk, automated service pooling for high availability, and service virtualization for agility delivered within a single solution for a lower total cost of ownership 29

  8. Solutio Key DeliverablesOracle Service Bus Scalability and Performance Agility Oracle Service Bus Complete, Open & Integrated Rapid Service Enablement 30

  9. Business ChallengeBrittle Architecture MS Office Process Portal Worklist Mobile Devices Online Shopping Order2Cash Customer Onboaring Employee Onboarding Customer Employee Expense Approval PO MAINFRAME 31

  10. Feature Overview Oracle Service BusAgile Architecture - Rapidly Respond to Change MS Office Process Portal Worklist Mobile Devices Online Shopping ORACLE SERVICE BUS MAINFRAME 32

  11. Feature Overview Service VirtualizationAgility within OSB MobileDevices Online Shopping Portal MS Office Worklist ServiceConsumer • Proxy Services • Enforces agility by replacing direct coupling with a flexible virtual endpoint to the consumer ProxyServices ORACLE SERVICE BUS ServiceEndpoints MAINFRAME 33

  12. Automated Service PoolingAgility within OSB MobileDevices Online Shopping Portal MS Office Worklist • Proxy Services • Enforces agility by replacing direct coupling with a flexible virtual endpoint to the consumer ORACLE SERVICE BUS • Business Services • Access service from multiple endpoints • Automated Service Pooling ensures high availability when apps go down and during maintenance X MAINFRAME ApplicationInstance 1 ApplicationInstance 2 ApplicationInstance 3 34

  13. Feature Overview Business ChallengeExpanding Infrastructure into the Cloud Cloud Vendor B Cloud Vendor A • Increased Risk • Less control with increasing dependence on multiple cloud service providers Performance Degradation • Increasing cloud service usage results in higher latency due to Internet vs. LAN based communication Unpredictable Scalability • Uncertain ability to handle spike in load Dependence on cloud vendor reliability Higher latency with Internet vs. LAN & Firewalls ENTERPRISE SERVICE BUS Business Apps X ERP Sales CRM 35

  14. Service Result CacheReliability, Performance and Predictable Scalability ORACLE SERVICE BUS Feature Overview Cloud Vendor B Cloud Vendor A • Reduced Risk • Service results available even when application is down Improved Performance • Eliminate repeated application requests for static data Predictable Scalability • Cached results maintained internally resulting in less dependence on 3rd party service provider availability Result accessed from cache Result accessed from cache Business Apps Failure X ERP Sales CRM 36

  15. Service Result Cache Leveraging Coherence and Oracle Fusion Middleware Feature Overview • Checkbox enabled • Cache Results? • Cache Token • Time To Live 37

  16. Feature Overview Service Change CenterRapid Service Enablement with OSB • Change Center • Allows for fine-grained tuning of infrastructure • No need to redeploy entire project • Intuitive interface for non-developer/administrator • View & resolve conflicts • Undo, Re-do tasks • Audit changes 38

  17. “Embrace & Extend” Strategy Reassure customer they don’t have to re-invent the wheel E.g. Retain existing services and existing ESB OSB will make all existing services (even tightly coupled ones) and enforce loose coupling to introduce agility to their existing architecture Ease of Use “Fit-to-Purpose” interfaces - Available in a Web-based console and deeper-dive IDE Any-to-Any Protocol Support Regardless of new business request, OSB is pre-configured to handle the format Leverage Existing Infrastructure Rapid Service Enablement with OSB 39

  18. Market Leading ESB… Open Integrated Best of Breed Feature Overview Complete #1 #1 • Complete - Single ESB…not three like IBM • Integrated - Seamless onramp to SOA and Governance • Open - Any-to-Any protocol support for open standards • Best of Breed - Forrester ESB Wave “Leader” 2009 40

  19. The goal: Give customers the ability to extend the set of standard functions used in XQuery expressions and XQuery/XSLT resources with their own implementations, written in Java. The rationale: Certain transformations are too complicated or too inefficient to be done with XQuery/XSLT language. For example, reuse utility complex transformation functions already existing in java or even to do something with a database or some external system. Overview OSB XQuery Expression / resource OSB XSLT resource XQ Standard functions fn:concat fn:abs … XSLT Engine (e.g. Apache Xalan) BEA/Oracle XQuery 1.0 2004 draft engine OSB built-in extensions fn-bea:uuid fn-bea:isUserInRole … Custom functions ns0:myfunc … 41

  20. Feature Highlights – Java Support • OSB enhanced to support Java Objects • In the Pipeline, Java Object is represented as <ctx:java-content ref=”key1” xmlns:ctx="http://www.bea.com/wli/sb/context”/> Request Pipeline Request Pipeline Transport Layer POJOs ApplicationClient $body Register to Object Repository <ctx:java-content ref=“key1”/> Key1={obj} 42

  21. Feature Highlights – Java Support • Message Format in the Pipeline • The invocation point is the top element • Each argument is listed as a sub-element • Primitives and string arguments are inlined • POJO parameters referred by java-content ref. <soap:Body> <tes:some-method xmlns:tes=”default/someURI" <arg0>99</arg0> <arg1>true</arg1> <arg2><con:java-content ref=”key1” xmlns:con="http://www.bea.com/wli/sb/context”/></arg2> <arg3><someXML .../></arg3> </tes:some-method> </soap:Body> • XmlObject arguments can be inlined or passed as ref. • POJOs can only be modified in the pipeline through Java Callout 43

  22. Invocation Point = “Method1” Args= {Pojo1, …} Method1 Result Feature Highlights – JEJB Inbound Stateless Session Bean • Inbound EJB Transport exposes the Pipeline as a Stateless Session Bean • Communication between the client and proxy service is an EJB invocation • Client defines the SLSB interface exposed by the JEJB Proxy service • EJB artifacts are generated on the fly at the time of proxy creation • Transaction and security context is propagated from the client into the Bus Request Pipeline Method1(Pojo1,…) Client Application Method2(Pojo2,…) Response Pipeline 44

  23. Feature Highlights – JEJB Outbound • Business Service URI points to the JNDI Provider and JNDI name of the Remote EJB 45

  24. Feature Highlights – JEJB Outbound • User Configurations: • Dispatch Policy • EJB Spec Version • Pass XMLBeans by value • Security Information • Client Jar • Client Jar contains the remote/home or business interfaces to be accessed by the Business Service • User selects the EJB Interface to be accessed by the JEJB Business service 46

  25. Object Message Object Message Feature Highlights – JMS Transport JMS Business Oracle Service Bus JMS Queue JMS Queue • JMS Services configured with Messaging type ‘Java’ can receive/send JMS Objects messages • Java Object Support for both JMS inbound and outbound JMS Business Service $body Request Pipeline JMS Proxy Retrieve the Object from Object Repository Register the Object with Object Repository <ctx:java-content ref=”jcid" /> 47

  26. Atomic Message Flow Simple as checking a box All transactional work in message flow committed or aborted E.g. Publish, Service Callouts (QOS EO), Reporting, Java Callout, Route Two settings for Proxy Transaction Required  ? Same Transaction For Response ? Benefits Message flow can execute within TX regardless of the Inbound Protocol Business Proxy Overview - Message Flow Transaction Enterprise Services Oracle Service Bus Service Clients FTP HTTP HTTP/SOAP ApplicationClient Service JMS JMS 48

  27. Demo JMS store Diagram of Use Case Publish QOS = EO route Request path JCA DB business service JMS proxy (NON XA) Response Path JMS store Oracle XE 49

  28. Legacy Service Consumer Service Provider Overview - Service Result Caching • Problem • External service is invoked every time for results that may be reasonably static • Eg. Product details, discount info • Solution • Service Result Caching • Benefits • Faster response times to clients/users • Reduce load on potentially slow (legacy) backend systems • Cache data is always consistent and available • Operational ease in managing cache capacity Oracle Service Bus Process Flow / Orchestration 50

  29. Legacy Service Consumer Service Provider Overview - Service Result Caching If results not in cache, invoke service & cache results Side Cache Pattern Oracle Service Bus Coherence Data Grid Check cache PrimaryNode Get / Put (Cachekey) P Service Data OSB Result Cache Process Flow / Orchestration B Backup Node 51

  30. Feature HighlightsBusiness Service - Configuration Details How to calculate the Cache Token How long the cached result will be kept for 52

More Related