Presentation Transcript
Understanding Flex2 Data Services : Thomas Burleson
Principal Architect
Understanding Flex2 Data Services ThomasB@UniversalMind.com “With ColdFusion, why should I care about FDS?”
Flex2 Data Services (FDS) : Flex2 Data Services (FDS) What is FDS?
Why use FDS?
Show me how…
What is FDS? : What is FDS? Flex2 Data Services (FDS) RPC Services Data Services Message Service Flex 2.0 Technology Stack
Flex2 Flash Player : Flex2 Flash Player Distributed Free
Upgrades Automatically
Version Detection
Downloaded from Adobe
Flex IDE : Flex IDE Developer tool costs < $600 Includes source code
Does not support Flex 1.5
No J2EE Server required
No Distribution licenses of SWFs
Flex 2.0 Server Components : Flex 2.0 Server Components CPU-based Server Costs
Leverage Java Messaging System (JMS)
Used with J2EE servers;
JRun, ColdFusion, WebLogic, Websphere
Requires CPU-based licensing
Why use FDS? : Why use FDS? Server-side Security
Performance & Functional Testing
Client Synchronization
Collaboration
Large volumes of data with paging
Data-Push Features
Real-time data delivery (e.g. medical, investment, decision support systems, etc)
Flex 2.0 RPC Services : Flex 2.0 RPC Services FDS JSP/Servlet
(XML)
HttpService (XML)
WebService(SOAP)
RemoteObject(Java)
Web Svc
(SOAP) JAVA
(EJB/POJO) HTTP
SOAP
EJB
HTTPService, SOAP, & RemoteObject(CFC) is FREE in Coldfusion 7.x… FDS2 is not req.
FDS 2.0 is required for RemoteObject(Java) featuresc ColdFusion/J2EE Server
HttpService (XML)
WebService(SOAP)
CFC RemoteObject
Flex 2.0 Message Services (Publish & Subscribe) : Flex 2.0 Message Services (Publish & Subscribe) FDS JSP/Servlet
(XML)
HttpService (XML)
WebService(SOAP)
RemoteObject(Java)
Web Svc
(SOAP) JAVA
(EJB/POJO) HTTP
SOAP
EJB ColdFusion/J2EE Server
Messaging Services
Adapter API
Java Message
Service (JMS) MQSeries
Tibco
Others
Messaging with ColdFusion & Flex : Messaging with ColdFusion & Flex Other
Gateways Flex Messaging
Event Gateway ColdFusion 7.x
Enterprise
Server 1 ColdFusion 7.x
Enterprise
With
FDS2
Server 2 HTML App Flex App RMI See notes!
Flex & Coldfusion : Flex & Coldfusion Flex
Data
Services Coldfusion Server (7.x or higher) Web Browser HTML
XML
CFM
CFC
Event
Gateway Flex SWF(s) Java Remoting (via AMF )
WebServices
XML
Proxies
XML WebServices
CFC Remoting See notes!
Flex2 Data Services: Real-Time Data Sharing (via RTMP or HTTP) : Object
Adapter Adapter API Flex2 Data Services: Real-Time Data Sharing (via RTMP or HTTP) FDS JSP/Servlet
(XML) HttpService (XML)
WebService(SOAP)
RemoteObject(Java)
Web Svc
(SOAP) JAVA
(EJB/POJO) HTTP
SOAP
EJB
Messaging Services
Adapter API
Java Message
Service (JMS) MQSeries
Tibco
Others
O-R
Adapter JDBC
Adapter DAO
Data Synch Services
RDMS
Oracle,
Sybase,
DB2
SQLServer
ColdFusion/J2EE Server RPC RTMP/HTTP
Local Persistence Service : Local Persistence Service Allows offline data access
Provides common API for creating, reading, updating, and deleting local data
Adapters are used for different types of local data storage devices
Local Shared Objects adapter is available in Flex 2.0… FDS is not required
Offline data synchronization supported through combination of local persistence and messaging services… FDS is required! LSO LSO Adapter Local Persistence Service
Show me how… : Show me how… Using C-FDS for:
High-performance, SECURE access to CFCs with native data results
Coldfusion application Flex application messaging
Note: Mike Nimer’s presentation will show CFC<->Actionscript native translations during data marshalling
Using FDS for:
Proxy security & framework for access to distributed data systems.
Coldfusion application Flex application 2-way messaging
Paging large volumes of data
Real-time Data Sharing
Messaging for Dashboard features
Introduce Flex2 Actionscript components for FDS and show source examples: See notes!
Using CFCs with C-FDS : Using CFCs with C-FDS a) Modify /WEB-INF/flex/services-config.xml to add a “named” destination Specify in .mxml file a CFC component with its FULL class path…
this may be a security concern! Modify FDS configuration file to specify an private, custom ID for the desired
classpath. Use this ID in the Flex code… SECURE and PRIVATE. b)
Updating ....
Catch the
buzz on authorSTREAM
Copyright © 2002-2008 authorSTREAM. All rights reserved.
Updating ....
|
Send to Blogs and Networks |
 |