Hessian

Hessian 总结

[b]1.官方网址[/b]
[url]http://hessian.caucho.com/[/url]
这网站比较简单,经常报404。

[b]
2.什么是hessian[/b]
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.
Hessian是一个轻量的二进制网络服务,提供远程接口调用服务。它是一个轻量级框架,不需要你去学习其他的服务协议,因为他是通过二进制传输的,生成的二进制流像普通的访问一样,在网络进行传输,不需要扩展其他协议。

[b]3.支持的语言[/b]
因为hessian遵照二进制协议,所以可以提供多个语言的服务。
可以支持如下语文
wiki Java Flash/Flex Python C++ .NET C# D Erlang PHP Objective C

[b]4.附件是java实现的demo.确实是轻量级的,构建简单。[/b]
创建hessian服务分四步:
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.

5 Hessian最核心的内容是他的序列化和反序化。并没有采用java的序列化机制。与其相比,hessian序列化简单、形成的字节流更加的精简。这个经过裸测。
[b]
6 comparing Hessian and Burlap to ORMI, Java RMI, XML-RPC, and HTTPInvoker.[/b]
[url]http://daniel.gredler.net/2008/01/07/java-remoting-protocol-benchmarks/[/url]

[b]7 附件说明:[/b]

hessian.rar : hessian demo
springhessian.rar : sping 与 hessian的整合
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值