Chapter 9. Embedding Java Code Snippets

This chapter contains the following recipes:

  • Preparing the development sandbox for Java Embedding activity code in JDeveloper using the Java code placeholder in the BPEL process
  • Invoking Java code from the BPEL process
  • Reading the BPEL process variables
  • Setting the BPEL process variables
  • Invoking SessionBean from the BPEL process
  • Exploring the use of the utility functionality
  • Adding a log to the BPEL Audit Trail
  • Reading the process instance data
  • Getting the BPEL process status data

Introduction

The BPEL specification defines a finite set of activities. One of the options is to define our own functional activity via the Java Embedding activity. With the Java Embedding activity we can define any behavior in Java programming ...

Get BPEL and Java Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.