Step 1: Creating the initial project and diagram

The initial project setup involves:

Creating a Java project

To create a Java Project to hold the Restaurant application:

  1. Select File > New > Java Project.

  2. Enter Restaurant as the Project name.

  3. For Project layout, select Create separate folders for sources and class files and click Next.

  4. Click Finish.

Now you need to add the TUSCANY library to the project build path, as follows:

  1. Right-click the project and select Build Path > Add Libraries.

  2. In the Add Library wizard, select User Library and click Next.

  3. Select the TUSCANY library and click Finish.

Creating an SCA Composite diagram

To create an SCA Composite diagram:

  1. Right-click the project and select New > Other.

  2. In the New wizard, select SCA Composite Diagram in the SCA Tools folder (Other folder if there is no SOA Tools folder) and click Next.

  3. Choose a folder and type "Restaurant" in the File name field and click Finish.

The new created file opens automatically in the SCA Composite Designer. To open the Properties view, right-click on the diagram and select Show Properties View.

In accordance with the SCA specifications, the composite and the composite file have the same name. The name of the composite is automatically set

Now, you should see the following project structure:

Now proceed to Step 2.