Using Server-Side Actionscript - Adobe 38043740 - ColdFusion Standard - Mac Development Manual

Developing applications
Hide thumbs Also See for 38043740 - ColdFusion Standard - Mac:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Flex and AIR Integration in ColdFusion
Configure Flex
Export the keystore to a certificate by using the keytool utility, with a command like the following:
1
keytool -export -v -alias FlexAssembler -keystore cf.keystore -rfc -file cf.cer
Import the certificate into the JRE cacerts file for your server by using the keytool utility, with a command like the
2
following:
keytool -import -v -alias FlexAssembler -file cf.cer -keystore
C:\fds2\UninstallerData\jre\lib\security\cacerts
The previous example specifies the location of the keystore for LiveCycle Data Services ES with integrated JRun,
installed using the default settings. If you are using a different server, specify the location of the cacerts file for the
JRE that you are using. For example, if you are using JBoss, you specify the keystore location as
$JAVA_HOME/jre/lib/security/cacerts.
Enable SSL in the ColdFusion Administrator
1
In the ColdFusion Administrator, select Data & Services > Flex Integration, and specify the keystore file in the Full
Path to Keystore text box.
Specify the keystore password in the Keystore password text box.
2
Select the Enable RMI over SSL for Data Management option, and then click Submit Changes.
3
If you specify an invalid keystore file or password, ColdFusion does not enable SSL, and disables Flex Data
Management Support.
Data translation
The following table lists the ColdFusion data types and the corresponding Adobe Flash or ActionScript data type:
ColdFusion data type
String
Array
Struct
Query
CFC
CFC Date
CFC String
CFC Numeric
ColdFusion XML Object

Using Server-Side ActionScript

Adobe ColdFusion server configuration includes the Flash Remoting service, a module that lets Adobe Flash
developers create server-side ActionScript. These ActionScript files can directly access ColdFusion query and HTTP
features through two new ActionScript functions:
Flash data type
String
[] = Array
{} = untyped Object
ArrayCollection
Class = typed Object (if a matching ActionScript class exists, otherwise the CFC becomes a
generic untyped Object (map) in ActionScript)
ActionScript Date
ActionScript String
ActionScript Numeric
ActionScript XML Object
and
CF.query
Last updated 1/20/2012
.
CF.http
688

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents