Hessian入门

本文介绍Hessian二进制WebService协议,并通过创建Java接口作为公共API、使用HessianProxyFactory创建客户端、实现服务接口类及配置Servlet引擎来演示如何搭建Hessian服务。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

     官方http://hessian.caucho.com/对hessian的描述很精辟:

     The Hessian binary web service protocol makes web services usable without requiring a large framework, and without learning yet another alphabet soup of protocols. Because it is a binary protocol, it is well-suited to sending binary data without any need to extend the protocol with attachments.

    只是怎么官方最近的jar to java貌似都不能用,鄙视下...

   

    Creating a Hessian service using Java has four steps:

  1. Create an Java interface as the public API
  2. Create a client using HessianProxyFactory
  3. Create the Service implementation class
  4. Configure the service in your servlet engine.

  

  

  

  

  

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值