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
