>From: Tom Chiverton <[EMAIL PROTECTED]> >Reply-To: [email protected] >To: [email protected] >Subject: Re: [flexcoders] FDS services-config for CFC's >Date: Fri, 9 Mar 2007 14:34:19 +0000 > >On Friday 09 Mar 2007, Darren Houle wrote: > > You don't install FDS on Coldfusion 7.0.2, it includes built in support >for > > FDS with CFCs > >It does ?!? >You're not confusing FDS with plain Remoting are you ?
I don't think so. In the 7.0.2 CFIDE (CF Administrator) if you click "Data & Services" and then "Flex Integration" you get a page with several settings. There are two checkboxes at the very top... Enable Flash Remoting support This enables a Flash client to connect to this ColdFusion server and invoke ColdFusion Components (CFCs). If you are not using this feature, it is recommended that it be disabled. Enable Flex Data Management support This enables Flex Data Services to connect to this ColdFusion server and use ColdFusion Components (CFCs) as the implementation for the reading and updating of data that supports a Flex application. If you are not using this feature, it is recommended that it be disabled. and the CFIDE help file for this admin page adds this... Enable Flash Remoting support Specifies whether to enable Flash clients to connect to this ColdFusion server and invoke methods in ColdFusion components (CFCs). Enable Flex Data Management support Specifies whether to enable a Flex Data Services server to connect to this ColdFusion server and invoke methods in CFCs to fill, sync, get, or count records in a result set used in a Flex application. I see "fill" and Flex Data Services and CFC's, so... If I'm misunderstanding something then someone *please* correct me. Is FDS in there already, or does this just allow CF to talk to an FDS app but you still have to install something somewhere? >From what I understand CF is a big java app that can be installed on an existing instance of JRun, or else by default CF installs on a bare server with it's own internal JRun, so... if you wanted to install FDS express on CF you wouldn't use the "integrated JRun" version because then you'd have two JRun's... but you could install FDS as a J2EE app on your existing JRun... IF... the CFIDE didn't have those checkboxes under Flex Integration to confuse things. So... I'm *assuming* I can use the Flex Builder Extensions to view RDS, select a database and table, click Generate CFCs, create the assembler, dao, and bean, drop them in my CF site, enable the FDS checkbox in CFIDE, and then... what? I need to map some things in the services-config.xml file. Do I specify an adapter? or just the service-to-assembler cfc path? *Something* has to be mapped, right? If I could just get an example / sample services-config.xml where someone is using FDS with CF CFCs I'd be fine. Darren

