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

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



         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



         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

   public SimpleResponseDTO runSimpleTest(SimpleRequestDTO requestDTO)
   {

       try
       {
          SimpleResponseDTO rsDTO = new SimpleResponseDTO();
          rsDTO.setFirstName(requestDTO.getFirstName().toUpperCase());
          rsDTO.setLastName(requestDTO.getLastName().toUpperCase());
          System.out.println("Got firstname: " + requestDTO.getFirstName());
          System.out.println("Got lastname:" + requestDTO.getLastName());
           return rsDTO;
       }
       catch (Throwable t)
       {
           Logger logger=Logger.getLogger(this.getClass());
           logger.error(t);

           SimpleResponseDTO rsDTO =  new SimpleResponseDTO();

           return rsDTO;
       }
   }
View Full Code Here

   public SimpleResponseDTO runSimpleTest(SimpleRequestDTO requestDTO)
   {

       try
       {
          SimpleResponseDTO rsDTO = new SimpleResponseDTO();
          rsDTO.setFirstName(requestDTO.getFirstName().toUpperCase());
          rsDTO.setLastName(requestDTO.getLastName().toUpperCase());
          System.out.println("Got firstname: " + requestDTO.getFirstName());
          System.out.println("Got lastname:" + requestDTO.getLastName());
           return rsDTO;
       }
       catch (Throwable t)
       {
           Logger logger=Logger.getLogger(this.getClass());
           logger.error(t);

           SimpleResponseDTO rsDTO =  new SimpleResponseDTO();

           return rsDTO;
       }
   }
View Full Code Here

TOP

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

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.