Package sample.rmi.server

Examples of sample.rmi.server.Service4Interface.method4()


            parent.setParam2(5);
            param1.put("key1",parent);
            param1.put("key2","value2");
            param1.put("key3",new Integer(6));

            Map result = proxy.method4(param1);
            ParentClass resultParent = (ParentClass) result.get("key1");
            System.out.println("Parent param1 ==> " + resultParent.getParam1());
            System.out.println("Parent param2 ==> " + resultParent.getParam2());
            System.out.println("Key 2 ==> " + result.get("key2"));
            System.out.println("Key 3 ==> " + result.get("key3"));
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.