Package org.jboss.tutorial.partial_deployment_descriptor.bean

Examples of org.jboss.tutorial.partial_deployment_descriptor.bean.PartialXMLDD


      // let's login with other user
      securityClient.setSimple("bill", "bill123");
      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
      System.out.println("We are done with the bean, let's remove it");
      partialXMLDDBean.remove();
      System.out.println("Bean removed");

   }
View Full Code Here

TOP

Related Classes of org.jboss.tutorial.partial_deployment_descriptor.bean.PartialXMLDD

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.