> I'm hoping someone can clear up some confusions I
> have regarding Flex and Coldfusion.  Currently I am
> hosting my site with a well-known hosting company.  I
> have many Coldfusion sites running in their shared
> environment.  Today when I talked to them about
> loading my Flex site up (which includes a couple CFC
> components) - they stated "they don't support Flex in
> their shared environment".
>
> What is needed in their environment that is outside of
> their typical Coldfusion server that would keep a Flex
> site from running?  I thought that the Flex generated
> swf file was downloading to people's PC and running on
> their version of Flash Player - and there wasn't any
> magic that would make this work on a typical
> Coldfusion server.

Most of this has been covered in the responses you've already
received, but I think a more complete response might be useful anyway.

First, yes, there's nothing special about Flex applications, they're
just SWF files. As long as you compile them normally, and upload them
to the server, there's nothing special needed to run the Flex
application itself.

If your Flex application needs to fetch or send data at runtime, there
are several methods it can use:

1. HTTPService
This lets you send generic HTTP requests, which can return XML or
name-value pairs or arbitrary strings. This doesn't require anything
special on your server.

2. WebService
This lets you invoke SOAP web services. This requires that you publish
SOAP services; in CF, that means web-accessible CFCs with remote
methods.

3. Flash Remoting
This lets you invoke services through AMF, which is basically a more
efficient, non-XML version of SOAP. This requires that the Flash
Remoting gateway be working; in CF, this is working by default, so it
shouldn't be a problem for you. It also requires that you publish
CFCs, of course.

4. LiveCycle Data Services
This was formerly called Flex Data Services. LCDS contains a suite of
related services, including asychronous messaging and data
synchronization, optionally using Real-Time Messaging Protocol (RTMP)
instead of HTTP. It can be installed as part of the CF 8 install, but
requires a separate license to be used in a multiprocessor
environment. Without a license, you get LCDS Express. In your case,
this was probably not installed on the server due to license
restrictions.

5. BlazeDS
This is a free subset of LCDS functionality, that doesn't include data
synchronization or RTMP. This is not installed with CF, but can be
installed separately. In your case, this was probably not installed.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more informat

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319756
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to