String nodeName = args[1];
// Create the distributed domain representation. We use the network implementation
// here so that the node contacts a registry running somewhere out on the
// network.
DistributedSCADomain distributedDomain = new DistributedSCADomainNetworkImpl(domainName);
// create the node that runs the calculator component
EmbeddedNode node = new EmbeddedNode(nodeName);
SCADomain domain = node.attachDomain(distributedDomain);