server.start(1, TimeUnit.MINUTES);
logger.info("Performing one more invocation");
assertEquals(5, bean.sum(2, 3));
}
private void invoke(final String name, final StandaloneServer server) throws NamingException {
final Properties environment = new Properties();
environment.put(Context.INITIAL_CONTEXT_FACTORY, RemoteInitialContextFactory.class.getName());