Properties props = new Properties();
props.put("java.naming.factory.initial", "org.apache.openejb.client.RemoteInitialContextFactory");
props.put("java.naming.provider.url", "ejbd://127.0.0.1:" + port);
Context context = new InitialContext(props);
assertNameClassPair(context.list(""));
assertNameClassPair(context.list("ejb"));
assertBindings(context.listBindings(""));
assertBindings(context.listBindings("ejb"));