Package org.apache.greeter_control

Examples of org.apache.greeter_control.Greeter


        if (name == null) {
            name = "Unknown";
        }
        InitialContext ctx = new InitialContext();
        Service service = (Service)ctx.lookup("java:comp/env/services/Greeter");
        Greeter greeter = service.getPort(Greeter.class);
        System.out.println("WebService returned: " + greeter.greetMe(name));
    }
View Full Code Here

TOP

Related Classes of org.apache.greeter_control.Greeter

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.