Hey all,
I’m wondering what experience the group has with using
Flex 1.5 with servers running Flash Remoting but not Flex. I’d like to
distribute my application processing across a number of servers running Flash
Remoting and have fewer Flex servers. I have experimented with a couple
options:
- OpenAMF
Using OpenAMF with Flex requires abandoning the <RemoteObject> tag
and using the ActionScript Remoting libraries. This is because the Flex
client sends AMF messages in a different structure (they are wrapped in an
envelope that contains metadata) than Flash Remoting v1 or the standalone Remoting
client libraries. With this resolved with a couple hacks to OpenAMF, I
still found that the AMF responses from OpenAMF differed enough from the
Flash Remoting implementation provided by Flex that I could not use it as
a drop-in replacement. For simple messages, OpenAMF worked fine but for
complex messages with cyclical references, the behavior was different. Some
work there for the OpenAMF team but for now I need to put aside this option.
- Flash Remoting v1.1
This is what I will call the version of Flash Remoting bundled with Flex
1.5. I believe that there has not been a standalone release of this
version. However, there is documentation on using this version on the
Macromedia site: http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=46f3d4ac.
This document implies that you can use the flashgateway.jar file provided
with Flex and use it with an existing Flash Remoting serial number. I have
successfully configured Flash Remoting using this jar and a
gateway-config.xml file in a webapp without Flex running. However, Flash
Remoting runs in developer mode. This is true even when I configure the
gateway with a valid serial number as documented in the above technote.
That kinda sucks. Has anyone run in to this?
Alon
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
|
- [flexcoders] Issues using standalone Flash Remoting with Fle... Alon J Salant
-