The following sample applications are supplied with STC SCA:
This sample provides a simple SCA composite named Restaurant, which is comprised of five components:
RestaurantServiceComponent shows the list of proposed menus and computes the bill for the chosen menu.
MenuServiceComponent provides the menus (price without taxes).
BillServiceComponent computes the price of a menu with the different taxes.
VATServiceComponent computes the Value Added Tax (VAT).
TipServiceComponent computes the tip.
getMenus
and getBill
operations.
This results in messages passing to the appropriate components in the composite
across the local wires (Java binding).
This sample extends the Restaurant sample by replacing the local service binding with an RMI binding. So a Java client can call the service exposed by the SCA application using an RMI client.
This sample splits the initial restaurant sample in two composites:
Restaurant composite contains the RestaurantServiceComponent and the MenuServiceComponent,
Bill composite contains the BillServiceComponent, the VatServiceComponent, and the TipServiceComponent.
This sample is the same as the simple restaurant sample except that:
TipServiceComponent is implemented in JavaScript
VatServiceComponent is implemented in Python
This sample splits the initial restaurant sample into two composites:
The restaurant service is composed of three components: RestaurantServiceComponent, MenuServiceComponent and BillServiceComponent.