Enhanced Flash Remoting

ColdFusion 9 has introduced enhanced Flash Remoting.

  • Enhanced Flash Remoting supports Circular references for objects which are not supported in old Flash Remoting (ColdFusion 8).

  • Enhanced Flash Remoting is significantly faster than the old one

The default ColdFusion 9 installation makes use of this Enhanced Flash Remoting. The structure inside the xml configuration files under WEB-INF/flex directory has been changed to support Enhanced Flash Remoting.

ColdFusion 9 supports Old XML configurations files as well, but with these files it will not be using Enhanced Flash Remoting. To take advantage of Enhanced Flash Remoting, while migrating your old XML files to ColdFusion9, you should make sure that they comply with new XML structural changes.

If you are using LCDS with ColdFusion 9, then Flash Remoting works on LCDS 2.6.1. Ensure that you are on LCDS 2.6.1 to make use of the enhanced Flash Remoting.

ColdFusion 9 is backward compatible with old Flash Remoting as well, to support LCDS2.5 and prior releases.

Now in a case, where you require to continue with LCDS 2.5 or prior versions, it will not be possible for you to use enhanced Flash Remoting offered by ColdFusion 9. In this scenario, you can continue working with LCDS2.5 and prior versions with old style XML configuration files.

To use the old style flash remoting with LCDS 2.5, first remove the existing ColdFusion 9 flex-*.jar files from cfusion/lib by taking a backup of the files and placing the LCDS2.5 flex-*.jar files in the cfusion\lib directory. After this, you can continue to use the old style (ColdFusion 8) XML configuration files by placing them under WEB-INF\Flex\ directory. Also make sure that WEB-INF\ flex\jar\cfdataserviceadapter.jar is also present.

For detailed steps on integrating LCDS2.5 with ColdFusion, see the technote on www.adobe.com.

Another case here could be that you have integrated LCDS 2.6.1 with ColdFusion 9 and still you want to use old Flash Remoting. You can implement this scenario, but in this case you cannot take advantages offered by enhanced Flash Remoting.