Using the Java code placeholder in the BPEL process

When using Java code inside the BPEL process we use the Java Embedding activity. At the moment both versions of BPEL processes (1.1 and 2.0) are widely used. Consequently, we will address the use of the Java code placeholder in both types of BPEL processes.

Getting ready

To complete this recipe, we need nothing special. We just create an empty composite with two empty synchronous BPEL processes. We name them BPEL_and_Java_1_1 and BPEL_and_Java_2_0, each addressing its BPEL version respectively.

How to do it…

The steps involved in using the Java code placeholder in the BPEL process are as follows:

  1. Open the BPEL_and_Java_1_1 process.
  2. From the Component Palette, select Oracle Extensions.
  3. Pick the Java ...

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.