Yesterday evening I presented a session on data services at a Flex Camp in Toronto. I ran through a series of demos (and run over time, of course) and several attendees asked (repeatedly, both during the session and afterwards) for me to clarify which needed Data Services and which didn't, as well as which needed LiveCycle Data Services versus those which could use the free open-source BlazeDS. And so, in the order that they were presented:
  1. Basic HTTP calls via <mx:HTTPService> - nothing special needed on the back-end, any server or app that can respond to HTTP calls can be invoked this way, and this is definitely the crudest (and generally least preferred) form of integration.
  2. Web Service calls via <mx:WebService> - nothing special needed on the back-end, if you have code that is exposed as a Web Service, then the Flash Player can invoke it (although this generally does not perform as well as the next option).
  3. Flash Remoting via <mx:RemoteObject> - this obviously requires a back-end that can respond to AMF requests, if you are a ColdFusion user than you have Flash Remoting built-in and so nothing more is needed, if you are a Java user then you'll want to install data services to give you this functionality (either BlazeDS or LiveCycle DS will do), and if you are using some other back-end then you'll want to look at community and 3rd party offerings (as a rule, use this option over Web Services).
  4. Messaging via <mx:Consumer> and <mx:Producer> - this is what powered the chat apps and real-data push updates, and this does require data services on the back-end, and either BlazeDS or LiveCycle DS (including the LiveCycle integrated into ColdFusion 8) will do.
  5. Data management and synchronization via <mx:DataService> - this is what powered the synchronized data editing screens (including pushing updates, conflict resolution, auto-commits, and more) and this requires LiveCycle DS on the back-end (sorry, BlazeDS won't do for this one).

Subscribe to Planet Flash

Search

Tags

3d 3d Flash Actionscript actionscript 3 ActionScript 3.0 Adobe Adobe Air Adobe AIR (Apollo) Adobe Flash Adobe Flex AdobeMAX08 AIR AIR Adobe Integrated Runtime Announcements apollo as3 Asides awards BEA Beautiful Web Business Cairngorm ColdFusion Community Components Conferences design dev Development Events Examples Featured Flash Flash CS3 Flash experiments flash player Flex Flex 3 Flex Example FMS Fun Gallery General GeoWeb Google Jobs linux Marketing MAX MAX 2007 Misc News news & events Open Source Other Papervision3D Personal photos Photoshop Process Processing RIA Singularity Site News Stuff techmology Technology Thinking Loud Tips Uncategorized Video Whatever

Blogs

Buttons

Planetarium