Saturday, July 04, 2009    
Home My Books Blog ColdFusion About Me Back    

Calendar
<< May 2008 >>
S M T W T F S
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
             

Search

Categories
 • Acrobat (3) [RSS]
 • Adobe (76) [RSS]
 • AdobeMAX06 (45) [RSS]
 • AdobeMAX07 (59) [RSS]
 • AdobeMAX08 (66) [RSS]
 • AdobeMAX09 (10) [RSS]
 • AIR (190) [RSS]
 • Appearances (175) [RSS]
 • Books (70) [RSS]
 • CFEclipse (14) [RSS]
 • ColdFusion (1277) [RSS]
 • Data Services (28) [RSS]
 • Fish Tank (3) [RSS]
 • Flash (144) [RSS]
 • Flex (458) [RSS]
 • Home Automation (3) [RSS]
 • Jobs (113) [RSS]
 • JRun (13) [RSS]
 • Labs (35) [RSS]
 • LiveCycle (30) [RSS]
 • MAX (205) [RSS]
 • Mobile (103) [RSS]
 • Regular Expressions (17) [RSS]
 • RIA (17) [RSS]
 • SQL (39) [RSS]
 • Stuff (524) [RSS]
 • Tips (CF Studio) (80) [RSS]
 • Tips (CF) (795) [RSS]
 • Tips (Dreamweaver) (91) [RSS]
 • Tips (Flex Builder) (2) [RSS]
 • Using CF (154) [RSS]

Other BLOGs
 • Charlie Arehart
 • Lee Brimelow
 • Ray Camden
 • Christophe Coenraets
 • Sean Corfield
 • Mihai Corlan
 • Cornel Creanga
 • Mark Doherty
 • John Dowdell
 • Danny Dura
 • Enrique Duvos
 • Steven Erat
 • Kevin Hoyt
 • Serge Jespers
 • Adam Lehman
 • Duane Nickull
 • Miti Pricope
 • Andrew Shorten
 • Ryan Stewart
 • James Ward
 • Greg Wilson
 • Full As A Goog

RSS Feeds
 • Feed
 • Subscribe

Join my mailing list and find out about new books and other topics of interest.

Thoughts, ideas, tips, musings, and pontifications (not necessarily in that order) by Ben Forta ...
NOTE: This is my personal blog, and the opinions and statements voiced here are my own.

Viewing By Entry / Main
May 16, 2008

Toronto Flex Camp Data Services Presentation Roundup

Yesterday evening I presented a session on data services at a Flex Camp in Toronto. I ran through a series of demos (and ran 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 then 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).

TrackBacks
There are no trackbacks for this entry.

No trackback URL. Trackbacks are only allowed via interactive form.

Comments
Any way to get a copy of your presentation and/or demo code? Please?

Thanks!
# Posted By Tim Horne | 5/16/08 2:15 PM
Many of the examples, and more, can be found here

http://www.adobe.com/devnet/livecycle/articles/bla...

--- Ben
# Posted By Ben Forta | 5/16/08 2:26 PM
Dude, you rocked last night!

Since I couldn't ask my question then, I'll ask it now. Is it in the roadmap, that ColdFusion will be able to do server-side AS3? To be able to work in a single language like ActionScript 3 within my Flex RIA as well as on the server-side would be tremendous. I think that this would really raise the bar above what the competion has.

Kudos to the fine work you Adobe guys are doing.

-- Johnny
# Posted By Johnny Opcode | 5/16/08 5:24 PM
Johnny,

It's an intriguing idea, and one we are indeed looking into.

--- Ben
# Posted By Ben Forta | 5/16/08 5:36 PM
Hi Ben

Thank you for everything at FlexCamp 2 on Thursday night Ben. It was pleasure to finally get to meet you and hear you speak. I look forward to catching you again some day.
# Posted By Bill Betournay | 5/17/08 9:17 AM
Glad to hear that Adobe is looking into doing server-side AS3 in ColdFusion. A platform that let's me quickly code in AS3 on both ends of the wire, and let's me leverage existing server-side Java and .NET assets, and on top of that act as a CORBA bridge to legacy mainframe apps would be very well received in the enterprise world.
# Posted By Johnny Opcode | 5/17/08 12:30 PM
AFAIK the "LiveCycle integrated into ColdFusion 8" has NOT been updated in the latest
ColdFusion 8.0.1 updater; what could still be the advantage of using this CF8 integrated
LCDS ? I know that it is running in the same JVM as CF8. Can this still be advantageous to
using the newest LCDS running in its own JVM ?
# Posted By Kai Tischler | 5/18/08 3:19 PM
Kai,

The LCDS in CF8 was not updated because LCDS 2.6 is in beta and is not released yet. See http://labs.adobe.com/technologies/livecycle_datas.... As for what version to run, you can indeed use an external LCDS or BlazeDS with CF, or you can continue to use the integrated version. It depends if you need the new features in 2.6 or not. For basic use, pushing messages and experimenting with data management, the integrated LCDS will be far simpler.

--- Ben
# Posted By Ben Forta | 5/18/08 3:31 PM

  © Copyright 1997-2009 Ben Forta, All Rights Reserved