Developer Guide to the BPEL Designer: Overview

Contributed by Bob May, maintained by Irina Filippova
December 2007

Contents

Developer Guide to the BPEL Designer

Content on this page applies to the NetBeans 6.0 IDE

One of the primary means of orchestrating web services is the use of Business Process Execution Language (BPEL). This guide explores ways in which the IDE enables you to edit, compile, and deploy BPEL processes compliant with the WS-BPEL 2.0 specification. Using the BPEL Designer feature of the IDE, you can easily create and edit BPEL processes, deploy them to the BPEL Service Engine, and run these processes in test or debug modes.

To better understand the BPEL Designer features provided by the NetBeans IDE 6.0 release, see the following tutorials:

Note on Reading This Document

For readability, some images have been provided in thumbnail format. Click those images to see a larger version.

Structure of This Document

This document consists of several sections, each related to a particular feature of the BPEL Designer included in the NetBeans IDE. A list of sections is given in the Contents.

top


Overview of the JBI Runtime Environment

The Java Business Integration (JBI) runtime environment provides the runtime capability for SOA tools in the IDE. The JBI runtime environment includes several components that interact using a services model. This model is based on Web Services Description Language (WSDL) 2.0. Components that supply or consume services within the JBI environment are referred to as Service Engines. One of these components is the BPEL Service Engine that provides services for executing business processes. Components that provide access to services that are external to the JBI environment are called Binding Components.

The JBI components are installed as part of the GlassFish application server, which is packaged with the NetBeans IDE.

To view the installed or deployed JBI components:

  1. In the IDE, open the Services window, expand the GlassFish V2 node, and expand the JBI node.
  2. If you do not see the JBI node, you need to start the Application Server by choosing Start from the pop-up menu of the GlassFish V2 node.

JBI Nodes

For a detailed overview of the Java Business Integration concept and a description of JBI nodes, see the JBI Component Technical Overview.

The BPEL Service Engine

The BPEL Service Engine is a JSR 208-compliant JBI runtime component that provides services for executing WS-BPEL 2.0 compliant business processes. The BPEL Service Engine provides runtime services for deploying BPEL processes. To deploy a BPEL process, you need to add it as a JBI module to a Composite Application project.

The BPEL Service Engine starts together with the Application Server. Thus, before deploying and performing test runs of a Composite Application project, make sure that the Application Server is started.

To check the status of the GlassFish V2 Application Server:

  1. If the Services window is not visible, choose Window > Services.
  2. In the Services window, expand the Servers node.
    The Servers node should contain a GlassFish V2 subnode. If the GlassFish V2 node does not appear, go to To configure the GlassFish V2 Application Server.
    If a green arrow badge appears on the GlassFish V2 node, the server is running. If a green arrow badge does not appear, go to To start the GlassFish V2 Application Server.

To configure the GlassFish V2 Application Server:

  1. If the Services window is not visible, choose Window > Services.
  2. In the Services window, right-click the Servers node and choose Add Server from the pop-up menu.
    The Add Server Instance dialog box opens.
  3. In the Choose Server page, from the Server drop-down list, select GlassFish V2 Application Server/GlassFish.
  4. (Optional) In the Name field, change the default name for the server.
    The IDE uses this name to identify the server.
  5. Click Next.
    The Platform Location Folder page opens.
  6. In the Platform Location field, use the Browse button to navigate to and select the installation location of the application server.
  7. Select the Register Local Default Domain radio button and click Next.
  8. Enter the user name and password for the domain's administrator.
    If you accepted the default values during the installation, the user name is admin and the password is adminadmin.
  9. Click Finish.

To start the GlassFish V2 Application Server:

  1. In the Services window, right-click the GlassFish V2 node and choose Start.
  2. Wait until the following message appears in the Output window:
    Application server startup complete.
    When the server is running, the IDE displays a green arrow badge on theGlassFish V2 node.

The BPEL Service Engine is represented as sun-bpel-engine in the Services window of the IDE, under the GlassFish V2 > JBI nodes.

See the BPEL Service Engine User's Guide for details about the BPEL Service Engine and supported BPEL 2.0 language constructs.

top

The Composite Application Project

The Composite Application project is used to create a Service Assembly that can be deployed to the Java Business Integration (JBI) runtime environment. Within the Composite Application project, you can:

To deploy a Composite Application to the BPEL Service Engine, it must include a JBI module created from a BPEL Module project. Within a Composite Application Project that includes a JBI module, you can also create and execute test cases that can then be run against the deployed BPEL processes.

For more information about working with Composite Application projects, see The BPEL Module Project and Testing and Debugging BPEL Processes sections of this guide.



Send Us Your Feedback

top