Package org.jboss.test.scoped.interfaces.dto

Examples of org.jboss.test.scoped.interfaces.dto.SimpleRequestDTO


      System.out.println("classesDir = " + classesDir.getAbsolutePath());

//      info.writeFile(classesDir.getAbsolutePath());

      // copy the generated file in deploy to the classes directory
      SimpleRequestDTO tmpFile = new SimpleRequestDTO();
      String classPath = tmpFile.getClass().getResource("SimpleResponseDTO.class").getPath();
      File fileSrc = new File(libDir.getAbsolutePath() + "/org/jboss/test/scoped/interfaces/dto/SimpleResponseDTO.class");
      File fileDest = new File(classPath);
      copyFiles(fileSrc, fileDest);

View Full Code Here


      SessionBHome home = (SessionBHome) getInitialContext().lookup("SessionB");
      SessionB session = home.create();


      SimpleRequestDTO requestDTO = new SimpleRequestDTO();
      requestDTO.setFirstName("Daffy");
      requestDTO.setLastName("Duck");
      //SimpleResponseDTO result = session.runSimpleTest(requestDTO);
      Object result = session.runSimpleTest(requestDTO);

      System.out.println("result was " + result);
      //System.out.println(result.getFirstName() + " " + result.getLastName());
View Full Code Here

      System.out.println("classesDir = " + classesDir.getAbsolutePath());

//      info.writeFile(classesDir.getAbsolutePath());

      // copy the generated file in deploy to the classes directory
      SimpleRequestDTO tmpFile = new SimpleRequestDTO();
      String classPath = tmpFile.getClass().getResource("SimpleResponseDTO.class").getPath();
      File fileSrc = new File(libDir.getAbsolutePath() + "/org/jboss/test/scoped/interfaces/dto/SimpleResponseDTO.class");
      File fileDest = new File(classPath);
      copyFiles(fileSrc, fileDest);

View Full Code Here

      SessionAHome home = (SessionAHome) getInitialContext().lookup("SessionA");
      SessionA session = home.create();


         SimpleRequestDTO requestDTO = new SimpleRequestDTO();
         requestDTO.setFirstName("Daffy");
         requestDTO.setLastName("Duck");
         SimpleResponseDTO result = session.runSimpleTest(requestDTO);

         System.out.println(result.getFirstName() + " " + result.getLastName());

   }
View Full Code Here

      System.out.println("classesDir = " + classesDir.getAbsolutePath());

//      info.writeFile(classesDir.getAbsolutePath());

      // copy the generated file in deploy to the classes directory
      SimpleRequestDTO tmpFile = new SimpleRequestDTO();
      String classPath = tmpFile.getClass().getResource("SimpleResponseDTO.class").getPath();
      File fileSrc = new File(libDir.getAbsolutePath() + "/org/jboss/test/scoped/interfaces/dto/SimpleResponseDTO.class");
      File fileDest = new File(classPath);
      copyFiles(fileSrc, fileDest);

View Full Code Here

      SessionAHome home = (SessionAHome) getInitialContext().lookup("SessionA");
      SessionA session = home.create();


         SimpleRequestDTO requestDTO = new SimpleRequestDTO();
         requestDTO.setFirstName("Daffy");
         requestDTO.setLastName("Duck");
         SimpleResponseDTO result = session.runSimpleTest(requestDTO);

         System.out.println(result.getFirstName() + " " + result.getLastName());

   }
View Full Code Here

      System.out.println("classesDir = " + classesDir.getAbsolutePath());

//      info.writeFile(classesDir.getAbsolutePath());

      // copy the generated file in deploy to the classes directory
      SimpleRequestDTO tmpFile = new SimpleRequestDTO();
      String classPath = tmpFile.getClass().getResource("SimpleResponseDTO.class").getPath();
      File fileSrc = new File(libDir.getAbsolutePath() + "/org/jboss/test/scoped/interfaces/dto/SimpleResponseDTO.class");
      File fileDest = new File(classPath);
      copyFiles(fileSrc, fileDest);

View Full Code Here

      SessionBHome home = (SessionBHome) getInitialContext().lookup("SessionB");
      SessionB session = home.create();


      SimpleRequestDTO requestDTO = new SimpleRequestDTO();
      requestDTO.setFirstName("Daffy");
      requestDTO.setLastName("Duck");
      //SimpleResponseDTO result = session.runSimpleTest(requestDTO);
      Object result = session.runSimpleTest(requestDTO);

      System.out.println("result was " + result);
      //System.out.println(result.getFirstName() + " " + result.getLastName());
View Full Code Here

TOP

Related Classes of org.jboss.test.scoped.interfaces.dto.SimpleRequestDTO

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.