Developer Guide to the BPEL Designer

Overview

The section covers the following topics:

Overview of the JBI Runtime Environment

The BPEL Service Engine

The Composite Application Project

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 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 NetBeansTM 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.

Glassfish Application Server, 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.

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.