Radu-Adrian Popescu wrote:
> Hello dear sirs,
>
> We at Aldratech Ltd. have built for internal use a C++ client library for
> Hessian.
That's fantastic!
> We've found Hessian to be an excellent piece of work and we'd like to
> give something back.
>
> The hessiancpp library consists of:
> - simple HTTP library with SSL support (OpenSSL)
> - implementation of the Hessian protocol
> - GZIP support both in the client and in the server (the hessian
> server side
> code has a small, non-intrusive addition that compresses the output
> stream if
> the size of the reply exceeds a certain value); we've found this to
> *greatly*
> reduce the size of the messages for replies of type List<LargeBean> or
> exception
> stack traces (that are mostly irrelevant for C++)
I like this idea, but the Hessian protocol should probably be enhanced
to support it, e.g. a 'Z' or 'z' prefix to the hessian message would
indicate that it's gzipped. Or possibly the initial 'r' should have the
2nd byte be a flags byte and have gzip as one of the flags.
> - a hessian_proxy class that can be used to dynamically invoke remote
> methods
> - a servlet that piggy-backs on the default service servlet from
> Hessian to
> present a service interface when HTTP GET is used (sort of primitive
> .NET asmx
> style auto-doc).
How does the GET encode parameters?
> The library also makes good use of STL and exceptions, and allows one
> to use it
> at both protocol and method call level.
>
> Hessiancpp has been developed and tested on both Linux (Fedora Core 2
> x86_64,
> Redhat 7.2) and Windows (XP, 2003 Server).
>
> Please let us know how to proceed. We'd like to have peer review of
> the code,
> while also being able to make changes; for this, a sourceforge project
> seems the
> way to go; on the other hand we'd like to see the C++ implementation
> listed
> together with the Java & Python ones on the Hessian pages at Caucho.
> Licensing is also something that needs to be addressed; we'd like to
> have the
> code copyrighted but under an OS license, say LGPL.
We would certainly love to link to it!
The cleanest solution would probably for you to create your sourceforge
project and maintain ownership of it. That way you can choose the
copyright that works best for you. We'll link to it from caucho.com as
the C++ Hessian implementation.
-- Scott
> As a side note, I've just learned that www.fhso.ch is interested in
> using the
> library in a research project involving mobile equipment and e-health
> (they
> already use Java Hessian).
>
> Please share your thoughts,
> Regards,
Received on Tue 12 Oct 2004 14:04:50 -0700
This archive was generated by hypermail 2.1.8 : Thu Sep 28 2006 - 20:16:40 PDT