In this step you will complete the Restaurant composite that you created in Step 1 and learn how to use the Composite Model Editor.
To complete the Restaurant composite:
Add a component named RestaurantServiceComponent. You can use either the Component creation tool in the palette or right-click on the canvas.
![]() |
![]() |
Add MenuServiceComponent, BillServiceComponent, VatServiceComponent, and TipServiceComponent.
Add the following services:
Add the following references:
Wire the services and references together. From the palette, you can use:
Promote the restaurant service in either of the following ways:
Create a new Service on the composite and then use the Promote creation tool from the palette to add a promotion link between the composite service and the promoted component service, or
Right-click a component service, and select Promote menu item.
Now you can edit the Restaurant.composite
file using the the SCA Composite Model Editor.
Right-click the Restaurant.composite file and select Open with > SCA Composite Model Editor.
A multi page editor opens. It provides a tree view and the source code of your SCA assembly. You can modify your SCA assembly with these two editors. They are synchronized with the SCA Composite Designer.
Now proceed to Step 3.