Package com.caucho.hessian.client

Examples of com.caucho.hessian.client.HessianConnectionFactory


    }
   
    public static void executeWeibo(){
        String url = "http://localhost:8080/HessianServer/remoting/weibo1";
        HessianProxyFactory proxyFactory = new HessianProxyFactory();
        HessianConnectionFactory connFactory=new MyConnectionFactory();
        proxyFactory.setConnectionFactory(connFactory);
        connFactory.setHessianProxyFactory(proxyFactory);

      try {
        IWeibo weibo;
        weibo = (IWeibo) proxyFactory.create(IWeibo.class, url);
        System.out.println(weibo.getContacts());
View Full Code Here

TOP

Related Classes of com.caucho.hessian.client.HessianConnectionFactory

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.