Package enterprise.web.tookit.evento

Examples of enterprise.web.tookit.evento.Evento


      InitialContext context = new InitialContext();
      Object ref = context.lookup("Evento");

      eventoEJBRemote = (EventoEJBRemote) ref;

      Evento evento = new Evento();
      evento.setId(1);

      eventoEJBRemote.excluirEvento(evento);
    } catch (Exception e) {
      e.printStackTrace();
    }
View Full Code Here


      InitialContext context = new InitialContext();
      Object ref = context.lookup("Evento");

      eventoEJBRemote = (EventoEJBRemote) ref;

      Evento evento = new Evento();
      evento.setId(1);

      eventoEJBRemote.inativarEvento(evento);
    } catch (Exception e) {
      e.printStackTrace();
    }
View Full Code Here

      InitialContext context = new InitialContext();
      Object ref = context.lookup("Evento");

      eventoEJBRemote = (EventoEJBRemote) ref;

      Evento evento = new Evento();

      evento.setId(2);

      System.out.println(eventoEJBRemote.pesquisarEventoPorId(2));

    } catch (Exception e) {
      e.printStackTrace();
View Full Code Here

TOP

Related Classes of enterprise.web.tookit.evento.Evento

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.