4445464748495051525354
InitialContext context = new InitialContext(); Object ref = context.lookup("Evento"); final EventoEJBRemote eventoEJBRemote = (EventoEJBRemote) ref; return eventoEJBRemote.pesquisarEventoPorId(2); } catch (Exception e) { log.error("", e); }