Package rmi.src

Examples of rmi.src.Interface


        int n = Integer.parseInt(sn);
        Bernoulli bernoulli = null;
        PrintWriter out = res.getWriter();

        try {
            Interface obj = (Interface)Naming.lookup("//"+host+":"+port+"/Bernoulli");
            bernoulli = obj.bernoulli(n);
        }
        catch (Exception e) {
            System.out.println(e.getMessage());
            System.exit(1);
        }
View Full Code Here

TOP

Related Classes of rmi.src.Interface

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.