• No results found

OSB Developer Studentguide

N/A
N/A
Protected

Academic year: 2021

Share "OSB Developer Studentguide"

Copied!
302
0
0

Loading.... (view fulltext now)

Full text

(1)Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. e. bl a r e nsf. a. tr n no. a n a nd. a s a Oracle Service 11g: ) h Bus ฺ e m id o Integrate Design and Services c u ฺ G e t t t oi den l e d Stu @ r is Guide ha thStudent a w use a j s ( to r a e ah cens w li Ja. Sa. D68256GC11 Edition 1.1 February 2012 D76029.

(2) Author. Copyright © 2012, Oracle and/or its affiliates. All rights reserved.. Swarnapriya Shridhar. Disclaimer. Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Technical Contributors and Reviewers Sandeep Agarwal Deb Ayers Pradeep Bollineni Satish Duggana Rakesh Gowda Amit Jhunjhunwala Yosuke Katsuki Jay Kasi Pankaj Khandelwal Takyiu Liu Mary Peek Rakesh Saha. This document contains proprietary information and is protected by copyright and other intellectual property laws. You may copy and print this document solely for your own use in an Oracle training course. The document may not be modified or altered in any way. Except where your use constitutes "fair use" under copyright law, you may not use, share, download, upload, copy, print, display, perform, reproduce, publish, license, post, transmit, or distribute this document in whole or in part without the express authorization of Oracle. The information contained in this document is subject to change without notice. If you find any problems in the document, please report them in writing to: Oracle University, 500 Oracle Parkway, Redwood Shores, California 94065 USA. This document is not warranted to be error-free. Restricted Rights Notice If this documentation is delivered to the United States Government or anyone using the documentation on behalf of the United States Government, the following notice is applicable:. a. U.S. GOVERNMENT RIGHTS The U.S. Government’s rights to use, modify, reproduce, release, perform, display, or disclose these training materials are restricted by the terms of the applicable Oracle license agreement and/or the applicable U.S. Government contract.. tr n no. nd a S. a s a ) h deฺ Matthew Slingsby m Oracle and Java are registered trademarks oowners.of Oracleuiand/or its affiliates. Other names c ฺ may be trademarks of their respective e Editors itt ent G o l Smita Kommini de Stud @ Aju Kumar ar this h a Rashmi Rajagopal w use a j s ( to r a e Publisher ah cens w Veena Narasimhan li Ja a n a David Shaffer. Trademark Notice. e. bl a r e nsf.

(3) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Contents. 1. Introduction Target Audience and Prerequisite Skills 1-2 Course Objectives 1-3 Course Schedule 1-4 Additional Course Materials 1-5 Course Practices 1-6 Course Environment 1-7 Classroom Guidelines 1-8 For More Information 1-9 Class Introductions 1-10. nd a S. a s a ) h deฺ 2 Introduction to Oracle Service Bus m i o c u ฺ Objectives 2-2 G e itt ent o Getting Started 2-3 l de Stud Enterprise Challenges 2-4 @ har this Point-to-Point Integrationa2-5 e2-6 w s a Enterprise Application Integration j u s ( Architecture to (SOA) 2-7 r Service-Oriented a e s ah ceArchitecture: n Service-Oriented Definition 2-8 w a i l J Integrating Solutions and Benefits with SOA 2-9 ana SOA and Services 2-10 Implementing SOA Strategy 2-11 SOA Reference Architecture 2-12 SOA Reference Architecture: Service Consumers 2-14 SOA Reference Architecture: Service Classifications 2-15 SOA Reference Architecture: Service Providers 2-16 Data Services Layer 2-17 Connectivity Services Layer 2-18 Business Services Layer 2-19 Business Process Services Layer 2-20 Presentation Services Layer 2-21 Infrastructure Services 2-22 SOA Implementation Challenge 2-24 Service Sprawl 2-25 Solution to Service Sprawl 2-26. iii. e. tr n no. a. bl a r e nsf.

(4) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Oracle Service Bus 2-27 Key Features of Oracle Service Bus 2-28 Oracle Service Bus as a Message Broker 2-29 Location Transparency 2-31 Dynamic Routing 2-32 Transformations 2-33 Service Orchestration 2-34 Message Enrichment 2-35 Security 2-36 Service-Level Agreements 2-38 OSB Architecture and Functional Features 2-39 OSB Architecture 2-40 OSB Functional Features 2-41 Summary 2-43 Practice 2 Overview: Introduction to Oracle Service Bus 2-44. nd a S. a s a 3 Message Flow ) h deฺ m i o Objectives 3-2 c u ฺ G e itt ent Service Bus Architecture 3-3 o l e tud Oracle Service Bus Console 3-5 d @ S r s a i Projects and Resources 3-6 h h a se t OSB Projects 3-7 jaw (s 3-8to u OSB Resource Types r a s3-9e ahServices Business n e w lic Service 3-10 Ja a Business Creating a an Proxy Services 3-11 Creating a Proxy Service 3-12 Difference Between Binding and Port 3-13 Quiz 3-14 Message Context Model 3-15 Using Context Variables 3-16 Predefined Context Variables 3-17 Predefined Context Variables: Descriptions 3-18 Message-Related Variables 3-20 $header Variables 3-21 $body Variables 3-22 $body Binary Content 3-23 $body Java Content 3-24 $attachments Variable 3-25 $body and RPC 3-27 $fault Variable 3-28 iv. e. tr n no. a. bl a r e nsf.

(5) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. $inbound and $outbound Variables 3-29 $operation Variable 3-30 User-Defined Context Variables 3-31 Variables and Types 3-32 Inbound Message Dispatching 3-33 Outbound Message Dispatching 3-34 Quiz 3-35 Message Flow Components 3-36 Branching 3-38 Branching Types 3-39 Conditional Branch 3-40 Operational Branch 3-41 Expression Editor 3-42 Variable Structures 3-43 Namespace Definitions 3-44 XQuery Functions 3-45 Quiz 3-46 Summary 3-49 Practice 3 Overview: Message Flow 3-50. nd a S. a s a ) h deฺ m i o c u ฺ G e itt ent o l de Stud @ r is 4 Message Flow Actions ha h t a w use Objectives 4-2 a j s ( Message FlowrDesign 4-3 to a e s ah 4-4 RoutewNode n e c i Ja Node lCommunication Route Action: Dynamic Routing 4-5 a n a Route Node Communication Action: Routing 4-6 Route Node Communication Action: Routing Table 4-7 Route Node Flow Control Action: If-Then 4-8 Routing Table Versus Conditional Branching 4-9 Quiz 4-10 Stage Node 4-11 Stage Node Communication Action: Dynamic Publish 4-12 Stage Node Communication Action: Publish 4-13 Stage Node Communication Action: Publish Table 4-14 Stage Node Communication Action: Routing Options 4-15 Stage Node Communication Action: Service Callout 4-16 Stage Node Communication Action: Transport Headers 4-18 Stage Node Flow Control Actions 4-20 Quiz 4-21 Stage Node Message Processing Actions 4-22 Message Format Language 4-24 v. e. tr n no. a. bl a r e nsf.

(6) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Using MFL 4-25 Quiz 4-26 Stage Node Reporting Actions 4-27 Oracle XQuery Mapper 4-29 Mapping Data 4-30 Creating a Transformation 4-31 Mapping a Transformation 4-32 Using XQuery File in OSB 4-33 Custom XPath Functions 4-34 Creating a Custom XPath Function 4-35 Registering a Custom Function 4-36 Summary 4-37 Practice 4 Overview: Message Flow Actions 4-38 5. Message Flow Best Practices Objectives 5-2 Split-Join Pattern 5-3 Split-Join Order: Example 5-4 Split-Join Patterns 5-5 Creating a Split-Join Configuration 5-6 Receive Node 5-7 Reply Node 5-8 Parallel Node 5-9 Assign Node 5-10 Invoke Service Node 5-12 Input and Output Variables 5-13 Exporting the Split-Join Flow 5-14 Split-Join Flow Creation Process 5-15 Quiz 5-16 Dynamic Routing 5-17 Dynamic Routing Techniques 5-18 Technique 1 5-19 Sample XML File 5-20 Dynamic Routing Action 5-21 Technique 2 5-22 Summary 5-23 Practice 5 Overview: Message Flow Best Practices 5-24. a n a nd. Sa. 6. a s a ) h deฺ m i o c u ฺ G e itt ent o l de Stud @ har this a w use a j s ( to r a e ah cens w li Ja. Transports in Oracle Service Bus Objectives 6-2 SOA-DIRECT Transport 6-3 vi. e. tr n no. a. bl a r e nsf.

(7) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Features of SOA-DIRECT Transport 6-4 Synchronous Invocation of SOA Composite Components 6-5 Synchronous Invocation from a SOA Composite 6-6 Asynchronous Invocation of a SOA Composite 6-8 Asynchronous Invocation from a SOA Composite 6-9 Quiz 6-10 JCA Transport 6-11 Features of the JCA Transport 6-12 Adapters Supported by JCA Transport 6-13 JCA Adapter Framework 6-14 General Configuration of JCA Adapter 6-15 Representational State Transfer (REST) 6-17 OSB Support for REST 6-19 Example 6-20 Standard Proxy Service: Example 6-21 REST-ful Proxy Service: Example 6-23 Quiz 6-28 Summary 6-29 Practice 6 Overview: Transports in Oracle Service Bus 6-30. nd a S. a s a ) h deฺ m i o c u ฺ G e itt ent o l de Stud @ 7 Debugging with Oracle Service har Busthis a w use Objectives 7-2 a j s ( Error Handler rPipelines 7-3 to a e ah ce7-4ns Errorw Handlers Ja Variableli 7-5 $fault a n a Error Codes 7-6 Reply Action 7-8 Reply Action in OSB Console 7-9 Transport Errors with Service Callouts 7-10 Error Code BEA-382502 7-11 SOAP Faults with Service Callouts 7-12 Unexpected Responses and Service Callouts 7-13 Resume Action 7-14 Quiz 7-15 Validation and Error Scenario 7-17 Validate Action 7-18 Quiz 7-19 Reporting Actions 7-20 Oracle Service Bus Reporting Framework 7-21 Reporting Framework: Diagrammatic Representation 7-22 Report Action 7-24 vii. e. tr n no. a. bl a r e nsf.

(8) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Log Action 7-26 Alert Action 7-27 Quiz 7-28 OSB Debug Files 7-29 OSB Debug Flags 7-30 Configuration Framework Debug Flags 7-32 Summary 7-33 Practice 7 Overview: Debugging with Oracle Service Bus 7-34 8. Introduction to Oracle Service Bus Security Objectives 8-2 Introduction to Oracle Service Bus Security 8-3 Inbound and Outbound Security 8-4 Identity Propagation in Oracle Service Bus 8-6 Example: Authentication with a Username Token 8-7 Securing Oracle Service Bus with Oracle Web Services Manager 8-9 Configuring OWSM Keystore by Using Enterprise Manager Console 8-11 Credential Store Framework 8-12 Configuring the OWSM CSF by Using Oracle Enterprise Manager 8-13 Web Services Policy 8-14 Using Security Assertion Markup Language (SAML) for Authentication 8-15 Quiz 8-16 Summary 8-18 Practice 8 Overview: Introduction to Oracle Service Bus Security 8-19. a s a ) h deฺ m i o c u ฺ G e itt ent o l de Stud @ har this a w use a j s ( to r a e ah cens w li Ja. Sa. a n a Appendix A: Service Bus Concepts nd. Objectives A-2 Introduction to Service Bus Technology A-3 Benefits of a Service Bus A-4 Service Bus Technologies A-5 Web Services Description Language A-6 Simple Object Access Protocol A-7 Universal Description, Discovery, and Integration (UDDI) A-8 XML Schema A-9 XPath A-10 XQuery A-11 Extensible Stylesheet Language Transformations A-12 Summary A-13. Appendix B: Transports Objectives B-2 viii. e. tr n no. a. bl a r e nsf.

(9) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. SB Transport B-3 EJB Transport B-4 JEJB Transport B-5 Local Transport B-6 WS Transport B-7 MQ Transport B-8 HTTP and Poll-Based Transports B-9 Oracle Data Service Integrator Transport Summary B-11 Appendix C: Delivery Methods Objectives C-2 Quality of Service C-3 Delivery Guarantees C-4 Delivery Guarantee Types C-5 Delivery Guarantee Rules C-6 Overriding the Default Element C-8 Reliable Messaging Support C-9 Configuring Delivery Behavior C-11 HTTP(S) Quality of Service Success C-12 Handling Unreliable Transports C-13 Threading Model C-14 Summary C-15. a n a nd. B-10. a s a ) h deฺ m i o c u ฺ G e itt ent o l de Stud @ har this a w use a j s ( to r a e ah cens w li Ja. Sa. ix. e. tr n no. a. bl a r e nsf.

(10) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Sa. e. a. a n a nd a s a ) h deฺ m i o c u ฺ G e itt ent o l de Stud @ har this a w use a j s ( to r a e ah cens w li Ja tr n no bl a r e nsf.

(11) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Introduction. e. a. bl a r e nsf. Sa. a n a nd. a s a ) h deฺ m i o c u ฺ G e itt ent o l de Stud @ har this a w use a j Copyright © 2012, Oracle and/or its affiliates. All rights reserved. s ( to r a e ah cens w li Ja. tr n no.

(12) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Target Audience and Prerequisite Skills •. This course is directed at: – SOA architects – Technical architects – Application developers. •. Prerequisite skills include: – Web Services experience – XML programming experience. e. a. bl a r e nsf. a n a nd. a s a ) h deฺ m i o c u ฺ G e itt ent o l de Stud @ har this a w use a j Copyright © 2012, Oracle and/or its affiliates. All rights reserved. s ( to r a e ah cens w li Ja. tr n no. Sa. Oracle Service Bus 11g: Design and Integrate Services 1 - 2.

(13) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Course Objectives After completing this course, you should be able to: • Describe the Oracle Service Bus (OSB) architecture and functional layers • Create OSB resources • Enrich, route, and validate messages within OSB • Use some of the common OSB transports le b a er • Describe the sequence involved in Message Level Security f s an r t • Explain the process of securing OSB with Oracle Web on n Services Manager (OWSM) a. a n a nd. has eฺ ) om uid c ฺ itte ent G o l de Stud @ har this a w use a j Copyright © 2012, Oracle and/or its affiliates. All rights reserved. s ( to r a e ah cens w li Ja. Sa. Oracle Service Bus 11g: Design and Integrate Services 1 - 3.

(14) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Course Schedule Session. Lesson. Day 1. 1: Course Introduction 2: Introduction to Oracle Service Bus 3: Message Flow. Day 2. 4: Message Flow Actions 5: Message Flow Best Practices. Day 3. 6: Transports in Oracle Service Bus 7: Debugging with Oracle Service Bus 8: Introduction to Oracle Service Bus Security. e. bl a r e nsf. a. tr n no. S. a s a ) h deฺ m i o c u ฺ G e itt ent o l de Stud @ har this a w use a j Copyright © 2012, Oracle and/or its affiliates. All rights reserved. s ( to r a e ah cens w a i vary according to the pace of the class. The instructor will provide lmight Jschedule The class a n a updates. anAtd the end of the course, the instructor will facilitate a feedback session that includes a written questionnaire. Oracle University uses your feedback to improve our training programs. We appreciate your honest evaluation.. Oracle Service Bus 11g: Design and Integrate Services 1 - 4.

(15) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Additional Course Materials Activity Guide Appendixes A: Service Bus Concepts B: Transports. e. bl a r e nsf. C: Delivery Methods. a. tr n no. a s a ) h deฺ m i o c u ฺ G e itt ent o l de Stud @ har this a w use a j Copyright © 2012, Oracle and/or its affiliates. All rights reserved. s ( to r a e ah cens w li JaGuide contains The Activity the practices for the course. a n da A contains basic concepts such as the key benefits of a service bus and anAppendix fundamental technologies on which a Service Bus is built.. S. Appendix B contains information about different transports that work with OSB. Appendix C contains information about delivery methods that are used with OSB.. Oracle Service Bus 11g: Design and Integrate Services 1 - 5.

(16) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Course Practices • •. Each core topic is reinforced with a hands-on practice. Optional topics and practices are performed at the instructor’s discretion and if time permits.. e. a. bl a r e nsf. a n a nd. a s a ) h deฺ m i o c u ฺ G e itt ent o l de Stud @ har this a w use a j Copyright © 2012, Oracle and/or its affiliates. All rights reserved. s ( to r a e ah cens w li Ja. tr n no. Sa. Oracle Service Bus 11g: Design and Integrate Services 1 - 6.

(17) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Course Environment The software is preinstalled and configured on each student machine. Instructor machine. e. a. bl a r e nsf. tr n no. S. a s a ) h deฺ m i o c u ฺ G e itt ent Student Student Student o l e d d S2tu machine 3 machine machine 1 @ r s ha thi a w use a j Copyright © 2012, Oracle and/or its affiliates. All rights reserved. s ( to r a e ah cens w li Ja the following In this a course, products are used for the practices: n •a Oracle WebLogic Server 11g R1 (10.3.4) + Coherence + OEPE and • • • •. Oracle Service Bus 11g R1(11.1.1.4) Oracle SOA Suite 11g (11.1.1.4) Oracle JDeveloper 11g (11.1.1.4) Oracle Database 10g Express Edition (Universal). Oracle Service Bus 11g: Design and Integrate Services 1 - 7.

(18) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Classroom Guidelines • • •. The instructor starts each session promptly at the scheduled time. Ask questions, but be respectful of the topic at hand and the interest of other students. Ensure that cell phones and pagers are silent.. e. a. bl a r e nsf. a n a nd. a s a ) h deฺ m i o c u ฺ G e itt ent o l de Stud @ har this a w use a j Copyright © 2012, Oracle and/or its affiliates. All rights reserved. s ( to r a e ah cens w li Ja. tr n no. Sa. Oracle Service Bus 11g: Design and Integrate Services 1 - 8.

(19) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. For More Information Topic. Website. Education and Training. http://education.oracle.com. Product Documentation. http://www.oracle.com/technology/documentation. Product Downloads. http://www.oracle.com/technology/software. Product Articles. http://www.oracle.com/technology/pub/articles. Product Support. http://www.oracle.com/support. Product Forums. http://forums.oracle.com. Product Tutorials. http://www.oracle.com/oll. a n a nd. a s a ) h deฺ m i o c u ฺ G e itt ent o l de Stud @ har this a w use a j Copyright © 2012, Oracle and/or its affiliates. All rights reserved. s ( to r a e ah cens w li Ja. e. tr n no. a. Sa. Oracle Service Bus 11g: Design and Integrate Services 1 - 9. bl a r e nsf.

(20) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Class Introductions Briefly introduce yourself: • Name • Title or position • Company • Web Services and XML experience • Reasons for attending. e. a. bl a r e nsf. a n a nd. a s a ) h deฺ m i o c u ฺ G e itt ent o l de Stud @ har this a w use a j Copyright © 2012, Oracle and/or its affiliates. All rights reserved. s ( to r a e ah cens w li Ja. tr n no. Sa. Oracle Service Bus 11g: Design and Integrate Services 1 - 10.

(21) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Introduction to Oracle Service Bus. e. a. bl a r e nsf. Sa. a n a nd. a s a ) h deฺ m i o c u ฺ G e itt ent o l de Stud @ har this a w use a j Copyright © 2012, Oracle and/or its affiliates. All rights reserved. s ( to r a e ah cens w li Ja. tr n no.

(22) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Objectives After completing this lesson, you should be able to: • Describe Service-Oriented Architecture (SOA) • Explain the SOA Reference Architecture and its different layers • Identify the core concepts of Oracle Service Bus • Explain the role and features of Oracle Service Bus le b a r • Identify the functional features of Oracle Service Bus sfe. n. tra n o. a n a nd. n a has eฺ ) om uid c ฺ itte ent G o l de Stud @ har this a w use a j Copyright © 2012, Oracle and/or its affiliates. All rights reserved. s ( to r a e ah cens w li Ja. Sa. Oracle Service Bus 11g: Design and Integrate Services 2 - 2.

(23) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Getting Started IT Manager: Our team has developed a new application that needs to be integrated with the existing system. We are thinking of adopting a point-to-point integration strategy. Architect: Before we decide on the point-to-point strategy, we need to understand if that methodology is the best suited for our organization.. e. a. bl a r e nsf. r IT Manager: Great idea! Do you have information n to-tshare?. no a has eฺ ) om uid c ฺ Architect: Yes, I ido. tte ent G o l de Stud @ har this a w use a j Copyright © 2012, Oracle and/or its affiliates. All rights reserved. s ( to r a e ah cens w li identifies the challenges that enterprises face when trying to create an Jain the slide The dialog a n a integration strategy. and. S. Oracle Service Bus 11g: Design and Integrate Services 2 - 3.

(24) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Enterprise Challenges •. Application development and integration issues – Lack of flexibility – Not based on standards – Project costs and long duration. •. Traditional methodologies – Point-to-point – Enterprise Application Integration. e. bl a r e nsf. a. tr n no. S. a s a ) h deฺ m i o c u ฺ G e itt ent o l de Stud @ har this a w use a j Copyright © 2012, Oracle and/or its affiliates. All rights reserved. s ( to r a e ah cens w li custom-built and off-the-shelf packaged applications to run their Jause different Enterprises a n a processes. Applications are integrated to share information among themselves and business antodincorporate information from existing applications. Traditional application development and integration approaches have been neither flexible nor standards-based to facilitate an agile enterprise IT environment. In large enterprises, application development means interacting with business data from one or more sources or other applications. Application integration cannot be implemented without application development tasks that include developing and assembling components, connecting components to back-end systems, implementing process flow and workflow, developing the user interface, testing, and debugging. Two of the most common application integration methodologies are: • Point-to-point integration methodologies by using APIs, proprietary messages, and custom integration links • Enterprise Application Integration (EAI) based on message bus (a message bus specializes in transporting messages between applications) or middleware. Oracle Service Bus 11g: Design and Integrate Services 2 - 4.

(25) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Point-to-Point Integration «EAI». Custom «Packaged CRM» API. Custom API. «Client Tier». CRM Application «Custom Logic». Custom «Packaged ERP» API. Custom API. «Client Application». ERP Application. e. «Custom Logic». Custom «Mainframe» API. Custom Application. Custom API. S. a s a ) h deฺ Custom Custom «App Server» «Custom m o API ui c ฺ API Logic» G e t t t i n o l EJB Application e tude d r@ is S a h a se th w uOracle and/or its affiliates. All rights reserved. Copyright sja © t2012, ( o r a ah cense w li involves: Ja integration Point-to-point a n •a Proprietary messages and APIs and• Custom integration links. bl a r «Client fe s Application» n tra n no «Client Application». • Duplication of effort • Lack of open standards • Tight coupling of data and implementation • Skill set issues • Projects lasting months • Cost (skill, time, and products) • Operational policies embedded in application • Lack of agility • Slow response by IT to business changes In the point-to-point (or peer-to-peer) integration methodology, applications are integrated with other applications as needed. The interconnections shown in the slide can be built with web services as well. But that does not mean that the peer-to-peer implementation is SOA based; it still is not loosely coupled and intermediary based, and it lacks a shared infrastructure. Note: CRM stands for Customer Relationship Management.. Oracle Service Bus 11g: Design and Integrate Services 2 - 5.

(26) Enterprise Application Integration. Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. «Client Tier» «VB Application». «Java Application». «Web Application». Proprietary Middleware API. Message Bus or Middleware «Packaged CRM». Custom API. «Packaged ERP». CRM Application. ERP Application. e. Custom API. bl a r e nsf. a. tr n no. S. a s a RMI h eฺ )«App «Mainframe» Server» m id o c u ฺ G e Custom EJB itt ent o l Application de Application ud t @ S har this a w use a j Copyright © 2012, Oracle and/or its affiliates. All rights reserved. s ( to r a e ah cens w a li integration is complex, costly, and difficult to manage, the Enterprise Jpoint-to-point Because a n Application Integration (EAI) method was introduced. EAI is based on a message broker or a d n middleware, where the connectivity between each application and the message bus is a JAM API. developed by using proprietary bus APIs and an Application Platform Suite (APS). The following are the disadvantages of these approaches: • Custom or proprietary integration between the message bus and each application is required. • Different proprietary data formats are involved at each integration point. • Each application is still tightly coupled to the message bus. • The applications need to know the inner workings of the other applications with which they are integrated. The challenge of accessing, integrating, and transforming data (enterprise information integration) has largely been left to developers to perform by using manual coding. The lack of standards and the architectural limitations—in addition to the hefty costs of traditional EAI projects—have resulted in the search for an alternative integration solution that can resolve these deficiencies. Note: JAM stands for “Java Adapter for Mainframe.”. Oracle Service Bus 11g: Design and Integrate Services 2 - 6.

(27) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Service-Oriented Architecture (SOA) IT Manager: I understand your concerns. So what is an alternative integration solution to address these limitations? Architect: Adapting to a service-centric integration is the best alternative. This can be achieved if we adopt Service-Oriented Architecture (SOA).. e. bl a r e nsf. tra. - its IT Manager: I’ve heard of SOA. Can you give onme n conceptual definition? a. has eฺ ) om uid c ฺ itte ent G o l de Stud @ har this a w use a j Copyright © 2012, Oracle and/or its affiliates. All rights reserved. s ( to r a e ah cens w Ja wantsltoi understand the concepts and benefits of SOA. So, you start with its The manager a n a so that you have a common and shared understanding of what it represents. definition and. S. Oracle Service Bus 11g: Design and Integrate Services 2 - 7.

(28) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Service-Oriented Architecture: Definition Service-Oriented Architecture is an IT strategy that organizes the discrete functions contained in enterprise applications into interoperable, standards-based services that can be combined and reused quickly to meet business needs.. e. Business strategy. SOA. bl a r e nsf. IT a strategy n-tr. S. no a has eฺ ) om uid c ฺ itte ent G o l de Stud @ har this a w use a j Copyright © 2012, Oracle and/or its affiliates. All rights reserved. s ( to r a e ah cens w Jbeadefinedlias a paradigm for organizing and utilizing distributed capabilities that SOA can a n a be under the control of different ownership domains. may anIndcomputing, SOA provides methods for systems development and integration, where systems group functionality around business processes and package these as interoperable services. An SOA infrastructure allows different applications to exchange data with one another as they participate in business processes.. Oracle Service Bus 11g: Design and Integrate Services 2 - 8.

(29) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Integrating Solutions and Benefits with SOA Offers faster business response time. Masks underlying technical complexity. Improves business agility. SOA. Aligns IT with business. e. bl a r e nsf. a. Benefits. tr n no. S. a s a ) h deฺ m i o c u ฺ Cost G e t Reusability Interoperability ittScalability n o Efficiency l e tude d r@ is S a h a se th w uOracle and/or its affiliates. All rights reserved. Copyright sja © t2012, ( o r a ah cense w li business functions: Jawith discrete Aligning IT a n •a Results in rapid development and more reliable delivery of new and enhanced business and services • Improves productivity, agility, and speed for both business and IT • Enables IT to deliver services faster and align closer with business • Enables the business to respond more quickly and deliver an optimal user experience • Masks the underlying technical complexity of the IT environment The benefits of Service-Oriented Architecture are: • Reusability: The existing business functionality in an application can be reused to meet new business requirements. In addition, new services should be designed with reusability in mind as determined by their usage patterns within the business domain. However, not all services need to be reusable or dependent on the business requirement. • Interoperability: Communication between services and the business process is not dependent on the platform and is standards enabled. The services are also not tightly coupled to the application. • Scalability: Applications are flexible to accommodate changing business requirements. • Cost efficiency: SOA is highly cost efficient because integrating the business resources is standards based. Oracle Service Bus 11g: Design and Integrate Services 2 - 9.

(30) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. SOA and Services • •. Services are SOA building blocks. SOA can be thought of as: – A collection of services on a network that communicate with one another – A set of services that are loosely coupled with well-defined, reusable, platform-independent interfaces – A higher level of application development. e. S. bl a r sfe • Services provide access to data, business processes,aand n tr IT infrastructure, ideally in an asynchronous manner. n no a has eฺ ) om uid c ฺ itte ent G o l de Stud @ har this a w use a j Copyright © 2012, Oracle and/or its affiliates. All rights reserved. s ( to r a e ah cens w Jisaa piece lofi self-contained business functionality. The functionality can be as A service a n a as storing customer data or as complex as a business process for a customer’s order. simple and Services form the basic building blocks for a SOA implementation. They perform work based on business interactions and requirements. Because services concentrate on the business value of an interface, they bridge the business–IT gap. Services interact by exchanging messages with other clients and other services. In Oracle SOA Suite 11g, services describe their interface by using Web Services Description Language (WSDL) that specifies: • Operations that may be executed • Message structures for communicating the required data for each operation. Message structures are based on types expressed in an XML Schema Definition (XSD). Independence is a fundamental aspect of services and of SOA as a whole. Loose coupling frees a service from immediate ties to others. This makes it much easier to realize reuse. In addition, when there are fewer dependencies, modification to or faults in one system will have fewer effects on other systems.. Oracle Service Bus 11g: Design and Integrate Services 2 - 10.

(31) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Implementing SOA Strategy IT Manager: Okay. I understand that a service is the fundamental building block for SOA. Is there a way to create an architecture that can be used as a guide to develop Service-Oriented Architectures? Architect: Of course. The SOA Reference Architecture is used as a blueprint to guide the enterprise toward SOA. The SOA Reference Architecture helps group similar services for both operational efficiency and design stability.. IT Manager: Can you explain how the SOA Reference tra n Architecture helps in classifying services? no. a s a ) h deฺ m i o c u ฺ G e itt ent Architect: Sure. o l de Stud @ har this a w use a j Copyright © 2012, Oracle and/or its affiliates. All rights reserved. s ( to r a e ah cens w li in the slide is the need for an SOA Reference Architecture. Ja of the dialog The essence a n a and. S. Oracle Service Bus 11g: Design and Integrate Services 2 - 11. e. bl a r e nsf.

(32) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. SOA Reference Architecture •. •. An SOA Reference Architecture is a blueprint or guide to creating an SOA infrastructure implementation for a business depending on the “business needs.” The SOA Reference Architecture: – Defines the target architecture and the principles to be used by an organization’s architects to make architecture and le design decisions on their projects b a r – Is a key component of an effective strategy to deliver the nsfe benefits of SOA -tra. Sa. on n a s a ) h deฺ m i o c u ฺ G e itt ent o l de Stud @ har this a w use a j Copyright © 2012, Oracle and/or its affiliates. All rights reserved. s ( to r a e ah cens w i lArchitecture Ja An SOA Reference promotes consistency and interoperability by defining a n principles, guidelines, and patterns. It is a blueprint to guide the enterprise da nenterprise-wide. toward SOA success by: • Establishing a strategy for architecting new SOA projects, leveraging existing projects and legacy investments • Building in flexibility and manageability, and planning for change • Simplifying diverse, sometimes incompatible platforms and applications found in any large enterprise • Transitioning toward a culture of reuse, team collaboration, and resource sharing • Determining best practices for standards and technology deployment • Migrating toward a two-to-three year view, achieving true convergence over time • Providing a communication tool for establishing a common understanding of SOA and its core strategies throughout the enterprise. Oracle Service Bus 11g: Design and Integrate Services 2 - 12.

(33) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. SOA Reference Architecture Service Consumers and Delivery Channels. Employees. Composite Applications. Web Apps. Partners. Client Apps. Partner Apps. Mashups. BPM Process. Clients. Customers. Portals. Shared Services and Infrastructure Presentation Services. Service Registry Shared Portlets. Multichannel Delivery. Business Processes. System-Centric Workflow Human-Centric Workflow. Business Services. Enrichment. Data Services. Custom/Atomic Business Services. Logical Data Model Data Aggregation/Synchronization. Service Bus. Service Repository. Mediation. SOA Monitor and Event Manager. a. tr n no. Infrastructure Services. S. a s a ) h deฺ m i o c u ฺ G e t itt enService-Enabled o Non-Service-Enabled Assets Assets l e tud d r@ is S a h a se th w uOracle and/or its affiliates. All rights reserved. Copyright sja © t2012, ( o r a ah cense w li Ja separates The architecture the users of enterprise functionality from the systems and a n applications that provide that functionality, placing the infrastructure for services and service da andelivery between them. The layers of services and their supporting infrastructure are referred Connectivity Services Messaging. System/Data Access. Adapters. Messaging. Custom APIs. Partner Integration. JDBC. file://. to as the “innovation layer.” This analogy expresses their role in driving change in the way that IT is delivered. Existing applications, data, and middleware form the foundation from which services are drawn. Supporting and formalizing the existing enterprise activities is an important goal of a service-oriented infrastructure. Standards-based infrastructure services provide a common basis for the deployment of all other types of service. Note: The SOA architectural framework for an organization is selected from this reference architecture based on business requirements. Not all components of the reference architecture are needed.. Oracle Service Bus 11g: Design and Integrate Services 2 - 13. e. bl a r e nsf. SOA Security Infrastructure.

(34) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. SOA Reference Architecture: Service Consumers Service Consumers and Delivery Channels Composite Applications. Employees. Web Apps. Customers. Portals. Partners. Client Apps. Partner Apps. Mashups. BPM Process. Clients. Users of the enterprise functionality. e. bl a r e nsf. a. tr n no. a s a ) h deฺ m i o c u ฺ G e itt ent o l de Stud @ har this a w use a j Copyright © 2012, Oracle and/or its affiliates. All rights reserved. s ( to r a e ah cens w li Ja Service consumers include end users as well as applications that are users of SOA, but not a n a contributors of services. These include: and• Applications that belong to another domain (for example, partner applications). S. •. Complex event-processing systems that can invoke composite applications and services, as a result of processing decisions. Oracle Service Bus 11g: Design and Integrate Services 2 - 14.

(35) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. SOA Reference Architecture: Service Classifications Shared Services and Infrastructure Presentation Services. Shared Portlets. Multichannel Delivery. Business Processes. System-Centric Workflow Human-Centric Workflow. Business Services. Enrichment. Data Services Connectivity Services. Custom/Atomic Business Services. Logical Data Model Data Aggregation/Synchronization System/Data Access. Messaging. Service Registry Service Bus. Service Repository SOA Security Infrastructure. Mediation. SOA Monitor and Event Manager Infrastructure Services. Partner Integration. a. tr n no. Service classifications and infrastructure requirements of Service-Oriented Architecture. a s a ) h deฺ m i o c u ฺ G e itt ent o l de Stud @ har this a w use a j Copyright © 2012, Oracle and/or its affiliates. All rights reserved. s ( to r a e ah cens w a li is a logical grouping of services that meet specific needs and conform Jclassification A service a n to a different subsets of standards or guidelines. The separate classifications potentially satisfy and. S. different subsets of architectural principles and have their own specific constraints. The different service classifications are: • Connectivity services • Data services • Business services • Business process services • Presentation services • Infrastructure services. Oracle Service Bus 11g: Design and Integrate Services 2 - 15. e. bl a r e nsf.

(36) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. SOA Reference Architecture: Service Providers Shared Services and Infrastructure Presentation Services. Shared Portlets. Service Registry. Multichannel Delivery. Business Processes. System-Centric Workflow Human-Centric Workflow. Business Services. Enrichment. Data Services Connectivity Services Messaging. Custom/Atomic Business Services. Logical Data Model Data Aggregation/Synchronization System/Data Access. Adapters. Messaging. Custom APIs. Partner Integration. JDBC. Service Bus. Service Repository SOA Security Infrastructure. Mediation. SOA Monitor and Event Manager Infrastructure Services. file://. tra n noAssets Non-Service Enabled Assets Service-Enabled a has eฺ ) om uid c ฺ G t ttebe shared ican Assets that and reused n o l ethroughout deenterprise the d u t r@ is S a h a se th w uOracle and/or its affiliates. All rights reserved. Copyright sja © t2012, ( o r a ah cense w li from other parts of the enterprise or from external applications, can be Ja Existing functionalities, a n accessed securely via the service bus if the functionalities are exposed as services (serviceda anenabled assets). Thus, business functionality or data that was not previously accessible can. S. be shared and reused across the enterprise. There is no necessity for the connectivity services to “service enable” the assets. On the contrary, the non-service-enabled assets standardize the exposure of their functions to the other service classes that use the connectivity services.. Oracle Service Bus 11g: Design and Integrate Services 2 - 16. e. bl a r e nsf.

(37) Characteristics: • • • • • •. Fine grained or coarse grained No business logic Aggregation and transformation High reuse Stateless Configurable. Shared services. Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Data Services Layer. Data services. Logical data model. Messaging. Data aggregation. Data synchronization. e. Adapters. Custom APIs. Non-service-enabled assets. JDBC. bl a r e nsf. a. tr n no. S. a s a ) h dPartners Legacy Database Content Packaged eฺ m i o c u eฺ nt G t t i elo tude d r@ is S a h a se th w uOracle and/or its affiliates. All rights reserved. Copyright sja © t2012, ( o r a ah cense w a li contains the services that provide access to data obtained by the data Jservices The data layer a n sources. da Access can be in the form of read and write capabilities (all create, read, update, and andelete functions). The data services layer may contain processing logic required to handle more complex write operations. For example, an update may involve data sources that support only asynchronous write operations. Also, error handling logic may be required if a data source is not available when a request occurs. Because this service classification is responsible for decoupling data consumers from data providers, the upstream consumers can legitimately assume a standardized information model and request data without the need for knowledge of the underlying data sources. After the data services are isolated, architectural principles such as “Data is owned by the enterprise” are better supported, enabling accountability and stewardship across the enterprise.. Oracle Service Bus 11g: Design and Integrate Services 2 - 17.

(38) Characteristics: • •. • •. Fine grained No business logic or aggregation High reuse Stateless. Shared services. Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Connectivity Services Layer. Connectivity services Messaging. System access. Adapters. Messaging. Data access. Custom APIs. Non-service-enabled assets. JDBC. a. tr n no. a s a ) h dPartners Legacy Database Content Packaged eฺ m i o c u eฺ nt G t t i elo tude d r@ is S a h a se th w uOracle and/or its affiliates. All rights reserved. Copyright sja © t2012, ( o r a ah cense w li layer provides a way to derive information from a diversity of Ja services The connectivity a n a suites, custom applications, and data sources deployed across the enterprise. software anIndgeneral, an enterprise can have a long list of retrieval strategies, such as extract, transform,. S. and load (ETL); message-oriented middleware (MOM); object brokers; and data integration. The role of the connectivity services layer is to integrate these different access strategies into a single access gateway. The adoption curve leans toward a loosely coupled implementation, which is more scalable and interoperable. Conceptually, connectivity services is the lowest layer and provides a level of abstraction to all kinds of data sources. Shared business services interact with connectivity services to pull the desired content based on the request. The focus of this layer is to provide a contractual relationship with legacy systems where throughput, availability, and exception handling are complex. For this reason, one of the specific roles of the connectivity services layer is to encapsulate legacy idiosyncrasies and standardize the exposure of their functions to other service classifications, thus eliminating complexity for the other layers.. Oracle Service Bus 11g: Design and Integrate Services 2 - 18. e. bl a r e nsf. Partner integration.

(39) Characteristics: • • • •. • •. Coarse grained Task oriented Business logic content Simple or complex operations Medium level of reuse Usually stateless. Shared services. Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Business Services Layer. Business services. Enrichment. Custom business services. Atomic business services. e. Messaging. Adapters. Custom APIs. Non-service-enabled assets. bl a r e nsf. a. JDBC. tr n no. S. a s a ) h dPartners Legacy Database Content Packaged eฺ m i o c u eฺ nt G t t i elo tude d r@ is S a h a se th w uOracle and/or its affiliates. All rights reserved. Copyright sja © t2012, ( o r a ah cense w li to standardize and encapsulate the functionality of enterprise Ja begins As thea enterprise n information systems in services, opportunities begin to emerge to apply the same kinds of da anconcepts to core, discrete business functionality that is not necessarily tied to a given information system. This functionality might include business functions such as rating and billing, inventory availability, and employee scheduling. This functionality is fine-grained and benefits the enterprise by being available in a standard way for use by people and applications. In many respects, this is the simplest form of integration needed for the enterprise. Accordingly, this functionality meets the definition of a service and is classified as the shared business services layer. This classification supports the common architectural principle of “creating a clear and distinct separation between the way data and legacy systems are accessed and the way they are processed.”. Oracle Service Bus 11g: Design and Integrate Services 2 - 19.

(40) Characteristics: • • •. • •. Coarse grained Process oriented Short or long running processes Lower level of reuse Can be stateless or stateful. Shared services. Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Business Process Services Layer. Business process services. System-centric workflow. Human-centric workflow. e. Messaging. Adapters. Custom APIs. Non-service-enabled assets. bl a r e nsf. a. JDBC. tr n no. S. a s a ) h dPartners Legacy Database Content Packaged eฺ m i o c u eฺ nt G t t i elo tude d r@ is S a h a se th w uOracle and/or its affiliates. All rights reserved. Copyright sja © t2012, ( o r a ah cense w a automation li Jprocess Business is an example of orchestration. For example, a service for a n a trade execution would involve orchestration: to place a trade, to wait for it to clear, and equity antodcredit or debit accounts appropriately. Orchestration involves the preservation of the state and several physical transactions. Technological constraints necessitate the separation of business process services. In this layer, you find a specific focus in the architecture on guidelines and constraints on the use of business process techniques, which are not applicable to other layers of the reference architecture.. Oracle Service Bus 11g: Design and Integrate Services 2 - 20.

(41) Characteristics: • • •. • •. Coarse grained Process oriented Short or long running processes Lower level of reuse Can be stateless or stateful. Shared services. Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Presentation Services Layer. Presentation services. Shared portlets. Multichannel delivery. e. Messaging. Adapters. Custom APIs. Non-service-enabled assets. bl a r e nsf. a. JDBC. tr n no. S. a s a ) h dPartners Legacy Database Content Packaged eฺ m i o c u eฺ nt G t t i elo tude d r@ is S a h a se th w uOracle and/or its affiliates. All rights reserved. Copyright sja © t2012, ( o r a ah cense w Ja servicesli provide two general types of service (as shown in the slide). The first Presentation a n a information in a standardized form for aggregation by another system before delivery provides antodan end user (such as portlets and mashups). The second focuses on the transformation of user data for delivery via different devices (such as mobile phones, Web TV, and games).. Oracle Service Bus 11g: Design and Integrate Services 2 - 21.

(42) Service registry. Presentation services Shared services. Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Infrastructure Services. Service repository. Business process services Business services. Service Bus. Security. Data services. Monitor/ event manager. Connectivity services. Infrastructure services. Messaging. Adapters. Custom APIs. JDBC. e. bl a r e nsf. a. tr n no. S. a s a ) h deฺ m i o c u ฺ G e t Content Legacy Database Packaged itt Partners n o l e de Stud @ har this a w use a j Copyright © 2012, Oracle and/or its affiliates. All rights reserved. s ( to r a e ah cens w a infrastructure li services is to provide the foundational components and capabilities The focusJof a n required a to address the following enterprise challenges: d n a • Avoiding tight coupling (direct dependency) between services and the clients Non-service-enabled assets. • • • • • • • • •. Achieving a consistent data format and representation of the enterprise data entities Discovering what services are available, where they reside, and what their capabilities and semantics are Managing, monitoring, and enforcing quality of service and service-level agreements Supporting service versioning Governing the service life cycle Managing service assets, relationships, and models Invoking services over heterogeneous transports by using different message brokering capabilities Managing security policy Rationalizing entitlement capabilities and management. Oracle Service Bus 11g: Design and Integrate Services 2 - 22.

(43) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. The service bus acts as the central hub for communication between all participants of the SOA (service consumer and service producers). This intermediary provides the ability to achieve loose coupling and a higher level of flexibility, because the integration points between consumer and provider can be configured at run time rather than hard-coded. This technique also isolates service consumers from minor changes in the service provider.. e. a. bl a r e nsf. a n a nd. a s a ) h deฺ m i o c u ฺ G e itt ent o l de Stud @ har this a w use a j s ( to r a e ah cens w li Ja. tr n no. Sa. Oracle Service Bus 11g: Design and Integrate Services 2 - 23.

(44) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. SOA Implementation Challenge Architect: Although SOA addresses the integration challenge, one of the key problems enterprise architects face is managing service mediation and ensuring effective reusability of services.. e. bl a r e nsf. IT Manager: Can you explain this further?. a. tr n no. S. a s a ) h deฺ m i o c u ฺ G e itt ent o l de Stud @ har this a w use a j Copyright © 2012, Oracle and/or its affiliates. All rights reserved. s ( to r a e ah cens w li SOA initiatives is attributed to the inherently heterogeneous multiJa A major challenge for a n a IT landscape in many enterprises and the resultant individual silos of business vendor and. information. The influx of web service interfaces to functionality within existing packaged applications often introduces services that do not adhere to established service and compliance guidelines. This is especially true if the services are published from core enterprise systems such as CRM, data warehouses, and ERP. This inevitably results in complex service sprawls within enterprise IT environments. In the slide, the architect highlights one of the major challenges faced in SOA.. Oracle Service Bus 11g: Design and Integrate Services 2 - 24.

(45) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Service Sprawl. Service. Service. Service. Service. e. bl a r e nsf. a. tr n no. aApplication s a ) h deฺ m i o c u ฺ G e itt ent o l de Stud @ har this a w use a j Copyright © 2012, Oracle and/or its affiliates. All rights reserved. s ( to r a e ah cens w li faced by enterprise architects who are responsible for messaging and Jachallenges The specific a n a initiatives in today’s enterprise include the following: SOA and• Introducing dynamic behavior and runtime configuration capabilities into a system Application. Application. Application. S. • • • • •. Reusing services that are developed across the enterprise and managing their life cycle Ensuring consistent use of enterprise services Ensuring that enterprise services are secure Ensuring that enterprise services comply with the IT policies Monitoring and auditing service usage and managing system outages. Applications are typically hard-coded to the services that they use. This can cause maintenance issues when a service changes. When services are used across the enterprise, the development team that creates the service can frequently be different from the development team that built the application. What happens when the service is updated? What if the schema that the service previously used is no longer valid? The graphic in the slide illustrates an example of “service sprawl,” with multiple services connected point-to-point with multiple applications.. Oracle Service Bus 11g: Design and Integrate Services 2 - 25.

(46) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Solution to Service Sprawl. IT Manager: As an architect, what do you suggest as a possible solution to service sprawl?. Architect: To realize the benefits of SOA, it is important that organizations include a service intermediary that le b a provides a layer of abstraction to mask the complexities of fer service integration in heterogeneous IT environments. rans -t One way to do this is by including a service bus o asnthe intermediary. an. a n a nd. has eฺ ) om uid c ฺ itte ent G o l de Stud @ har this a w use a j Copyright © 2012, Oracle and/or its affiliates. All rights reserved. s ( to r a e ah cens w li Ja. Sa. Oracle Service Bus 11g: Design and Integrate Services 2 - 26.

(47) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Oracle Service Bus. Service. Service. Service. Service. Oracle Service Bus. e. bl a r e nsf. a. tr n no. Sa. aApplication s a ) h deฺ m i o c u ฺ G e itt ent o l de Stud @ har this a w use a j Copyright © 2012, Oracle and/or its affiliates. All rights reserved. s ( to r a e ah cens w li Bus (ESB) supports dynamic synergy and alignment of business Ja Service An Enterprise a n da interactions, continual evolution of existing services, and rapid addition of new ones. nprocess Application. Application. Application. ESB is a concept that has gained the attention of architects and developers for its effective approach to solving common SOA hurdles associated with service orchestration, application data synchronization, and business activity monitoring.. Oracle Service Bus (OSB) is a configuration-based, policy-driven ESB. It provides a featurerich console for dynamic service and policy configuration, as well as for system monitoring and operations tasks. Oracle Service Bus facilitates a loosely coupled architecture, facilitates enterprise-wide reuse of services, and centralizes management—all of which results in an improved total cost of ownership. The Oracle Service Bus Console enables you to respond rapidly and effectively to changes in your service-oriented environment. With OSB, you can loosely couple the services in your enterprise to have a more flexible environment. The graphic in the slide depicts multiple services connected to multiple applications through Oracle Service Bus.. Oracle Service Bus 11g: Design and Integrate Services 2 - 27.

(48) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Key Features of Oracle Service Bus • • • • • • • •. Supports multiprotocol messaging Enables location transparency Handles dynamic routing Enables message transformation Enables service orchestration Supports message enrichment Provides service security Implements service-level agreements. e. bl a r e nsf. a. tr n no. a s a ) h deฺ m i o c u ฺ G e itt ent o l de Stud @ har this a w use a j Copyright © 2012, Oracle and/or its affiliates. All rights reserved. s ( to r a e ah cens w Ja Bus:li OracleaService n •a Dynamically transforms and routes services by using simple and complex routing rules and and message payloads. S. • • • • • • •. Orchestrates services from existing IT systems with disparate messaging protocols without the need to change the systems and styles Isolates service location changes Rapidly responds to business needs by quickly configuring routing rules based on changes to business rules or existing IT systems, without coding Orchestrates several services to create new ones Supports message enrichment Enables optimized, pluggable, policy-driven transport and message-level security Implements rules-driven, configurable service-level agreement (SLA). Each of these features is discussed in detail in the following slides.. Oracle Service Bus 11g: Design and Integrate Services 2 - 28.

(49) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Oracle Service Bus as a Message Broker OSB configurations can mix and match transports with end-to-end guaranteed delivery if the transport protocol supports it. Service Clients. Enterprise Services. Oracle Service Bus HTTP/SOAP. Client A JMS. Client B. Message brokering Multiprotocol Messaging. FTP. WS processing. Client C. WS-RM. Service A. TUX. MQ. S. a s a ) h deฺ m i o c u Client E ฺ G e itt ent o l de Stud @ har this a w use a j Copyright © 2012, Oracle and/or its affiliates. All rights reserved. s ( to r a e ah cens w li Ja multiprotocol OSB supports messaging by using: a n •a Hypertext Transmission Protocol, Secure (HTTPS) and REST. Client D. File. • • • • • • •. Multicommunications paradigms. e. bl a r Service B fe s n traC Service n no. EJB. Service D. JCA. Service E. Simple Object Access Protocol (SOAP) Java Message Service (JMS) for store-and-forward and third-party messaging products File/FTP/email (SMTP/POP/IMAP) Tuxedo Enterprise JavaBeans (EJB) Native MQ Oracle JCA Adapter for Files/FTP. Oracle Service Bus 11g: Design and Integrate Services 2 - 29.

(50) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. You can use Oracle Service Bus to resolve differences between service client and business service requirements in the following areas: • Payload contents and schema • Envelope protocols • Transport protocols • Point-to-point and publish-and-subscribe protocols • One-way and request-response paradigms • Synchronous and asynchronous communication • Security compliance The graphic in the slide shows OSB acting as a message broker using multiple transports.. e. a. bl a r e nsf. a n a nd. a s a ) h deฺ m i o c u ฺ G e itt ent o l de Stud @ har this a w use a j s ( to r a e ah cens w li Ja. tr n no. Sa. Oracle Service Bus 11g: Design and Integrate Services 2 - 30.

(51) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Location Transparency OSB can be used to isolate service location changes.. New-Hire Process. SOAP. Service Bus Route to HostB. SOAP. Host A Initialize Benefits Service. S. tra n Initialize no Benefits a s Service a h ) deฺ m i o c u ฺ G e itt ent o l de Stud @ har this a w use a j Copyright © 2012, Oracle and/or its affiliates. All rights reserved. s ( to r a e ah cens w li in the slide, several applications (including the New-Hire Process Ja shown In the example a n application) use an Initialize Benefits service hosted in Host A. All the traffic to this service is da anrouted through the service bus. Assume that for some technical or business requirement, the Host B. Initialize Benefits service is moved to a different host machine (Host B) with a different address. Because you have a service bus, you can avoid application upgrades by simply defining a new routing policy for the Initialize Benefits service. This approach allows the NewHire Process to remain completely unchanged.. Oracle Service Bus 11g: Design and Integrate Services 2 - 31. e. bl a r e nsf.

(52) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Dynamic Routing Dynamic routing involves defining and configuring business rules based on changes to business rules or existing IT systems. Service Bus. SOAP HR Portal. Title = Manager ?. SOAP Transform. tra n New no Manager. a Service s a ) h deฺ m i o c u ฺ G e itt ent o l de Stud @ har this a w use a j Copyright © 2012, Oracle and/or its affiliates. All rights reserved. s ( to r a e ah cens w li in the slide describes two services that exist in the HR Portal: one for Ja depicted The scenario a n onboarding new employees and a similar one for onboarding new employees who are also da anmanagers. Because these services are so similar, the architect team has decided that they. S. should be combined. To minimize any later maintenance and potential down time to the HR Portal, the architect team has defined an interim service bus policy, or rule, that simulates a combined Employee and Manager service. It dynamically routes requests to one of the current services by inspecting the title field of each incoming message. If the field contains the text manager, the request is routed to the New Manager service. Because the interfaces of these services are not identical, one or more transformations need to be defined.. Oracle Service Bus 11g: Design and Integrate Services 2 - 32. e. bl a r e nsf. New Employee Service.

(53) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Transformations Transform messages to match the format of a service.. Service Bus Expense Reimbursement Process. SOAP. Transform Transform. Inventory Management App. JMS. Transform. JMS. Payroll Service Submit Expense Report Service. SOAP. Check Order Status Service. a. tr n no. a s a ) h deฺ m i o c u ฺ G e itt ent o l de Stud @ har this a w use a j Copyright © 2012, Oracle and/or its affiliates. All rights reserved. s ( to r a e ah cens w li Ja with transformations, When a dealing OSB supports the following functionality: n •a Validating incoming messages against schemas and• Selecting a target service or services based on the message content or message. S. headers • Transforming messages based on the target service • Transforming messages based on XQuery or XSL Transformations (XSLT) • Transforming both XML and Message Format Language (MFL) messages • Enriching messages • Performing callouts to web services to gather additional data for transformation When a message comes to Oracle Service Bus, it can be manipulated in different ways. One of the most common uses with OSB is to route a service based on the content of a message. This is called content-based routing and uses XQuery and XPath to access the content of the message. You may also find that the format of the incoming message does not exactly match the format of the service that you want to use. In this instance, you can use OSB to transform the message and add or remove any missing message elements. The graphic in the slide shows the service bus applying transformations to messages before routing them to services.. Oracle Service Bus 11g: Design and Integrate Services 2 - 33. e. bl a r e nsf. FTP.

(54) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Service Orchestration Combining existing services to make new services:. Service Bus SOAP. 1. Account Validation Service. e. S. bl a r Check Price fe 3 2 Service ans tr n 4 Check noInventory a s Service a h ) deฺ m i o c u ฺ G e itt ent o l de Stud @ har this a w use a j Copyright © 2012, Oracle and/or its affiliates. All rights reserved. s ( to r a e ah cens w li depicts an IT infrastructure that includes the following three services: Jain the slide The graphic a n Account da Validation, Check Price, and Check Inventory. anAssume that you are currently in the process of upgrading your Purchase Order application, Purchase Order process. SOAP. Validate Order Service. which consumes each of these services individually as part of validating a new purchase order. You realize that the Purchase Order application and several others all utilize these three services, which leads to an opportunity for reuse. Because you have a service bus, you can configure a sequence of routing and transformation policies to create a new composite Validate Order service for the Purchase Order application. This service can also be consumed by other applications.. Oracle Service Bus 11g: Design and Integrate Services 2 - 34.

(55) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Message Enrichment Oracle Service Bus enables message enrichment by inserting additional required information into an incoming message. ... <Customer History> .... e. bl a r e nsf. Service Bus Insurance Portal. Call Service. Transform Message. a. Rate Quote Service. tr n no. S. a s a ) h deฺ m i o GetuCustomer c ฺ G e itt entHistory Service o l de Stud @ har this a w use a j Copyright © 2012, Oracle and/or its affiliates. All rights reserved. s ( to r a e ah cens w li shows the service bus obtaining customer history from the Get Jain the slide The graphic a n Customer History service and adding the customer history to the message that goes to the da anRate Quote service. This involves configuring a service bus policy to invoke this intermediate service as part of any request to the Rate Quote service, and then using a transformation to update (or enrich) the incoming request message with the required customer history data.. Oracle Service Bus 11g: Design and Integrate Services 2 - 35.

(56) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Security Security with OSB includes support for the following: • Authentication, encryption and decryption, and digital signatures as defined in the Web Services Security (WSSecurity) specification • Secure sockets layer (SSL) to support traditional transport-level security for HTTP and Java Message le b Service (JMS) transport protocols a er f s • One-way and two-way certificate-based authentication an r t on • HTTP basic authentication n a • WS-Policy and WS-PolicyAssertions has. S. ) deฺ m i o c u ฺ G e itt ent o l de Stud @ har this a w use a j Copyright © 2012, Oracle and/or its affiliates. All rights reserved. s ( to r a e ah cens w i Ja Bus lsupports OracleaService HTTPS proxy services and HTTPS business services. HTTPS n proxy da services receive client requests over the HTTPS protocol. The response to the client is ansent over the same HTTPS connection. Proxy services route messages to HTTPS business. services over the HTTPS protocol. In this case, the proxy service acts as an HTTPS client by opening an HTTPS connection to the business service. The response from the business service is received over the same HTTPS connection. You can configure Oracle Service Bus to provide transport security over JMS for inbound messages to a proxy service and outbound messages from a proxy service. The connection to JMS servers can be secured by using the T3S protocol (T3 over SSL). Although this does not provide end-to-end security for JMS messaging, it does provide: • The option to use a secure SSL channel for communication between Oracle Service Bus and the JMS server for sending or receiving JMS messages • The ability to specify the credentials (username and password) that the Oracle Service Bus proxy services use to authenticate while establishing the connection to a JMS server, or while looking up JMS destinations in the Java Naming and Directory Interface (JNDI) tree, or both. Oracle Service Bus 11g: Design and Integrate Services 2 - 36.

(57) The supported security method for email or FTP transport is the username and password needed to connect to the email or FTP server.. Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. You configure WS transport security through WS-Policy files, either from a Web Services Description Language (WSDL) or bound directly to the service. To secure email, you must designate a service account as an alias for the username and password in the Oracle Service Bus Console. The service uses the username and password to authenticate to the Simple Mail Transfer Protocol (SMTP) server. To secure FTP, select external_user in the Oracle Service Bus Console and designate a service account as an alias for the username and password. The service uses the username and password to authenticate to the FTP server. WS-Policy is a specification that enables web services to use XML to advertise their policies (on security, quality of service, and so on) and enables web service consumers to specify their policy requirements.. a. a n a nd. a s a ) h deฺ m i o c u ฺ G e itt ent o l de Stud @ har this a w use a j s ( to r a e ah cens w li Ja. tr n no. Sa. Oracle Service Bus 11g: Design and Integrate Services 2 - 37. e. bl a r e nsf. WS-PolicyAssertions is a specification that defines a common set of policy assertions for web services. The assertions defined by this specification cover text encoding, natural language support, versioning of specifications, and predicates..

(58) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. Service-Level Agreements • • •. Service-level agreements (SLAs) define the precise level and quality of service to be expected from services. Administrators can configure alerts for SLA rule violations. The administrator can configure multiple levels of severity for an alert.. e. bl a r e nsf. a. tr n no. S. a s a ) h deฺ m i o c u ฺ G e itt ent o l de Stud @ har this a w use a j Copyright © 2012, Oracle and/or its affiliates. All rights reserved. s ( to r a e ah cens w i Ja Bus limplements OracleaService service-level agreements (SLAs) and automated responses n to daSLA violations by enabling you to define rules that specify unacceptable service anperformance and the system response that you require under those circumstances. You can construct rules that Oracle Service Bus evaluates against its aggregated metrics each time it updates that data. When a rule evaluates to TRUE, it raises an alert. Rules can be configured to generate an alert log that is displayed on the dashboard. In addition, Oracle Service Bus executes the action you specified for the rule when it evaluates to TRUE. You can assign either of the following types of actions to a rule: • Send email notification • Send a JMS message. Oracle Service Bus 11g: Design and Integrate Services 2 - 38.

(59) Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. OSB Architecture and Functional Features. IT Manager: Okay, I now understand the basic features of Oracle Service Bus. Can you give a snapshot view of its architecture and core functional features?. e. Architect: Sure.. a n a nd. a s a ) h deฺ m i o c u ฺ G e itt ent o l de Stud @ har this a w use a j Copyright © 2012, Oracle and/or its affiliates. All rights reserved. s ( to r a e ah cens w li Ja. tr n no. a. Sa. Oracle Service Bus 11g: Design and Integrate Services 2 - 39. bl a r e nsf.

(60) SOA Operations. Oracle Service Bus SOA Infrastructure. Service Architects. Eclipse. Unauthorized reproduction or distribution prohibitedฺ Copyright© 2013, Oracle and/or its affiliatesฺ. OSB Architecture. Oracle WebLogic Server. a. tr n no. Scalable, robust, and flexible Java EE Infrastructure. S. a ) hHigh-performance eฺ m Eclipse-based IDE JVM d i o c u ฺ itte ent G o l de Stud @ har this a w use a j Copyright © 2012, Oracle and/or its affiliates. All rights reserved. s ( to r a e ah cens w Ja Bus lisi Oracle’s answer to the challenges that face distributed service OracleaService n networks, including the ones just described. It provides your enterprise with a scalable and da anadaptable mediation layer for your service infrastructure. Service Engineers. Oracle JRockit JDK as. It is important to note that OSB leverages Oracle’s popular WebLogic enterprise infrastructure as its hosting platform. This includes the high-performance JRockit Java Virtual Machine (JVM) as well as WebLogic Server, the powerful Java Platform, Enterprise Edition (Java EE) environment. In effect, OSB runs as a layer on top of WebLogic Server and can, therefore, gain many advantages, from clustering to diagnostics. This release supports WebLogic Server 10.3.. Oracle Service Bus 11g: Design and Integrate Services 2 - 40. e. bl a r e nsf.

References

Related documents

time of chemical-physical, mechanical and hydraulic properties of seven different types of geomembranes, different samples of HDPE, PVC, PVC-P, CHD, MP-G and

After analyzing yield data with soil EC and TWI on a full-field scale and site data from the 2013 growing season including soil moisture conditions and soil properties it

Ciibsaa: Maccaa Oromo Indigenous Soil Fertilizing Mechanism in East Wallagga Zone, Ethiopia 187 The other taboo or restriction in relation to cattle is when anybody meets the

Trait procrastination was overall related to avoiding thoughts about how things could have been better (making more downward and relatively fewer upward counterfactuals) in

Our construction of unobfuscatable pseudorandom function ensembles can be used to show that this approach would fail in the following sense: For many natural protocols that are

Our representation theorem shows that certain partial orders, induced by sets of qualitative statements of conditional preference and conditional relative importance, can be

Imaging settings include EcoPrint, Gloss Mode, Color Mode, Print Grays with Black Toner, Halftone Screen, Color Reproduction, Color Conversion, Trapping, and CIE

Information regarding the intraday value of shares of the Fund, also known as the “indicative optimized portfolio value” (“IOPV”), is disseminated every 15 seconds throughout