springMVC整合hessian
文章目录
1.因为我是maven,所以pom.xml先引用hessian的pom
com.caucho
hessian
${hessian.version}
2.然后web.xml中配置过滤器
flowFrame
org.springframework.web.servlet.DispatcherServlet
contextConfigLocation
classpath:spring/spring-*.xml
1
3.创建spring-hessian.xml
这样服务端的hessian就可以了
4.客户端调用的话需执行1.2步骤
然后创建spring-hessian.xml
这样就可以通过hessian调用接口了
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论