public String call() throws Exception {
InitialContext ctx = new InitialContext();
String name = "java:global/ejb3-example/SimpleStatefulSessionBean!" + SimpleStatefulSessionLocal.class.getName();
SimpleStatefulSessionLocal bean = (SimpleStatefulSessionLocal) ctx.lookup(name);
bean.setState("via another view");
EchoService view = bean.getEchoService();
return view.echo("echo service");
}