BPEL and Java Cookbook
eBook - ePub

BPEL and Java Cookbook

  1. 382 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

BPEL and Java Cookbook

About this book

In Detail

The Business Process Execution Language (BPEL) has become the de-facto standard for orchestrating web services. BPEL and web services are both clamped into Service-oriented Architecture (SOA). Development of efficient SOA composites too often requires usage of other technologies or languages, like Java. This Cookbook explains through the use of examples how to efficiently integrate BPEL with custom Java functionality.If you need to use BPEL programming to develop web services in SOA development, this book is for you.

BPEL and Java Cookbook will show you how to efficiently integrate custom Java functionality into BPEL processes. Based on practical examples, this book shows you the solutions to a number of issues developers come across when designing SOA composite applications. The integration between the two technologies is shown two-fold; the book focuses on the ways that Java utilizes the BPEL and vice-versa.

With this book, you will take a journey through a number of recipes that solve particular problems with developing SOA composite applications. Each chapter works on a different set of recipes in a specific area. The recipes cover the whole lifecycle of developing SOA composites: from specification, through design, testing and deployment.

BPEL and Java Cookbook starts off with recipes that cover initiation of BPEL from Java and vice-versa. It then moves on to logging and tracing facilities, validation and transformation of BPEL servers, embedding of third-party Java libraries into BPEL. It also covers manipulation with variables in BPEL different techniques of Java code wrapping for web service usage and utilization of XML faades.

After reading BPEL and Java Cookbook you will be able to circumvent many of the issues that developers experience during SOA composite application development.

Approach

A concise Cookbook with practical recipes for experienced Java developers. The book is packed with illustrated code examples to create scalable programs using BPEL, JAVA, and JDeveloper.

Who this book is for

This book is aimed at Java developers who need to use BPEL programming to develop web services in SOA development. You should be experienced with Java programming and SOA, but knowledge of BPEL is not necessarily required.

Trusted byĀ 375,005 students

Access to over 1 million titles for a fair monthly price.

Study more efficiently using our study tools.

Information

Year
2013
eBook ISBN
9781849689205

BPEL and Java Cookbook


Table of Contents

BPEL and Java Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Instant Updates on New Packt Books
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Calling BPEL from Java
Introduction
Deploying a BPEL process
Getting ready
How to do it…
There's more…
Gathering a BPEL process's in and out parameters
How to do it…
How it works…
See also
Calling a synchronous BPEL process from Java
How to do it…
How it works…
There's more…
Calling an asynchronous BPEL process from Java
Getting ready
How to do it…
How it works…
Handling business faults from a synchronous BPEL process
Getting ready
How to do it…
How it works…
There's more…
Handling business faults from an asynchronous BPEL process
Getting ready
How to do it…
How it works…
There's more…
See also
Mapping the results of a BPEL process
Getting ready
How to do it…
How it works…
There's more…
See also
2. Calling Services from BPEL
Introduction
Implementing web services with Axis2
Getting ready
How to do it…
How it works…
There's more…
See also
Implementing web services with JAX-WS
Getting ready
How to do it…
How it works…
There's more…
See also
Invoking the RESTful web services
Getting ready
How to do it…
How it works…
The binding type
The operation attribute
Invoking the synchronous web service
Getting ready
How to do it…
How it works…
There's more…
See also
Invoking the asynchronous web service
Getting ready
How to do it…
How it works…
There's more…
See also
The dynamic selection of the web service's endpoint
Getting ready
How to do it…
How it works…
There's more…
See also
Invoking web services in a sequence
Getting ready
How to do it…
How it works…
See also
Invoking web services in parallel
Getting ready
How to do it…
How it works…
There's more…
See also
Handling the faults thrown from a web service
Getting ready
How to do it…
How it works…
There's more…
Throwing the faults from BPEL
How to do it…
There's more…
3. Advanced Tracing and Logging
Introduction
Creating a custom logger in a BPEL process
Getting ready
How to do it…
How it works…
There's more…
Quick debug logger for the BPEL process
See also
Defining composite sensors
Getting ready
How to do it…
How it works…
There's more…
Defining a variable sensor in BPEL
Defining an activity sensor in BPEL
Defining a fault sensor in BPEL
The sensor action
See also
Adding a composite sensor
Getting ready
How to do it…
How it works…
There's more…
Adding a BPEL sensor for JMS queuing
See also
Monitoring a composite sensor
Getting ready
How to do it…
How it works…
Configuring the logfiles
Getting ready
How to do it…
How it works…
There's more…
Creating a log for every BPEL instance run
See also
Changing the level of tracing
How to do it…
How it works…
There's more…
Configuring the level of the custom loggers
See also
Editing the logfiles
How to do it…
There's more…
See also
Viewing logfiles in the Enterprise Manager Console
How to do it…
How it works…
Viewing metrics and statistics
Getting ready
How to do it…
How it works…
There's more…
4. Custom Logging in the Oracle SOA Suite
Introduction
Logging to a custom file
Getting ready…
How to do it…
How it works…
Configuring custom handlers
How to do it…
Logging exceptions
Getting ready…
How to do it…
There's more…
Enabling logging on the BPEL server
Getting ready…
How to do it…
How it works…
There's more…
Redirecting System.out and System.err files
Getting ready…
How to do it…
Setting up a rotation logfile
Getting ready…
How to do it…
How it works…
See also
5. Transforming and Validating the BPEL Services
Introduction
Using the XSLT transformation in BPEL
Getting ready
How to do it…
How it works…
There's more…
See also
Generating the XSLT map with the XSLT mapper
Getting ready
How to do it…
How it works…
See also
Performing copy between the variables
Getting ready
How to do it…
How it works…
There's more…
Auto Map
Completion Status
See also
Using the functions in the transformation operations
Getting ready
How to do it…
How it works…
See also
The chaining functions
Getting ready
How to do it…
How it works…
See also
Defining and importing the user-defined functions
How to do it…
How it works…
There's more…
Using the user-defined function
Migrating the user-defined functions to the Oracle SOA server
Using the xsl:for-each command
Getting ready
How to do it…
How it works…
Defining a parameter
Getting ready
How to do it…
How it works…
See also
Defining a variable
How to do it…
How it works…
Validating the variables with the <assign> activity
Getting ready
How to do it…
How it works…
There's more…
6. Embedding Third-party Java Libraries
Introduction
Adding third-party li...

Table of contents

  1. BPEL and Java Cookbook

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access BPEL and Java Cookbook by Jurij Laznik in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming in Java. We have over one million books available in our catalogue for you to explore.