First steps with the SCA Composite Designer

This tutorial shows how to develop a simple SCA application using the STP/SCA Composite Designer. In it you will learn how to:

The following figure shows the SCA assembly of the application that you will create.

This composite, named restaurant, is a composition of five components:

RestaurantServiceComponent

Allows you to see the Menus proposed by the restaurant. It allows also to compute the bill for a particular menu.

MenuServiceComponent

Provides different menus. A Menu is defined by a description and the price without taxes.

BillServiceComponent

Computes the price of a menu with the different taxes.

VATServiceComponent

Computes the VAT (Value Added Tax).

TipServiceComponent

Computes the tip.

Before you begin

To be able to test the sample SCA application, you need to install Apache Tuscany on your machine and add the Tuscany libraries to the Java build path in your Eclipse preferences. Once you have done that, proceed to Step 1.