> P.S. While I'm writing: Is there a summary of the differences between
> Hessian 1 and 2, without having to study the specs? Are there reasons to
> choose either in a specific environment?
>

Hessian 2 includes mainly optimizations that can reduce the size of
the encodings - so therefore you need to to have a Hessian 2 encoder
to create the binaries and a Hessian 2 decoder in order to correctly
read the optimized encoding. A Hessian 2 implementation *should*
theoretically be able to read Hessian 1 input (apart from the protocol
version in the header). The reason to choose between one or another is
based on the languages you want to interact with - if you have a Java
server using Hessian 2, this may be a problem if your client written
in language X only supports Hessian 1. Therefore you have 2 choices -
use a common version, or improve the language X library to support
Hessian 2.

HTH,

Ben


_______________________________________________
hessian-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/hessian-interest

Reply via email to