-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Description
Peter Dettman opened SPR-6041 and commented
The Caucho hessian lib has now stabilised its v2.0 protocol and rounded up several regressions, with the release of v4.0.1 (http://caucho.com/download/hessian-4.0.1.jar).
In 4.0.1, the HessianSkeleton class provides a ready-made invoke method that Spring's HessianExporter can call (instead of duplicating its code). I am attaching a patch that modifies HessianExporter.java to do so. The debugging output part of the code is still duplicated of necessity until some suitable refactoring of HessianSkeleton is done.
As far as backward compatibility is concerned, I believe users should avoid using Hessian 2.0 protocol from previous versions (that may be an overly strict interpretation). Hessian 1.0 protocol should work fine with a v4.0.1 server. I understand that there could be problems if people are using HessianOutput/Hessian2Output or streaming versions directly.
I recommend Caucho's Hessian 4.0.1 be used for Spring 3.0, a fresh start of sorts.
See also:
http://maillist.caucho.com/pipermail/hessian-interest/2009-June/000750.html (and surrounding discussion on that list)
http://jira.springframework.org/browse/SPR-5469
http://bugs.caucho.com/view.php?id=3646
Affects: 3.0 M4
Attachments:
- HessianExporter_401.patch (2.88 kB)
Issue Links:
- Support Hessian 3.2.1 [SPR-5469] #10142 Support Hessian 3.2.1
2 votes, 4 watchers