EjbJar ejbJar = new EjbJar();
ejbJar.addEnterpriseBean(new StatelessBean(Target.class));
assembler.createApplication(config.configureApplication(ejbJar));
MulticastDiscoveryAgent multicastAgent = new MulticastDiscoveryAgent();
DiscoveryRegistry registry = new DiscoveryRegistry(multicastAgent);
SystemInstance.get().setComponent(DiscoveryRegistry.class, registry);
this.agent = registry;
multicastAgent.start();
ServerService red = server(Host.RED);
ServerService blue = server(Host.BLUE);
ServerService green = server(Host.GREEN);