final InitialContext context = new InitialContext(environment);
final Calculator bean = (Calculator) context.lookup("CalculatorBeanRemote");
for (StandaloneServer server : servers) {
System.out.println(String.format("Average invocation time %s microseconds", invoke(bean, 10000)));
server.kill();
}
System.out.println("All servers destroyed");
try {