Package com.pccw.service.iace

Examples of com.pccw.service.iace.HelloHessian


        HessianProxyFactory factory = new HessianProxyFactory();
        factory.setUser("guxuede");
        factory.setPassword("dg23hhjs");
        System.out.println(factory.getBasicAuth());
        try {
            HelloHessian hello = (HelloHessian) factory.create(HelloHessian.class, url);
            System.out.println(hello.sayHello());
            MyCar car = hello.getMyCar();
            System.out.println(car.toString());
            for (Map.Entry<String, String> entry : hello.myBabays().entrySet()) {
                System.out.println(entry.getKey() + "   " + entry.getValue());
            }

            for (String str : hello.myLoveFruit()) {
                System.out.println(str);
            }

            hello.save("This is a let");
        } catch (MalformedURLException e) {
            e.printStackTrace();
        }
    }
View Full Code Here

TOP

Related Classes of com.pccw.service.iace.HelloHessian

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.