Free Sample
+ Collection

Oracle Service Bus 11g Development Cookbook

Guido Schmutz, Edwin Biemond , Jan van Zoggel , Mischa Kölliker , Eric Elzinga

This intermediate level cookbook is ideal for SOA developers who want to get the most from Oracle Service Bus in developing service and message-oriented solutions. It's packed with relevant recipes and clear, detailed explanations.
RRP $35.99
RRP $59.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781849684446
Paperback522 pages

About This Book

  • 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

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.

Table of Contents

Chapter 1: Creating a basic OSB service
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
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
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
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
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
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
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
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
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
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
Chapter 11: Handling Message-level Security Requirements
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
Chapter 12: Handling Transport-level Security Requirements
Using service accounts with OSB
Configuring WebLogic network connection filters
Preparing OSB server to work with SSL
Configuring a proxy service to use HTTPS security

What You Will Learn

  • 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.


Read More