Package org.jboss.tutorial.ssl.bean

Examples of org.jboss.tutorial.ssl.bean.Calculator.subtract()


      {
         System.out.println("Caught expected EJBAccessException : " + ex.getMessage());
      }

      System.out.println("Kabir is a student, and students are allowed to do subtraction");
      System.out.println("1 - 1 = " + sslCalculator.subtract(1, 1));
     
      // Now let's use the bean whose proxy communicates via normal socket: protocol
      Calculator normalCalculator = (Calculator) ctx.lookup("CalculatorNormal");
      // do some operation
      System.out.println("Invoking bean methods on a proxy through normal socket");
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.