Package org.jboss.test.isolation.interfaces.b

Examples of org.jboss.test.isolation.interfaces.b.SessionB


         buffer = new StringBuffer("My SessionBHome");
         Debug.displayClassInfo(SessionBHome.class, buffer);
         log.info(buffer.toString());
        
         SessionBHome home = (SessionBHome) o;
         SessionB session = home.create();
        
         IsolationDTO dto = new IsolationDTO();
         dto.payload = "hello";
        
         IsolationDTO result = session.sayHello(dto);
         if (dto == result)
            throw new EJBException("Expected pass by value");
         if ("goodbye".equals(result.payload) == false)
            throw new EJBException("Did not get expected 'goodbye'");
      }
View Full Code Here

TOP

Related Classes of org.jboss.test.isolation.interfaces.b.SessionB

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.