Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: for the plan.

Jump to: navigation, search

Swordfish Documentation: Flight Reservation Tutorial

Flight Booking Tutorial

What this tutorial covers

This tutorial describes detailed steps for generating services using Swordfish, creating BPEL process using BPEL Editor and deploying and executing the BPEL process within ODE engine. In this tutorial we will create 2 Swordfish services, Flight Reservation Service and Payment Processing Service. We will create an Orchestration Service called Flight Booking Service which will invoke the 2 Swordfish services based on logic defined in a BPEL process.

What it does not cover

This tutorial assumes that the user is familiar with the Eclipse IDE and Java programming. This tutorial does not provide an introduction to the Eclipse IDE, Eclipse runtime projects or to the Java programming language.


  • Java 6 runtime enviornment.
  • Eclipse Galileo (Eclipse 3.5) build or later. The examples described here are based on Eclipse 3.5.
  • Swordfish Runtime Framework
  • Swordfish Tooling
  • ODE bundles from the Swordfish update site

Getting Started

Before you start, do the following:

  1. Download and install Swordfish Tooling in Eclipse IDE from the Swordfish Update Site.
  2. Create a target platform.

For instructions, see Swordfish User Guide, section "Getting Started with Swordfish" within the Eclipse IDE Help.


Basically the workflow for creating and deploying a service involves the following main tasks.

Flight reservation tutorial 1.png

Service Development and Service Orchestration

The main set of tasks for the Swordfish Flight Reservation Tutorial can be broken down into two main areas as shown in the following figure:

  1. First, you need to create service providers, as described here: Service Development.
  2. Next, you deploy the service as described here: Service Orchestration.

Service devt orchestration1.png

Swordfish Documentation Home
Swordfish Wiki Home

Back to the top