}
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());