}
public String callAsync(String jndiName, String input) throws Exception {
InitialContext ctx = new InitialContext();
AsyncLocal bean = (AsyncLocal)ctx.lookup(jndiName);
final Future<String> future = bean.asyncMethod(input);
return future.get();
}
}