public void testUnderscoreMethods() throws Exception { InitialContext ctx = new InitialContext(); StatefulRemote stateful = (StatefulRemote) ctx.lookup("StatefulBean/remote"); stateful._method(); StatelessRemote stateless = (StatelessRemote) ctx.lookup("StatelessBean/remote"); stateless._method(); ServiceRemote service = (ServiceRemote) ctx.lookup("ServiceBean/remote"); service._method(); }