deployer.deploy(DEPLOYMENT_STATEFUL);
log.info("**** creating InitialContext");
InitialContext ctx = new InitialContext(getEjbClientContextProperties());
try {
log.info("**** looking up StatefulBean through JNDI");
StatefulBeanRemote bean = (StatefulBeanRemote)
ctx.lookup("ejb:/" + MODULE_NAME_STATEFUL + "/" + StatefulBean.class.getSimpleName() + "!" + StatefulBeanRemote.class.getCanonicalName()+"?stateful");
log.info("**** About to perform asynchronous call on stateful bean");
Future<String> futureResponse = bean.sayHelloAsync();
String response = futureResponse.get();
log.info("**** The answer is: " + response);
Assert.assertEquals("Remote asynchronous invocation of EJB was not successful", StatefulBeanRemote.ANSWER, response);
deployer.undeploy(DEPLOYMENT_STATEFUL);
} finally {