Getting started with oracle soa suite 11g r1 a hands-on tutorial docx

491 3.4K 1
Getting started with oracle soa suite 11g r1 a hands-on tutorial docx

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Getting Started with Oracle SOA Suite 11g R1 – A Hands-On Tutorial Fast track your SOA adoption—Build a service-oriented composite application in just hours! Heidi Buelow Manas Deb Jayaram Kasi Demed L'Her Prasen Palvankar BIRMINGHAM - MUMBAI This material is copyright and is licensed for the sole use by Vadim Kudria on 4th October 2009 6352 108th St, , Forest Hills, , 11375 Getting Started with Oracle SOA Suite 11g R1 – A Hands-On Tutorial Copyright © 2009 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the authors, nor Packt Publishing and its dealers and distributors, will be held liable for any damages caused or alleged to be caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. First published: September 2009 Production Reference: 1230909 Published by Packt Publishing Ltd. 32 Lincoln Road Olton Birmingham, B27 6PA, UK. ISBN 978-1-847199-78-2 www.packtpub.com Cover Image by Parag Kadam (paragvkadam@gmail.com) This material is copyright and is licensed for the sole use by Vadim Kudria on 4th October 2009 6352 108th St, , Forest Hills, , 11375 Download at WoweBook.Com Credits Authors Heidi Buelow Manas Deb Jayaram Kasi Demed L'Her Prasen Palvankar Acquisition Editor James Lumsden Technical Editor Aanchal Kumar Indexer Hemangini Bari Editorial Team Leader Abhijeet Deobhakta Proofreader Chris Smith Graphics Nilesh Mohite Production Coordinator Dolly Dasilva Cover Work Dolly Dasilva This material is copyright and is licensed for the sole use by Vadim Kudria on 4th October 2009 6352 108th St, , Forest Hills, , 11375 Download at WoweBook.Com This material is copyright and is licensed for the sole use by Vadim Kudria on 4th October 2009 6352 108th St, , Forest Hills, , 11375 Download at WoweBook.Com Foreword On July 1, 2009 Oracle announced the 11gR1 release of Fusion Middleware of which SOA Suite is a key part. Service-oriented architecture (SOA), business process management (BPM), event-driven architecture (EDA), and related technologies are at the heart of modern enterprise software solutions aimed at providing greater business agility and adaptability. So far SOA and BPM enabling tools have focused mainly on modularizing applications and IT functionalities using services encapsulation, leaving a major gap when it comes to composing real-life business applications from them and managing their entire life cycle. SOA Suite 11g lls this gap in the context of services, processes, and events, as does the entire Fusion Middleware platform in a broader middleware context. With Fusion Middleware 11g release, Oracle continues to extend the guiding principles behind its Fusion products: complete, integrated, open, and best-of-breed. Specically, for SOA Suite 11g this amounts to a unied platform with all the tools that are necessary to work with services, processes, and events, from conception through development and deployment to operational and change management so as to provide very high developer productivity and operational ease. This also means that all SOA Suite components continue to be based on industry standards, remain hot-pluggable to provide best-in-the-industry interoperability in heterogeneous technology environments, and while the SOA Suite components are well integrated, each of them continues to lead the market in its features and performance. Keeping the goal of enablement of business excellence in mind, SOA Suite 11g has been designed to help produce business applications quickly and run them efciently, adapt these applications easily when business changes demand, manage and monitor these applications, and drastically reduce the gaps in business-IT interactions. This material is copyright and is licensed for the sole use by Vadim Kudria on 4th October 2009 6352 108th St, , Forest Hills, , 11375 Download at WoweBook.Com BPM, SOA, and integration solutions involve connection to applications, services, system-level automation, human workows, document-processing workows, business rules, and B2B. They also involve security policies, exception handling, and mediation of service requests. These applications are often deployed as distributed applications. To get the maximum productivity and value from these integration solution projects, in addition to a good product, you need a good understanding of the applicable software tools. To help you in understanding the tools better, the SOA Suite product management team has put together this getting-started tutorial. The authors have had rst-hand experience in creating, delivering, and rolling-out SOA Suite 11gR1 training programs internally and externally to partners and customers. This book takes a divide-and-conquer approach and builds up a non-trivial service-oriented composite application in a step-by-step fashion so that it is easy for the reader to follow and appreciate the workings of the SOA Suite product. If your goal is to exploit SOA and related paradigms to deliver business value quickly, this book will put you on the right track. SOA Suite 11g is a result of a lot of careful design and hard work by one of the best software product teams in the industry. It is a best-in-class product and I hope that you will enjoy working with it. Amlan Debnath Senior Vice President, Product Development Oracle Corporation This material is copyright and is licensed for the sole use by Vadim Kudria on 4th October 2009 6352 108th St, , Forest Hills, , 11375 Download at WoweBook.Com About the Authors Heidi Buelow is a product manager with Oracle and is responsible for Oracle SOA Suite programs such as beta and technical previews. Heidi joined Oracle in 2006, after having spent the previous 10 years as Chief Application Architect with a startup developing a Business Process Management engine, developer toolset, and application framework. Heidi started her career as a software developer at Xerox, working on the Xerox Network Services and Star Workstation products where she rst learned to appreciate object-oriented and services-oriented technologies. She holds a Bachelor of Science degree in Computer Science from the University of Southern California. Manas Deb is a senior director in the Fusion Middleware/SOA, BPM, Governance Suites Product Group at Oracle HQ. He currently leads outbound product management and many strategic engagement initiatives for Oracle's SOA, BPM, and Governance solutions, worldwide. He is also responsible for Oracle/HQ-based SOA Methodology initiatives. Manas has worked in the software industry for over twenty years, most of which was spent in software product management/marketing and on architecting; he has also led a wide variety of enterprise-level application development and business integration projects in a wide variety of industries. A graduate of the Indian Institute of Technology (KGP), Manas attended post-graduate studies at the University of Texas at Austin. He received his PhD in an inter-disciplinary program comprising Computer Science, Applied Mathematics, and Engineering. Manas also has an MBA with specialization in international business. This material is copyright and is licensed for the sole use by Vadim Kudria on 4th October 2009 6352 108th St, , Forest Hills, , 11375 Download at WoweBook.Com Jayaram Kasi is a product manager with Oracle, and focuses on SOA technologies. Before that, he had been a software architect for 20 years working on relational database kernels at HP, OLTP monitors based on DCE at HP, High Availability at HP, ECommerce Infrastructure at Commerce One, and Enterprise Service Bus at BEA. Jayaram has a Bachelor of Science degree in electrical engineering from the Indian Institute of Technology, and a Master of Science in electrical engineering from the University of Hawaii. Demed L'Her is Director of Product Management at Oracle, where he is responsible for the Oracle SOA Suite. He has been with Oracle since 2006, focusing on ESB, JMS, and next-generation SOA platforms. Before joining Oracle, Demed spent eight years with TIBCO Software, a pioneer in electronic trading, message-oriented middleware, and enterprise integration. He has been involved in some of the largest messaging and integration projects around the world, from trading oors in Tokyo to semiconductor manufacturing fabs in Arizona. Demed holds an Engineering Degree from the Ecole Nationale Supérieure des Télécommunications de Bretagne, a Bachelor of Science in Electrical Engineering from Université de Bretagne Occidentale and a Master of Science in Computer Science from Université de Rennes I. Prasen Palvankar is a Director of Product Management at Oracle and is responsible for providing strategic support to Oracle's SOA Suite current and prospective customers. He is also responsible for outbound SOA Suite product-related activities, including eld and partner enablement and training. Prasen has over 20 years of experience in software development and has been working for Oracle since 1998. He was a Technical Director in the Advanced Technology Solutions group at Oracle Consulting, delivering large-scale integration projects before taking on his current role four years ago. Before joining Oracle, Prasen worked as a Principal Software Engineer at Digital Equipment Corporation. This material is copyright and is licensed for the sole use by Vadim Kudria on 4th October 2009 6352 108th St, , Forest Hills, , 11375 Download at WoweBook.Com Acknowledgment The authors would like to thank the Oracle SOA Suite 11g development and product management teams, and the leadership team of David Shaffer, Amlan Debnath, Hasan Rizvi, and Thomas Kurian for their vision, strategy, and creation of the industry-leading SOA and process-enabling software suite that was used in this book. The work presented here has substantially beneted from the input and feedback of many, including members of the business integration software product management group, nearly a thousand training attendees within and outside of Oracle, and the instructors who delivered the training to them. We would like to mention specically the direct contributions of Deb Ayers, Jeff Hutchins, Mihai Munteanu, and Lloyd Williams who provided some of the lab content. In addition, we would like to thankfully acknowledge the help received from Sheila Cepero and Todd Adler in handling all the necessary legal steps within Oracle associated with the publishing of this book. The publishing team at Packt Publishing was wonderful to work with—the enthusiasm, promptness, and guidance of James Lumsden and Aanchal Kumar throughout the evolution of this book are particularly worthy of mention. And, nally, we would expressly like to thank our families for their love and support as we took on the challenge of putting this book together on top of our already very busy schedules and borrowed heavily from the invaluable family time. This material is copyright and is licensed for the sole use by Vadim Kudria on 4th October 2009 6352 108th St, , Forest Hills, , 11375 Download at WoweBook.Com This material is copyright and is licensed for the sole use by Vadim Kudria on 4th October 2009 6352 108th St, , Forest Hills, , 11375 Download at WoweBook.Com [...]... around a tutorial that is built in an iterative fashion, will guide you through all the components of the suite and how they relate to each other The authors are part of the Oracle SOA Suite product management team, and the idea of the book came as we were delivering an earlier version of this material, as an accelerated internal training at Oracle before the product was even released These training... very well received and we decided it was worth sharing this material with a larger audience This book is not meant to be used as reference material—it is an accelerated learning path to the Oracle SOA Suite The focus is on breadth rather than on depth More specifically, we wanted to highlight the key capabilities and role of each product in the Oracle SOA Suite and explain how they can be put to work... as a service, then this composite application becomes subject to the above set of disciplines The ability of an organization to follow SOA disciplines routinely depends on the SOA maturity of the organization Based on its business needs, and by following a suitable SOA maturity model, an organization can create an SOA adoption roadmap to attain higher SOA maturity over a period of time [ 13 ] Download... implement and best leverage SOA • Organizational architecture: The organization roles, responsibilities, and governance as they pertain to SOA- related activities For a successful SOA adoption, you need to attend to each of the above aspects, which are not all technology related This is the reason why you may hear remarks like "SOA is not only technology" or "You cannot buy SOA off-the-shelf" While we acknowledge... essential aspects of SOA in a refresher style so as to provide you with a reasonable context Much of the content in this chapter will serve as general background information on SOA and can be useful for overall practice of SOA In what is to follow, we touch upon what SOA and its essential constituent services are, and why one should one even bother about SOA We recount how the basics of SOA have evolved and...Thank you for purchasing this Oracle SOA Suite 11g R1 tutorial New versions of SOA Suite 11g are in the pipeline, and due for release in the foreseeable future Accordingly, Packt would like to offer you complimentary eBook upgrades for the R2 and R3 editions of this tutorial Packt eBooks come in PDF format, can be printed, and are now copy-paste enabled To qualify for this offer, please email oracle@ packtpub.com... composite that you can deploy, test, run, monitor, and manage Chapter 1 starts the book off with a quick refresher on some of the useful concepts regarding SOA and services and concludes with an introduction to Service Component Architecture (SCA) Chapter 2 discusses the key challenges in the technical implementation of SOA- based applications and how Oracle SOA Suite 11g leverages SCA principles to address... to create a process that orchestrates the overall flow, adding human interaction, creating conditional process execution using business rules, and accessing external services via a JMS (Java Message Service) adapter At the end of each and every chapter, you will have a composite that can be deployed, run, and tested You are advised to go through these tutorial chapters, 5-10 in a sequential manner... System Access Data Aggregation Data Synchronization Adapters Data Access Data Access IT Infrastructure for SOA Atomic Business Services SOA Governance Business Activity Services SOA Security System & Human Centric Processes SOA Management Business Process Rationalization Service Mediation & Messaging Shared Business Processes Connectivity Services Shared Services Business Processes Shared Portlets Business... computing paradigm and has become a key ingredient of modern business applications and IT infrastructure Now accepted quite widely by user communities and heavily backed by major software vendors such as Oracle, IBM, SAP, and Microsoft, SOA tools and practices are maturing fast Since this book is focused on teaching how to use a SOA- enabling tool set, and not on deep exploration of SOA philosophies and methodologies, . Getting Started with Oracle SOA Suite 11g R1 – A Hands-On Tutorial Fast track your SOA adoption—Build a service-oriented composite application. Buelow Manas Deb Jayaram Kasi Demed L'Her Prasen Palvankar Acquisition Editor James Lumsden Technical Editor Aanchal Kumar Indexer Hemangini Bari Editorial

Ngày đăng: 14/03/2014, 13:20

Từ khóa liên quan

Mục lục

  • Cover

  • Table of Contents

  • Preface

  • Chapter 1: SOA and Its Evolution

    • SOA and services—what and why

    • SOA—past, present, and future

    • Composition, SCA, and service platform

    • Summary

  • Chapter 2: Product Architecture

    • Oracle SOA Suite 11g: Release drivers

    • Challenges solved by Oracle SOA Suite 11g

      • Simplifying the design-time environment

        • Composite Editor to assemble heterogeneous technologies

        • Streamlining life cycle management

        • Metadata Storage (MDS) for tighter control and governance

        • Event-Delivery Network (EDN) to reconcile Event-Driven and Service-Oriented Architectures

      • Unifying runtimes for performance and simplified deployment

        • Removing inefficiencies through the Service Infrastructure

        • Eliminating redundancies by sharing components

        • Simplifying installation and deployment

      • Increasing visibility and streamlining management

        • Enterprise Manager for end-to-end monitoring

        • Global, policy-driven security

        • Exception handling

    • Summary of the Oracle SOA Suite 11g components

  • Chapter 3: The Tutorial Project: Purchase Order Processing

    • Structure of the tutorial

    • Tutorial scenario

    • Overview of the tutorial chapters

    • Tutorial files

    • Documentation

  • Chapter 4: Product Installation

    • Checking your installation

    • What you will need and where to get it

      • Memory and Disk Space requirements

      • Downloading files

      • Checking your database

      • Check your browser

      • Check your JDK

    • Installing Admin Server and Managed Servers

      • Installing WebLogic Server

      • Dropping the existing schema

      • Configuring schema

      • Installing SOA

      • Create Domain

    • Installing JDeveloper and SOA Composite Editor

    • Installing JDeveloper

      • Updating JDeveloper with latest SOA

    • Additional actions

      • Setting memory limits

      • Starting and stopping

        • Starting

        • Console URLs

        • Stopping servers

      • WebLogic Server console settings

      • EM settings for development

      • If you need to uninstall JDeveloper and servers

    • Configuration

      • Installing the database schema

      • Creating the JMS resources

      • Creating the database resource

    • Testing your installation

      • Oracle Service Bus installation

      • Testing your OSB installation

      • Removing samples (optional)

      • Uninstalling OSB

      • Summary

  • Chapter 5: Basic components: Web Services Binding, Mediator, and Database Adapter

    • Introducing the basic components

    • Tutorial: Building the credit card validation service

      • Overview

      • Designing the flow

        • Creating a new application and project

        • Adding the Database Adapter

        • Adding the Mediator component

        • Adding the Web Service binding

        • Adding a transformation to the Mediator component

      • Deploying and testing the composite application

        • Creating a server connection in JDeveloper

        • Deploying Composites to the Application Server

        • Testing your composite using Enterprise Manager

    • Summary

    • Quick-build instructions

  • Chapter 6: Accessing Files Using the File Adapter

    • Introducing the File Adapter

    • Tutorial: Building the purchase order routing service

      • Designing the flow

        • Creating a new application

        • Adding the service interface

        • Adding the routing component

        • Adding the File Adapter

        • Wiring the components together and adding a transformation

        • Deploying the application

        • Testing the application

      • Summary

      • Quick-build Instructions

  • Chapter 7: Creating Processes Using Business Process Execution Language (BPEL)

    • Introducing BPEL

      • Long-running services

      • BPEL language

      • BPEL Editor

    • Tutorial: Orchestration of credit card validation service in POProcessing

      • Designing the flow

      • Invoking the CreditCardStatus service

      • Designing the BPEL approval process

      • Modifying the Mediator component

      • Deploying the application

      • Testing the application

      • Modifying the application for small orders

    • Summary

    • Quick-build Instructions

  • Chapter 8: Creating Human Tasks

    • Introducing the Human Task component

      • Functional details

        • Human Workflow Service

        • Worklist application

    • Tutorial: Adding Manual Approval in PO Processing

      • Designing the flow

      • Adding a Human Task to the composite

      • Calling the Human Task from BPEL

      • Creating the task form for task details

      • Deploying and testing the application

    • Summary

      • Quick-build Instructions

  • Chapter 9: Business Rules

    • Introducing Business Rules decision service

      • Rules design

    • Tutorial: Adding an approval rule using the decision service in POProcessing

      • Designing the flow

      • Adding a Business Rule to POProcessing

      • Deploying POProcessing composite

      • Running the application

      • Quick-build instructions

    • Introducing Business Rules decision table

      • Designing the flow

      • Adding a BPEL Process and a Business Rule

      • Defining the Business Rule

      • Defining the BPEL process

      • Invoking FulfillmentProcess

      • Deploying the application

      • Testing the application

      • Quick-build Instructions

    • Summary

  • Chapter 10: Using the JMS Adapter

    • Introducing the JMS Adapter

      • WebLogic JMS

      • JMS Adapter

    • Tutorial: Orchestration of JMS services in the fulfillment process

      • Adding the JMS adapters to the composite

      • Invoking the services from BPEL

      • Deploying the application

      • Testing the application

    • Summary

      • Quick-build Instructions

  • Chapter 11: Reusing and Virtualizing Services with Oracle Service Bus

    • Introducing Oracle Service Bus

      • What are the types of changes that OSB can absorb?

      • Who are the users?

      • OSB terminology: Business services and proxies

      • What about governance and discovery?

      • OSB for Financial Services

    • Tutorial: Virtualization of services

      • Designing the flow

      • Creating project and import resources

      • Configuring Business Service

      • Configuring the Proxy

      • Configuring Message Flow

      • Re-wiring POProcessing composite

      • Testing the end-to-end application

    • Summary

    • Quick-build Instructions

  • Chapter 12: Exploring Application Life Cycle Management

    • Introducing life cycle management features

    • Tutorial: Solution deployment

      • Development environment approach

        • Surfacing binding properties at the composite level

        • Generating and modifying a configuration plan

      • Test environment approach

        • Compiling and packaging from the command line with ANT

        • Deploying from the command line with ANT

      • Production environment approach

        • Deploying from Enterprise Manager

    • Summary

      • Quick-build Instructions

  • Chapter 13: Unit-testing the Composite Application

    • Introducing the built-in testing framework

    • Tutorial: Automated unit testing

      • Creating the unit test

      • Setting the inbound message

      • Setting the simulated message

      • Setting the assertion for success

      • Set the assertion for failure

      • Testing the application

    • Summary

    • Quick-build instructions

  • Chapter 14: Adding Exception Handling

    • Introducing exception handling

      • System faults

      • Business faults

      • Exception handling in Oracle SOA Suite 11g

      • Exception-handling strategies

      • Policy-based fault-handling framework

        • Defining a policy

        • Binding a policy

    • Tutorial: Fault handling and fault policies

      • Handling remote faults

      • Testing service unavailability

      • Creating a fault policy

      • Handling exceptions in BPEL

      • Using a custom Java fault handler

      • Handling Mediator faults

    • Summary

    • Quick-build Instructions

  • Chapter 15 : Securing Services

    • Introducing security policy management

      • Securing your composites using Oracle Web Services Manager

      • Identity management

      • Use SSL

      • A quick look at the policy management UI

    • Tutorial: Securing the credit card validation service

      • Defining a new user

      • Attaching the policies

      • Detaching policies

      • Attaching and detaching policies in JDeveloper

    • Summary

      • Quick-build Instructions

  • Chapter 16: Gaining Visibility into Your Process Activities

    • Introducing Business Activity Monitoring (BAM)

      • Oracle BAM Server

      • Oracle BAM Web Application

    • Tutorial: Monitoring Business Activity in PO Processing

      • Defining the data object

      • Defining the BAM dashboard

      • Configuring BAM Adapter on Weblogic Server

      • Adding a BAM connection to POProcessing

      • Adding a BAM Adapter to POProcessing

      • Modifying the Mediator component

      • Testing the adapter connection

      • Adding BAM sensors to the BPEL process

      • Deploying and running the composite

    • Summary

      • Quick-build Instructions

  • Chapter 17: Event Delivery Network

    • Introducing events

      • Creating and managing event definitions

      • Consuming events from the Event Delivery Network

    • Tutorial: Use of Event Delivery Network (EDN) and POProcessing

      • Modifying the composite to consume events

        • Defining the event

        • Subscribing to the NewPO event

        • Deploying and testing

    • Summary

      • Quick-build Instructions

  • Chapter 18: Data Handling with Service Data Objects (SDO)

    • Introduction to Service Data Objects

      • Key components

        • Oracle SOA Suite 11g SDO Support

    • Tutorial: Using a Service Data Object

      • Preparing for the lab

      • Creating the ADF Business Component service

        • ADF Business Components, a quick primer

        • Creating an ADF-BC application

        • Creating the Business Components

        • Testing the application module

        • Creating the service interface

        • Deploying the service

        • Testing the Customer SDO service

        • Using the new ADF-BC Service in the POProcessing composite

    • Summary

    • Quick-build Instructions

  • Chapter 19: Connecting to Trading Partners (B2B)

    • Introducing B2B integration

      • B2B characteristics

      • Oracle B2B

      • Composites and B2B

      • Document management

        • Challenges due to evolving standards

        • EDI is not XML

      • Trading partner profiles and agreement

    • Tutorial: Triggering POProcessing using B2B transactions

      • Defining the B2B configuration

        • Creating a document definition

        • Defining the trading partners

        • Creating a listening channel

        • Creating an agreement

      • Creating the composite: B2Bprocessing

      • Testing the process

    • Summary

      • Quick-build Instructions

  • Chapter 20 : Concluding Remarks

  • Index

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan