1. Trang chủ
  2. » Công Nghệ Thông Tin

Oracle SOA Suite 11g Developer''''s Cookbook pot

346 947 1

Đ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

Thông tin cơ bản

Định dạng
Số trang 346
Dung lượng 9,05 MB

Nội dung

www.it-ebooks.info Oracle SOA Suite 11g Developer's Cookbook Over 65 high-level recipes for extending your Oracle SOA applications and enhancing your skills with expert tips and tricks for developers Antony Reynolds Matt Wright BIRMINGHAM - MUMBAI www.it-ebooks.info Oracle SOA Suite 11g Developer's Cookbook Copyright © 2012 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: December 2012 Production Reference: 1191212 Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK. ISBN 978-1-84968-388-3 www.packtpub.com Cover Image by Artie Ng (artherng@yahoo.com.au) www.it-ebooks.info Credits Authors Antony Reynolds Matt Wright Contributors James Goddard Adrian Lewis Brett Lomas ShuXuan Nie Geoff Trench Reviewers Edwin Biemond Phil McLaughlin Acquisition Editor Stephanie Moss Lead Technical Editor Susmita Panda Technical Editors Veronica Fernandes Worrell Lewis Copy Editors Insiya Morbiwala Brandt D'Mello Alda Paiva Project Coordinator Leena Purkait Proofreader Linda Morris Indexer Hemangini Bari Graphics Aditi Gajjar Production Coordinator Nilesh R. Mohite Cover Work Nilesh R. Mohite www.it-ebooks.info About the Authors Antony Reynolds has worked in the IT industry for more than 25 years, rst getting a job to maintain yield calculations for a zinc smelter while still an undergraduate. After graduating from the University of Bristol with a degree in Mathematics and Computer Science, he worked rst for a software house, IPL in Bath, England, before joining the travel reservations system Galileo as a development team lead. Galileo gave him the opportunity to work in Colorado and Illinois where he developed a love for the Rockies and Chicago style deep pan pizza. Since joining Oracle in 1998, he has worked in sales consulting and support. He currently works as a Sales Consultant helping customers across North America realize the benets of standards based integration and SOA. While at Oracle he has co-authored Oracle SOA Suite Developer's Guide, Packt Publishing and Oracle SOA Suite 11g R1 Developer's Guide, Packt Publishing. Antony lives in Colorado with his wife and four children who make sure that he is gainfully employed playing games, watching movies, and acting as an auxiliary taxi service. He is a slow but steady runner and can often be seen jogging up and down the trails in the shadow of the Rocky Mountains. I would like to thank my wife Rowan, and my four very patient children, who have put up with my staying at home on family trips and working late nights in my basement ofce as I completed this book. My managers Ed Lee and Troy Hewitt were very supportive and many of my colleagues contributed knowingly or unknowingly to the recipes. I am appreciative of Michael Weingartner and his team for their continued enhancement and development of the SOA Suite which has enabled Matt and myself to write this book. The reviewers provided valuable guidance and corrections and any errors still remaining are entirely mine. Finally, the team at Packt Publishing constantly nagged and cajoled Matt and myself to keep some sort of schedule. Without them this book would still be on the drawing board. www.it-ebooks.info Matt Wright is a director at Rubicon Red, an independent consulting rm helping customers enable enterprise agility and operational excellence through the adoption of technologies such as Service-Oriented Architecture (SOA), Business Process Management (BPM), and Cloud Computing. With over 20 years of experience in building enterprise scale distributed systems, Matt rst became involved with SOA shortly after the initial submission of SOAP 1.1 to the W3C in 2000, and has worked with some of the early adopters of BPEL since its initial release in 2002. Since then, he has been engaged in some of the earliest SOA-based implementations across EMEA and APAC. Prior to Rubicon Red, he held various senior roles within Oracle, most recently as Director of Product Management for Oracle Fusion Middleware in APAC, where he was responsible for working with organizations to educate and enable them in realizing the full business benets of SOA in solving complex business problems. As a recognized authority on SOA, he is a regular speaker and instructor at private and public events. He also enjoys writing and publishes his own blog (http://blogs.bpel-people. com ). He holds a B.Sc. (Eng) in Computer Science from Imperial College, University of London. He has worked on Oracle SOA Suite Developer's Guide, Packt Publishing and Oracle SOA Suite 11g R1 Developer's Guide, Packt Publishing. I would like to express my deep appreciation to everyone who has reviewed this book. Their invaluable feedback and advice not only helped to validate the overall accuracy of the content, but more importantly ensure its clarity and readability. A book like this doesn't make it into print without a lot of work from the publisher. I would like to thank the team at Packt Publishing for all their support; especially Stephanie Moss, Leena Purkait, and Susmita Panda. A special mention must go to John Deeb for his continual encouragement, input, and above all support in ensuring that I found time to write the book; I couldn't ask for a more supportive friend and business partner. Finally, I would like to say a very, very special thank you to my wife Natasha and my children Elliot and Kimberley, who have been incredibly patient and supportive in allowing me to spend far too many evenings and weekends stuck away in my ofce writing this book. www.it-ebooks.info Contributors The creation of the content for this book has been very much a team effort, with many contributions from the great team at Rubicon Red. In particular I would like to thank James Goddard, Adrian Lewis, Brett Lomas, ShuXuan Nie, and Geoff Trench, each one of whom contributed ideas and recipes to the book. James Goddard is a software developer with 10 years of experience in IT, initially within the telecommunication and utility industries in Melbourne, Australia. He specialised in system integration design and development using Oracle Middleware before joining Rubicon Red as a Consulting Architect in 2010. As a member of an energetic and innovative team of Oracle experts, James was able to advise and contribute to SOA initiatives at a variety of organisations around Australia. He currently holds a position within Amazon Kindle, building highly scalable web services for Amazon's digital product offerings in Seattle, WA. Adrian Lewis is an SOA & Integration Solution Architect for Rubicon Red in Australia. He is currently responsible for delivering a BPM and SOA solution for a Victorian state government ofce using an implementation of Rubicon Red's FMW reference architecture. Adrian spent the previous 5 years working as a Principal Consultant for Red Rock, delivering SOA, Human Workow, and integration solutions in Victoria and Queensland. Adrian holds a BEng(Hons) in Cybernetics and Control Engineering from the University of Reading in England. www.it-ebooks.info Brett Lomas has been working in the IT industry for over 10 years in an ever varying capacity. He is known for his passion for IT and how it can transform businesses when used effectively. In his spare time he likes to use his pilot’s license to explore Australia. Brett has recently worked for Oracle in the capacity of a Solution Architect , helping partners gain the most value out of Oracle's Middleware stack. Most recently Brett is employed as an SOA and BPM practitioner for Rubicon Red working with key customers throughout Australia and New Zealand. ShuXuan Nie has more than 10 years of experience in the IT industry that includes SOA technologies such as BPEL, ESB, SOAP, XML, and Enterprise Java technologies, Eclipse plug-ins, and other areas such as C++ cross-platform development. Since 2010, she has been working in Rubicon Red and helping customers resolve integration issues. Prior to Rubicon Red, she has worked for Oracle Global Customer Support team, IBM China Software Development Lab, and the Australia Bureau of Meteorology Research Center where she was responsible for the implementation of an Automated Thunderstorm Interactive Forecast System for Aviation and Defence. ShuXuan holds an MS in Computer Science from Beijing University of Aeronautics and Astronautics. Geoff Trench has been playing with computers since the days of the Atari 800XL, and working with them professionally for over 15 years, building solutions for a wide range of industries with too many languages and tools to count. www.it-ebooks.info About the Reviewer Edwin Biemond is an Oracle ACE and Solution Architect at Amis, specializing in messaging with Oracle SOA Suite and Oracle Service Bus, and an expert in ADF development, WebLogic, High Availability and Security. His Oracle career began in 1997 where he was developing an ERP, CRM system with Oracle tools. Since 2001 he changed his focus to integration, security, and Java development. He was awarded with the Java Developer of the year 2009 by Oracle Magazine. In 2010, he won the EMEA Oracle Partner Community Award. He is the co-author of the Oracle Service Bus 11g Development Cookbook, Packt Publishing, has contributed to the Oracle SOA Handbook, Packt Publishing, is an international speaker at Oracle OpenWorld & ODTUG, and has a popular blog called Java / Oracle SOA blog (http://biemond.blogspot.com). www.it-ebooks.info www.PacktPub.com Support les, eBooks, discount offers and more You might want to visit www.PacktPub.com for support les and downloads related to your book. Did you know that Packt offers eBook versions of every book published, with PDF and ePub les available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at service@ packtpub.com for more details. At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks. TM http://PacktLib.PacktPub.com Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can access, read and search across Packt's entire library of books. Why Subscribe? f Fully searchable across every book published by Packt f Copy and paste, print and bookmark content f On demand and accessible via web browser Free Access for Packt account holders If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view nine entirely free books. Simply use your login credentials for immediate access. Instant Updates on New Packt Books Get notied! Find out when new books are published by following @PacktEnterprise on Twitter, or the Packt Enterprise Facebook page. www.it-ebooks.info [...]... put into an internal DNS Admin Server type Server name AdminServer Hostname AdminHost IP address 10.2.0.121 SOA WLS _SOA1 SOAHost1 10.2.0.131 SOA WLS _SOA2 SOAHost2 10.2.0.132 SOA WLS _SOA3 SOAHost3 10.2.0.133 BAM WLS_BAM1 BAMHost1 10.2.0.141 2 Get frontend details for the load balancer The SOA Suite cluster will have at least one, and usually two or three, virtual hostnames for use by the load balancer... running SOA Suite and fill them in on a worksheet similar to the one shown as follows Use the WebLogic Servers column to identify which servers will normally run on the physical machine, ignore fail over for now WebLogic server machine WebLogic servers SOAMachine1 SOAMachine2 Admin server WLS _SOA1 WLS_WSM1 WLS _SOA2 WLS_BAM1 SOAMachine3 WLS _SOA3 WLS_WSM2 WLS_BAM2 11 www.it-ebooks.info Building an SOA Suite. .. completion status of SOA composites through the EM dashboard, measuring their message throughput in real time It also covers setting up the SOA environment to use the SOA Suite provided Monitor Express reports to take advantage of pre-built BAM dashboards What you need for this book This book was written using Oracle SOA Suite 11.1.1.6 and Oracle JDeveloper 11.1.1.6 with the SOA Suite design extensions... the SOA Suite 13 www.it-ebooks.info Building an SOA Suite Cluster How to do it 1 Grant sudo privileges to the Oracle user As root on each machine that will be hosting WebLogic servers, run the visudo command and add the following lines to the end of the file: # Node Manager Grants oracle ALL=NOPASSWD: /sbin/ifconfig,/sbin/arping oracle should be replaced with the user you will be running SOA Suite. .. www.it-ebooks.info Preface Service Oriented Architecture (SOA) provides the architectural framework needed to integrate diverse systems together and create new composite applications Oracle SOA Suite 11gR1 provides the tools needed to turn an SOA architecture into a working solution SOA Suite provides the developer with several high level components such as: ff Oracle Service Bus (OSB), an enterprise strength... to describe SOA Suite entities: ff Machine: A physical computer that hosts SOA Suite components ff Server: A WebLogic instance executing in a Java Virtual Machine ff Admin server: A WebLogic server that is used to manage the cluster ff Managed server: A WebLogic server that is dedicated to running applications such as SOA Suite Target solution The following figure shows the target SOA Suite deployment... where network bandwidth is more of a constraint Chapter 9, Integrating Java with SOA Suite, explains different ways to integrate Java code into SOA Suite This is demonstrated through creating a custom XPath function for use in SCA and OSB, as well as re-using EJBs and Spring Beans in SOA Suite It also shows how to access the SOA runtime environment from within a BPEL process 2 www.it-ebooks.info Preface... Suite cluster is typically made up of several WebLogic clusters; a Web Services Manager cluster, an SOA cluster, and a BAM cluster These clusters may share hardware, as shown in the following figure: 9 www.it-ebooks.info Building an SOA Suite Cluster An SOA Suite Cluster contains not just the core SOA Suite functionality of BPEL, Mediator, Rules, and Human Workflow but also Web Services Manager and... BAM The Web Services Manager and BAM have their own WebLogic clusters which run alongside the core SOA cluster Hence, the SOA Suite cluster has within it three WebLogic clusters, one of which, the SOA cluster, has the core SOA Suite functionality In our three-machine cluster we have chosen to have an SOA Cluster with three managed servers, a BAM cluster with two managed servers, and a WSM cluster with... Java with SOA Suite 203 Chapter 10: Securing Composites and Calling Secure Web Services 231 Chapter 11: Configuring the Identity Service 253 Chapter 12: Configuring OSB to Use Foreign JMS Queues 277 Introduction Creating a custom XPath function for SOA Suite Calling an EJB from an SOA composite Using a Spring bean in an SOA composite Using an EJB reference in a Spring component Accessing the SOA runtime . integration and SOA. While at Oracle he has co-authored Oracle SOA Suite Developer's Guide, Packt Publishing and Oracle SOA Suite 11g R1 Developer's. www.it-ebooks.info Oracle SOA Suite 11g Developer's Cookbook Over 65 high-level recipes for extending your Oracle SOA applications and enhancing

Ngày đăng: 23/03/2014, 07:20

TỪ KHÓA LIÊN QUAN