Hi Emil, I had a look at the bug report you linked to but I don't agree with it, I have got Hessian running without using mxml and don't see why Vic doesn't just remove the mxml directory (after downloading the source) and just use the client and io packages. Maybe it would be good to have two different swc downloads, one with and one without the mxml directory.
Maybe I am not understanding your comments about the other Hessian implementation being just a serializer/de-serializer correctly, but the other code base has gone as far to allow operation calling on the target service class in a very clean way, its just that it is still the Hessian 1 spec and with a few problems, I still think it would be beneificial to create a Flash Hessian implementation (even if it has some reduced functionality) as this would allow greater use of the Hessian protocol. Or if anyone out there has found a way to use Flex language specific packages (eg. rpc) in Flash then please point me in the right direction. I am more than willing to make a documentation submission which talks about Flash/Flex requirements and useful links if that would be helpful at all? I have also created a Flex Hessian example app using the Cairngorm framework if anyone would like to take a look. But if anything, I think its probably fair to say that the Hessian Flash docs need to state that Flex is required and, at this stage, can not be used from within Flash alone. Josh On 25/01/2008, at 6:21 AM, Emil Ong wrote: > On Thu, Jan 24, 2008 at 11:17:31PM +1300, Josh Kalderimis wrote: >> Hi Emil, >> >> Thank you very much for your reply, and sorry for the delay in mine. >> >> My friend, who is doing the Flash side of things, has told me that >> the Flex dependencies are not usable from within Flash CS3, meaning >> that the Flex development environment and/or compiler are required if >> we want to use Hessian. >> >> I am not saying that this is a bad thing, a bit disappointing yes, >> but it would be nice if a Flash version is created so that Flex >> doesn't need to be used. I am not saying that Flex is evil as I have >> since come to learn some of the joys of Flex, but Flash has a few >> advantages, namely reduced swf size and popularity. It would also be >> nice to see the Hessian web site and documentation updated to explain >> how Flex is required. >> >> We did come across a third-party Hessian library on SourceForge (as >> mentioned) which did work solely in Flash but the problem was it was >> a flawed implementation with the serialization and de-serialization >> not working correctly. It did show that Hessian can be used solely in >> Flash, but it required a fair bit of TLC. >> >> Can I also take a few lines to say thank you for putting so much hard >> work into such a great project, if your ever down in New Zealand do >> shout out, dinners on me. > > Hey Josh, > > I haven't looked at the SourceForge project you mentioned, but I'm > guessing it's just a serializer/deserializer. The added code for the > client requires flex because it extends the flex RPC infrastructure. > If you're willing to serialize/deseralize the Hessian stream without > using the client, you could remove everything except the hessian.io > package and recompile the swc. You'll also need to get rid of > hessian/io/Hessian2StreamingInput.as, but that should be it. Just > download the Resin source code, look in modules/flash and run ant > hessian-flash from the top level. > > Vic asked that I remove the flex dependencies from the streaming code: > > http://bugs.caucho.com/view.php?id=2349 > > It'll take me at least a couple of weeks to get around to that though. > I'm guessing this won't affect your use though. > > Best, > Emil > > ============================================================ > > Emil Ong > Chief Evangelist > Caucho Technology, Inc. > Tel. (858) 456-0300 > mailto:[EMAIL PROTECTED] > > Caucho: Reliable Open Source > --> Resin: application server > --> Quercus: PHP in Java > --> Hessian Web Services > > > _______________________________________________ > hessian-interest mailing list > [email protected] > http://maillist.caucho.com/mailman/listinfo/hessian-interest _______________________________________________ hessian-interest mailing list [email protected] http://maillist.caucho.com/mailman/listinfo/hessian-interest
