Package org.apache.geronimo.samples.requirebundle.bean

Examples of org.apache.geronimo.samples.requirebundle.bean.CalculatorBean.sub()


      ExportBean eb = new ExportBean();
            String re = eb.hello_reexport();
            out.println("<h1>This sample presents features:require-bundle</h1>");
      out.println("<p>"+re+"</p>");
            out.println("<li>Bean_B [\"CalculatorBean\"] says, result of ADD operation [\"10.0 + 8.0 = ?\"] is: " + mydf.format(cb.add(10.0, 8.0))+"</li>");
            out.println("<li>Bean_B [\"CalculatorBean\"] says, result of SUB operation [\"10.0 - 8.0 = ?\"] is: " + mydf.format(cb.sub(10.0, 8.0))+"</li>");
            out.println("</body></html>");
        } catch ( Exception e ) {
            e.printStackTrace();
            throw new ServletException(e);
        } finally {
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.