InitialContext ctx = new InitialContext();
System.out.println("ctx = " + ctx);
//System.out.println(" " + container.getInitialContext().list("MyStatelessBean").next());
MyStateless bean = (MyStateless) ctx.lookup("MyStatelessBean/local");
String actual = bean.sayHi("Me");
assertEquals("Hi Me", actual);
}
// --------------------------------------------------------------------------------||