final String message = "Bean Message";
final SimpleStatefulLocalHome home = (SimpleStatefulLocalHome) iniCtx.lookup("java:module/SimpleStatefulLocalHomeBean!" + SimpleStatefulLocalHome.class.getName());
SimpleLocalInterface ejbInstance = home.createSimple(message);
Assert.assertEquals(message, ejbInstance.sayHello());
ejbInstance = home.createComplex("hello", "world");
Assert.assertEquals("hello world", ejbInstance.sayHello());
}
@Test
public void testgetEjbLocalObject() throws Exception {
final String message = "Bean Message";