Hessian是一個輕量級的remoting onhttp工具,採用Binary RPC協議來提供RMI功能.
服務端:
引入Hessian的jar包
設計接口
實現接口
配置web.xml,配好對應的servlet
對象需要實現Serializable接口
客戶端:
引入Hessian的jar包
具有和服務器端一樣的接口
利用HessianProxyFactory調用遠程接口
Hessian是一個輕量級的remoting onhttp工具,採用Binary RPC協議來提供RMI功能.
服務端:
引入Hessian的jar包
設計接口
實現接口
配置web.xml,配好對應的servlet
對象需要實現Serializable接口
客戶端:
引入Hessian的jar包
具有和服務器端一樣的接口
利用HessianProxyFactory調用遠程接口