stopDomain(domainB);
}
@Test
public void testHelloWorldAsynch() throws Exception {
HelloWorldClient helloWorldClientB;
helloWorldClientB = domainA.getService(HelloWorldClient.class, "AHelloWorldClientCallbackRemote");
helloWorldClientB.getGreetings("fred");
System.out.println("Sleeping ...");
Thread.sleep(2000);
System.out.println("... Done");
Assert.assertEquals("callback fred", HelloWorldClientCallbackOnewayRemoteImpl.result );