Chapter 28. Integrating Flex Applications with ColdFusion

IN THIS CHAPTER

  • Understanding Flash Remoting and ColdFusion

  • Creating a Flex project for use with ColdFusion

  • Configuring Flash Remoting on the server

  • Creating CFCs for Flex

  • Calling CFC functions and handling CFC function results

  • Passing arguments to CFC functions

  • Using value object classes

  • Using ColdFusion data connections in Flash Builder

  • Working with ColdFusion 9 Services

Flash Remoting, the technology that enables Flash-based documents to communicate with Web-based resources over a high-speed, binary protocol, was first introduced with ColdFusion MX (also known as ColdFusion version 6). In the early days of the technology, before the introduction of Flex, applications built in Flash MX and subsequent releases had the ability to make remote procedure calls to functions of ColdFusion Components (CFCs) over a standard Web connection.

When Flex 1.0 was released, Flash Remoting was adapted for use with Java-based application servers that hosted Java-based classes. Flex client applications could make calls to Java-based methods just as easily as with ColdFusion using the feature first known as Remote Object Services, now known as the Remoting Service.

Note

The Java-based Remoting Service is described in Chapter 26.

Adobe ColdFusion 9 (the most recent version at the time that Flash Builder 4 and Flex 4 were released) continues to offer built-in support for Flash Remoting with Flex-based and Flash-based client applications, and it adds the capability ...

Get Flash® Builder™ 4 and Flex® 4 Bible now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.