*/
public class SupplyChainClient {
public static final void main(String[] args) throws Exception {
SCADomain scaDomain = SCADomain.newInstance("supplychain.composite");
Customer customer = scaDomain.getService(Customer.class, "CustomerComponent");
System.out.println("Main thread " + Thread.currentThread());
customer.purchaseGoods();
System.out.println("Main thread sleeping ...");
Thread.sleep(1000);
scaDomain.close();
}