Oracle Service Bus 11g Development Cookbook


Oracle Service Bus 11g Development Cookbook
eBook: $35.99
Formats: PDF, PacktLib, ePub and Mobi formats
$30.59
save 15%!
Print + free eBook + free PacktLib access to the book: $95.98    Print cover: $59.99
$59.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Reviews
Support
Sample Chapters
  • Develop service and message-oriented solutions on the Oracle Service Bus following best practices using this book and ebook
  • Extend your practical knowledge of building solutions on the Oracle Service Bus
  • Packed with hands-on cookbook recipes, with the complete and finished solution as an OSB and SOA Suite project, made available electronically for download

Book Details

Language : English
Paperback : 522 pages [ 235mm x 191mm ]
Release Date : January 2012
ISBN : 1849684448
ISBN 13 : 9781849684446
Author(s) : Guido Schmutz, Edwin Biemond , Jan van Zoggel , Mischa Kölliker , Eric Elzinga
Topics and Technologies : All Books, Enterprise Products and Platforms, Oracle Fusion Middleware, Cookbooks, Enterprise, Oracle

Table of Contents

Preface
Chapter 1: Creating a basic OSB service
Chapter 2: Working Efficiently with OSB Artifacts in Eclipse OEPE
Chapter 3: Messaging with JMS Transport
Chapter 4: Using EJB and JEJB transport
Chapter 5: Using HTTP Transport
Chapter 6: Using File and Email Transports
Chapter 7: Communicating with the Database
Chapter 8: Communicating with SOA Suite
Chapter 9: Communication, Flow Control, and Message Processing
Chapter 10: Reliable Communication with the OSB
Chapter 11: Handling Message-level Security Requirements
Chapter 12: Handling Transport-level Security Requirements
Index
  • Chapter 1: Creating a basic OSB service
    • Introduction
    • Creating a new OSB project
    • Defining a folder structure for the OSB project
    • Importing an already existing project into Eclipse OEPE
    • Creating a business service to call an external SOAP-based web service
    • Generating a simple pass-through proxy service
    • Deploying the OSB configuration from Eclipse OEPE
    • Testing the proxy service through the OSB console
    • Testing the proxy service through soapUI
    • Creating proxy service with a WSDL based interface
    • Using a routing action to statically route to another service
    • Adding an operational branch to support the different WSDL operations of the proxy service
    • Using an XQuery transformation to map between the different data models of the services
    • Chapter 2: Working Efficiently with OSB Artifacts in Eclipse OEPE
      • Introduction
      • Setting up an OSB project to work with JCA adapters
      • Using context menu to add nodes and actions to message flow
      • Moving nodes/actions in Eclipse OEPE by drag-and-drop
      • Copying nodes/actions from one place to another
      • Moving artifacts inside the same OSB project
      • Copying artifacts from one project into another
      • Debugging services through Eclipse OEPE
      • Chapter 3: Messaging with JMS Transport
        • Introduction
        • Sending a message to a JMS queue/topic
        • Changing JMS Transport message headers and properties at runtime
        • Consuming messages from a JMS queue
        • Consuming messages from a topic with non-durable/durable subscription
        • Consuming messages from a JMS queue/topic selectively
        • Accessing JMS Transport headers and properties in message flow
        • Using request-response messaging with JMS
        • Using QBrowser Admin GUI for accessing JMS queues/topics
        • Testing JMS with soapUI
        • Chapter 4: Using EJB and JEJB transport
          • Introduction
          • Exposing an EJB session bean as a service on the OSB using the EJB transport
          • Using JNDI Provider to invoke an EJB session bean on a remote WebLogic domain
          • Using converter class with EJB transport to help converting data types
          • Exposing an EJB session bean as an EJB on the OSB using the JEJB transport
          • Manipulating the response of the JEJB transport by a Java Callout action
          • Chapter 5: Using HTTP Transport
            • Introduction
            • Using HTTP transport to implement messaging over HTTP
            • Exposing a RESTful service on the OSB
            • Consuming a RESTful service from the OSB
            • Creating a generic RESTful gateway on the OSB
            • Implementing a WebSockets transport for server-side push
            • Chapter 6: Using File and Email Transports
              • Introduction
              • Using the File or FTP transport to trigger a proxy service upon arrival of a new file
              • Using the File JCA adapter to read a file within the message flow
              • Using the File Transport to write to a file
              • Using Email Transport to receive e-mail
              • Using Email Transport to send e-mail
              • Chapter 7: Communicating with the Database
                • Introduction
                • Using DB adapter to read from a database table
                • Using DB adapter to execute a custom SQL statement against the database
                • Using the DB adapter to update a database table
                • Using DB adapter to poll for changes on a database table
                • Using the AQ adapter to consume messages from the database
                • Using the AQ adapter to send messages to the database
                • Chapter 8: Communicating with SOA Suite
                  • Introduction
                  • Invoking a SCA composite synchronously from an OSB service
                  • Invoking a SCA composite asynchronously from an OSB service
                  • Invoking an OSB service from SCA composite synchronously
                  • Invoking an OSB service from SCA composite asynchronously
                  • Chapter 9: Communication, Flow Control, and Message Processing
                    • Introduction
                    • Using Service Callout action to invoke a service
                    • Using the Publish action to asynchronously invoke a service
                    • Using the Java Callout action to invoke Java code
                    • Using the Java Callout action with XMLBeans
                    • Using custom XPath functions
                    • Using the For Each action to process a collection
                    • Using dynamic Split-Join to perform work in parallel
                    • Using the Validate action to perform message validation
                    • Enabling/disabling a Validate action dynamically
                    • Creating private proxy service
                    • Chapter 10: Reliable Communication with the OSB
                      • Introduction
                      • Configuring Retry handling in JMS
                      • Enabling JMS message persistence
                      • Working with global transactions and quality of service
                      • Using WS-Reliable Messaging (WS-RM) with WS transport
                      • SOAP over JMS
                      • Chapter 11: Handling Message-level Security Requirements
                        • Introduction
                        • Preparing OSB server to work with OWSM
                        • Configuring OSB server for OWSM
                        • Securing a proxy service by Username Token authentication
                        • Securing a proxy service by protecting the message
                        • Securing a proxy service by using Username Token authentication and protecting the message
                        • Securing a proxy service by using certificate authentication and protecting the message
                        • Securing a proxy service with authorization through Message Access Control
                        • Using JDeveloper to test a secured service
                        • Calling a secured service from OSB

                          Guido Schmutz

                          Guido Schmutz is an Oracle ACE director for Fusion Middleware and SOA and works for the Swiss Oracle Platinum Partner Trivadis. He has more than twenty years of technology experience ranging from mainframes, integration, and SOA technologies in financial services, government, and vendor environments. At Trivadis he is responsible for SOA, application integration, and open source-based development. He has lengthy experience as a developer, coach, trainer, and architect in the area of building complex Java EE and SOA-based applications. Currently, he is focusing on SOA and application integration projects using the Oracle SOA Suite. Guido is also co-author of the books Service-Oriented Architecture: An Integration Blueprint, "Spring 2.0 im Einsatz," "Architecture Blueprints," and "Integration Architecture Blueprints".

                          Edwin Biemond

                          Edwin Biemond is an Oracle ACE and solution architect at Amis, specializing in messaging with Oracle SOA Suite and Oracle Service Bus, expert in ADF development, WebLogic Administration, High Availability and Security. His Oracle career began in 1997 where he was developing an ERP, CRM system with Oracle tools. Since 2001, Edwin changed his focus to integration, security and java development. Edwin was awarded with Java Developer of the year 2009 by Oracle Magazine, in 2010 he won the EMEA Oracle Partner community award, has contributed some content to the SOA Handbook of Lucas Jellema, is a international speaker at Oracle OpenWorld & ODTUG and has a popular blog called Java/Oracle SOA blog, website http://biemond.blogspot.com.

                          Jan van Zoggel

                          Jan van Zoggel is a principal Oracle Fusion Middleware consultant and works for the Dutch Oracle Gold Partner Rubix. He is experienced with process and system integration solutions based upon the products Oracle Service Bus, Oracle Weblogic and the Oracle SOA Suite. His main focus of interest is on middleware architecture, high availability, reliable messaging, security and cloud technology. He also has long-time experience with maintenance, development and as a solution architect and trainer. His career began in 2000 and in 2004 he changed his focus to message brokers, Enterprise Application Integration (EAI) and Business-to-Business (B2B) based upon the BEA and Tibco software suite.

                          Mischa Kölliker

                          Mischa Kölliker is a principal consultant at the Oracle consultancy company Trivadis. For 15 years he has worked in the area of integration solutions with technologies like C++, Java EE and Oracle Service Bus. At Trivadis, he works as a solution architect, developer and trainer in SOA-, integration- and Java EE-projects. In his current assignments, he works on OSB-based integration solutions for Swiss railway and touristic organizations as well as on a Java EE project for a Swiss bank. His avocation is HTML5 and all related technologies. Mischa is a co-author of other books, like Architecture Blueprints and Business Communication Architecture Blueprint.

                          Eric Elzinga

                          Eric Elzinga is an Oracle ACE for Fusion Middleware and SOA. He has over 10 years experience in IT. His Oracle career started around 2001 as an Oracle Database programmer and building Enterprise Portal applications. Lately, he focuses on SOA and integration solutions based on the Oracle SOA Suite, Oracle Service Bus and Open Source frameworks. He is experienced in designing and maintaining middleware solutions, messaging and creating business solutions using Agile Software Development with Scrum. In addition, he is an active contributor to the Oracle Community/Forums and blogging on his website at http://blog.xenta.nl. He is the owner of Xenta Consultancy.

                          Code Downloads

                          Download the code and support files for this book.


                          Submit Errata

                          Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.


                          Errata

                          - 7 submitted: last submission 22 Apr 2013

                          Errata type: Typo Page number: 20

                          Please don't consider the last line of How it works section.

                          Errata type: Code Page number: 120

                          At the bottom of the page, 2nd row of the table the value is misspelled. It should be weblogic.jndi.WLInitialContextFactory

                          Errata type: Others | Page number: 37

                          The directory should read \chapter-1\getting-ready\misc\definition\xsd.
                          The misc is missing.

                           

                          Errata type: Code

                          The book mentions the use of a file install.cmd that is missing in the code bundle.
                          The code bundle has been updated on 14/02/13 with this file and some other improvements made to the code.

                           

                          Errata type: Others | Page number: 54

                          The screenshot of step 43 is invalid, the correct screenshot should contain the expression …TransformFindCustomerResponse

                           

                          Errata type: Code Page number: 127

                          JDeveloper Workspace osbbook_ejb.jws in folder chapter-4/getting-ready/ejb-jdev-workspace is incorrect. Fixed in the latest download. Code bundle updated on 9/04/13.

                          Errata type: Code Page number: 165

                          step 34 wrong SoapToHttpGet.xq in the download, has been corrected in the latest download on 22/04/13.

                          Sample chapters

                          You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

                          Frequently bought together

                          Oracle Service Bus 11g Development Cookbook +    IBM Sametime 8.5.2 Administration Guide =
                          50% Off
                          the second eBook
                          Price for both: $53.70

                          Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                          What you will learn from this book

                          • Create a simple service on the OSB
                          • Work efficiently with the Eclipse OEPE
                          • Send and consume messages through the JMS transport, covering both topics and queues
                          • Learn how to use the HTTP transport to work in a RESTFul way, both from the consumer and provider side
                          • Use the Email transport to send and receive emails and process an attachment
                          • Use the JCA adapter framework with OSB in order to support communication with a database
                          • Use the SB transport to communicate with the SOA Suite
                          • Implement reliable communication with the OSB
                          • Includes tips and tricks for implementing the message processing in the message flow of a proxy service
                          • Learn how to secure OSB services through OWSM.

                           

                          In Detail

                          Oracle Service Bus 11g is a scalable SOA integration platform that delivers an efficient, standards-based infrastructure for high-volume, mission critical SOA environments. It is designed to connect, mediate, and manage interactions between heterogeneous services, legacy applications, packaged solutions and multiple Enterprise Service Bus (ESB) instances across an enterprise-wide service network. Oracle Service Bus is a core component in the Oracle SOA Suite as a backbone for SOA messaging.

                          This practical cookbook shows you how to develop service and message-oriented (integration) solutions on the Oracle Service Bus 11g.

                          Packed with over 80 task-based and immediately reusable recipes, this book starts by showing you how to create a basic OSB service and work efficiently and effectively with OSB. The book then dives into topics such as messaging with JMS transport, using EJB and JEJB transport, HTTP transport and Poller transports, communicating with the database, communicating with SOA Suite and Reliable Message Processing amongst others. The last two chapters discuss how to achieve message and transport-level security on the OSB.

                          Approach

                          This cookbook is full of immediately useable recipes showing you how to develop service and message-oriented (integration) solutions on the Oracle Service Bus. In addition to its cookbook style, which ensures the solutions are presented in a clear step-by-step manner, the explanations go into great detail, which makes it good learning material for everyone who has experience in OSB and wants to improve. Most of the recipes are designed in such a way that each recipe is presented as a separate, standalone entity and reading of prior recipes is not required. The finished solution of each recipe is also made available electronically.

                          Who this book is for

                          If you are an intermediate SOA developer who is using Oracle Service Bus to develop service and message-orientated solutions on the Oracle Service Bus, then this book is for you. This book assumes that you have a working knowledge of fundamental SOA concepts and Oracle Service Bus.

                          Code Download and Errata
                          Packt Anytime, Anywhere
                          Register Books
                          Print Upgrades
                          eBook Downloads
                          Video Support
                          Contact Us
                          Awards Voting Nominations Previous Winners
                          Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                          Resources
                          Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software