Examples of changeMessage()


Examples of org.jboss.tutorial.partial_deployment_descriptor.bean.PartialXMLDD.changeMessage()

      securityClient.login();
      System.out.println("bill is an admin");
      // Now work on the other bean
      PartialXMLDD partialXMLDDBean = (PartialXMLDD) ctx.lookup("PartialXMLDD/remote");
      System.out.println("Sending Hello World message to bean. We expect the bean to change it");
      System.out.println(partialXMLDDBean.changeMessage("Hello world"));

      System.out.println("Now calling echo message");
      System.out.println(partialXMLDDBean.echoMessage("Hello World"));

      //let's remove the bean
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.