JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Java CAPS File Binding Component Tutorial     Java CAPS Documentation
search filter icon
search icon

Document Information

Using the File Binding Component

Tutorial Requirements

Prerequisites

Starting the GlassFish Server

To Check the Status of the GlassFish V2 Application Server in the NetBeans IDE

To Register the GlassFish V2 Application Server with the NetBeans IDE

To Start the GlassFish V2 Application Server in the NetBeans IDE

Creating a BPEL Module Project

To Create a BPEL Module Project

To Create the WSDL Document for Type Poll

To Create the WSDL Document for Type Write

To Create a BPEL Process

To Add Partner Links to the BPEL Process

To Add a Receive Activity to the BPEL Process

To Add an Invoke Activity to the BPEL Process

To Add an Assign Activity to the BPEL Process

To Clean and Build the BPEL Module Project

Creating a Composite Application Project

To Create a Composite Application Project

Building and Deploying the Composite Application Project

To Build and Deploy the Composite Application

Testing the Composite Application

To Test the PollWriteCompApp Composite Application

Summary

Starting the GlassFish Server

Before you can deploy your composite application, the application server and the appropriate JBI components must be configured correctly and must be running. Before deploying and performing test runs of a Composite Application project in the NetBeans IDE, make sure that the GlassFish Application Server is started. You might need to add the server to the NetBeans IDE.

To Check the Status of the GlassFish V2 Application Server in the NetBeans IDE

  1. If the Services window is not visible, on the NetBeans IDE menubar 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 is not visible, see To Register the GlassFish V2 Application Server with the NetBeans IDE.

    If a green arrow icon appears on the GlassFish V2 node, the server is running. If you do not see a green arrow icon, see To Start the GlassFish V2 Application Server in the NetBeans IDE.

To Register the GlassFish V2 Application Server with the NetBeans IDE

  1. If the Services window is not visible, on the NetBeans IDE menubar 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 of the dialog box, select GlassFish V2 from the Server drop-down list.
  4. If you want to change the server name that the IDE uses to identify the server, type it in the Name field.
  5. Click Next .

    The Platform Location Folder page opens.

  6. In the Platform Location field, click Browse and select the installation location of the application server.
  7. Select the Register Local Default Domain option and click Next.
  8. Type the user name and password for the domain's administrator.

    If you accepted the default values during the installation, the user name is admin; the password is defined during installation.

  9. Click Finish.

To Start the GlassFish V2 Application Server in the NetBeans IDE

  1. On the NetBeans IDE page, 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 icon on the GlassFish V2 node.