This document explains how to use B2J to run BPEL processes using the B2J reference engine implementations.
This document assumes the user is familiar with Eclipse.
This document explains how to use B2J to run BPEL processes using the B2J reference engine implementations.
This document assumes the user is familiar with Eclipse.
The user should have an installation of Eclipse and the B2J subproject plugins installed. See the B2J subproject main page for versions, downloads and installation information.
The first step to executing BPEL with B2J is to switch to the Java perspective.
Under the Eclipse Window menu select Open Perspective / Other, then select the Java perspective.
Create a new Simple project and unzip these files into it. You should see a folder called bpel_examples containing two further folders; tests and tptp. The BPEL files you can run are any of the BPEL files under the tests folder.
Select the Run menu and choose Run..., you should see the launch configuration window pop up.
From here you should see a tree of BPEL Providers with two providers in it: Workspace File and Local File.
BPEL Providers are an extension point exposed by B2J to allow 3rd parties to plug in other sources of BPEL to run. The two default BPEL Providers are configured by setting a file path and they then provide the BPEL to the B2J framework by simply reading the specified file. These are BPEL Providers in their most basic form.
3rd party BPEL Providers could potentially be configured in more complex ways and could generate BPEL to be run in B2J rather than relying on a static file.
You should now see a text box with a browse button to allow you to choose a BPEL file to run.
Choose the file test_general.bpel under the test_general folder.
The details of this process can be found in the B2J distribution tutorial.
By default, the BPEL process will run in the local Eclipse JVM.