SlideShare a Scribd company logo
Thomas Burleson Principal Architect Understanding  Flex 2  Data Services June 28 th  – July 1 st  2006 [email_address] “ With ColdFusion, why should I care about FDS?”
Flex 2  Data Services (FDS) What is FDS? Why use FDS? Show me how… June 28 th  – July 1 st  2006
What is FDS? June 28 th  – July 1 st  2006 Flex 2  Data Services (FDS) RPC Services Data Services Message Service Flex 2.0 Technology Stack Flex 2  Framework MXML ActionScript Flex Class Library Flash VM AS2 AS3 FlexBuilder
Flex 2  Flash Player June 28 th  – July 1 st  2006 Distributed  Free Upgrades Automatically Version Detection Downloaded from Adobe FlexBuilder Flash VM AS2 AS3
Flex IDE June 28 th  – July 1 st  2006 Developer tool  costs < $600  Includes source code Does  not  support Flex 1.5 No J2EE Server required No Distribution licenses of SWFs Flex Framework MXML ActionScript Flex Class Library FlexBuilder (Eclipse)
Flex 2.0 Server Components June 28 th  – July 1 st  2006 CPU-based Server  Costs   Leverage Java Messaging System (JMS) Used with J2EE servers;  JRun, ColdFusion, WebLogic, Websphere Requires CPU-based licensing Flex 2  Enterprise Services RPC Services Data Services Message Service FlexBuilder
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) June 28 th  – July 1 st  2006 Flex Data Services RPC Services Data Services Message Service
Flex 2.0 RPC Services June 28 th  – July 1 st  2006 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) June 28 th  – July 1 st  2006 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   June 28 th  – July 1 st  2006 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! FDS Messaging  Services ColdFusion Event Gateway Adapter
Flex  &  Coldfusion June 28 th  – July 1 st  2006 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!
Flex 2  Data Services:  Real-Time Data Sharing (via RTMP or HTTP) June 28 th  – July 1 st  2006 Object Adapter Adapter API 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 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 ! June 28 th  – July 1 st  2006 LSO LSO Adapter Local Persistence Service
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 June 28 th  – July 1 st  2006 Introduce Flex 2  Actionscript  components for FDS and show source examples: See notes!
Using CFCs with C-FDS June 28 th  – July 1 st  2006 <mx:RemoteObject id=&quot;myCfc&quot;  destination=&quot;ColdFusion&quot;  source=&quot; myApplication.components.User “ result=&quot;my_CFC_handler(event)&quot;  />  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) <mx:RemoteObject id=&quot; myCfc &quot;  destination=&quot; CustomID &quot;  result=&quot;my_CFC_handler(event)“ />  See code samples…
FDS for Data Sharing June 28 th  – July 1 st  2006 User is ordering online and is submitting an invalid credit card for his order. Instead of get some abstract error… an online representative “pops-up” asking if the buyer needs help. The buyer says yes and describes the problem.  The rep fixes the fields  REMOTELY  and submits the buyers form  REMOTELY . The buyer receives confirmation The rep thanks the buyer and logs-off. Real-time, 2-way  data sharing  (e.g. medical insurance forms, decision support systems, etc)…   Let’s review  a Flex application to allow online support to help with credit card problems on a visitors form.  Scenario:   See code and demo…
FDS for Dashboards June 28 th  – July 1 st  2006 UserA is ordering online orders several products. UserA submits order. UserB is ordering online with several products. UserB submits order. Etc. Each time an order is submitted the dashboard  AUTOMATICALLY  adjusts its charts/graphs of gross sales and available inventory. Real-time,  data aggregation  (e.g. medical, decision support systems, etc)… Let’s review  an application to allow multiple online buyers to submit orders that update sales and inventory dashboard. Scenario:   See code and demo…
Use FDS 2  with ColdFusion Server-side Security Performance  & Functional Testing Collaboration Large volumes of data with  paging  Data- Push  Features Client  Synchronization Real-time  data delivery (e.g. medical, investment, decision support systems, etc) June 28 th  – July 1 st  2006 Flex Data Services RPC Services Data Services Message Service

More Related Content

PPT
Mule database-connectors
Phaniu
 
PPT
SQL Server 2008 Positioning
ukdpe
 
PDF
BizTalk Server – Basics principles of maps
Sandro Pereira
 
PDF
BizTalk Server- Schema
AboorvaRaja Ramar
 
PPTX
componenets of osb12c
TUSHAR VARSHNEY
 
PPT
Aqua presentation
Shivnarayan Varma
 
PPTX
BizTalk Messaging Fundamentals
Manoj Kumar
 
PPTX
BizTalk Messaging Architecture
AboorvaRaja Ramar
 
Mule database-connectors
Phaniu
 
SQL Server 2008 Positioning
ukdpe
 
BizTalk Server – Basics principles of maps
Sandro Pereira
 
BizTalk Server- Schema
AboorvaRaja Ramar
 
componenets of osb12c
TUSHAR VARSHNEY
 
Aqua presentation
Shivnarayan Varma
 
BizTalk Messaging Fundamentals
Manoj Kumar
 
BizTalk Messaging Architecture
AboorvaRaja Ramar
 

What's hot (7)

PPTX
How to process Flat Files documents (TXT, CSV …) in BizTalk Server
Sandro Pereira
 
PDF
ESM_ServiceLayer_DevGuide_1.0.pdf
Protect724v2
 
PDF
Unit 10: XML and Beyond (Sematic Web, Web Services, ...)
DSBW 2011/2002 - Carles Farré - Barcelona Tech
 
PPT
Whats New In Mashup Center V1.1 Final
ncarrier
 
PDF
Data Virtualization Primer -
Kenneth Peeples
 
How to process Flat Files documents (TXT, CSV …) in BizTalk Server
Sandro Pereira
 
ESM_ServiceLayer_DevGuide_1.0.pdf
Protect724v2
 
Unit 10: XML and Beyond (Sematic Web, Web Services, ...)
DSBW 2011/2002 - Carles Farré - Barcelona Tech
 
Whats New In Mashup Center V1.1 Final
ncarrier
 
Data Virtualization Primer -
Kenneth Peeples
 
Ad

Viewers also liked (6)

PPTX
Indian oil
Amrit Ranjan
 
PDF
Breves 150411
Awex-IME
 
PDF
Localis Facing the future
Barry Maginn
 
PDF
Jil ammori antitrust argument
Greg Sterling
 
PDF
Government 2.0 For Chicago FEB
Andrew Krzmarzick
 
PDF
1 2016-593-en-f1-1-1
Greg Sterling
 
Indian oil
Amrit Ranjan
 
Breves 150411
Awex-IME
 
Localis Facing the future
Barry Maginn
 
Jil ammori antitrust argument
Greg Sterling
 
Government 2.0 For Chicago FEB
Andrew Krzmarzick
 
1 2016-593-en-f1-1-1
Greg Sterling
 
Ad

Similar to Understanding Flex Data Services (20)

PDF
LiveCycle Data Services for ColdFusion Developers
Steven Erat
 
PPTX
Extending Java From ColdFusion - CFUnited 2010
Rupesh Kumar
 
PDF
WSO2 Intro Webinar - The WSO2 Data Services - Harnessing Disparate Enterprise...
WSO2
 
PDF
RIA With Flex & Java Using BlazeDS
Hien Luu
 
PDF
Interoperability for Intelligence Applications using Data-Centric Middleware
Gerardo Pardo-Castellote
 
PPTX
Mobile Apps with ColdFusion
Terry Ryan
 
PDF
Communication Patterns Using Data-Centric Publish/Subscribe
Real-Time Innovations (RTI)
 
PDF
Communication Patterns Using Data-Centric Publish/Subscribe
Sumant Tambe
 
PDF
Enterprise Architecture
Raman Kannan
 
PDF
StephenMousaw-Resume Sept2015
Steve Mousaw
 
PDF
Jeremy Spring Source Blaze Ds
Skills Matter
 
PPTX
Introducing SQL Server Data Services
goodfriday
 
PPTX
Introducing SQL Server Data Services
goodfriday
 
PPT
MAX 2008: Build collaborative applications with Flex LCDS and Cairngorm
Xavier Agnetti
 
PDF
Flex and ColdFusion
Yash Mody
 
PPS
Flex 2
Virat Patel
 
PDF
BlazeDS
devaraj ns
 
PDF
Blaze Ds Slides
michael.labriola
 
PDF
OMG RealTime Workshop 2011 CCM presentation
Remedy IT
 
PDF
Dds the ideal_bus_for_event_processing_engines
Gerardo Pardo-Castellote
 
LiveCycle Data Services for ColdFusion Developers
Steven Erat
 
Extending Java From ColdFusion - CFUnited 2010
Rupesh Kumar
 
WSO2 Intro Webinar - The WSO2 Data Services - Harnessing Disparate Enterprise...
WSO2
 
RIA With Flex & Java Using BlazeDS
Hien Luu
 
Interoperability for Intelligence Applications using Data-Centric Middleware
Gerardo Pardo-Castellote
 
Mobile Apps with ColdFusion
Terry Ryan
 
Communication Patterns Using Data-Centric Publish/Subscribe
Real-Time Innovations (RTI)
 
Communication Patterns Using Data-Centric Publish/Subscribe
Sumant Tambe
 
Enterprise Architecture
Raman Kannan
 
StephenMousaw-Resume Sept2015
Steve Mousaw
 
Jeremy Spring Source Blaze Ds
Skills Matter
 
Introducing SQL Server Data Services
goodfriday
 
Introducing SQL Server Data Services
goodfriday
 
MAX 2008: Build collaborative applications with Flex LCDS and Cairngorm
Xavier Agnetti
 
Flex and ColdFusion
Yash Mody
 
Flex 2
Virat Patel
 
BlazeDS
devaraj ns
 
Blaze Ds Slides
michael.labriola
 
OMG RealTime Workshop 2011 CCM presentation
Remedy IT
 
Dds the ideal_bus_for_event_processing_engines
Gerardo Pardo-Castellote
 

More from Thomas Burleson (6)

PDF
Understanding AngularJS HTML5 DataServices
Thomas Burleson
 
PDF
The Flash to HTML5 Opportunity
Thomas Burleson
 
PDF
Function currying
Thomas Burleson
 
PDF
Visualize Deep Links with Flash and Swiz
Thomas Burleson
 
KEY
Building Multilanguage (i18n) Flex Applications
Thomas Burleson
 
PPT
Flex Behavior Injection
Thomas Burleson
 
Understanding AngularJS HTML5 DataServices
Thomas Burleson
 
The Flash to HTML5 Opportunity
Thomas Burleson
 
Function currying
Thomas Burleson
 
Visualize Deep Links with Flash and Swiz
Thomas Burleson
 
Building Multilanguage (i18n) Flex Applications
Thomas Burleson
 
Flex Behavior Injection
Thomas Burleson
 

Recently uploaded (20)

PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PDF
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
PDF
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
PDF
Software Development Methodologies in 2025
KodekX
 
PDF
Doc9.....................................
SofiaCollazos
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PDF
Cloud-Migration-Best-Practices-A-Practical-Guide-to-AWS-Azure-and-Google-Clou...
Artjoker Software Development Company
 
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
PDF
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
The Future of Artificial Intelligence (AI)
Mukul
 
PDF
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PDF
The Evolution of KM Roles (Presented at Knowledge Summit Dublin 2025)
Enterprise Knowledge
 
PDF
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
Software Development Methodologies in 2025
KodekX
 
Doc9.....................................
SofiaCollazos
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
Cloud-Migration-Best-Practices-A-Practical-Guide-to-AWS-Azure-and-Google-Clou...
Artjoker Software Development Company
 
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
The Future of Artificial Intelligence (AI)
Mukul
 
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
The Evolution of KM Roles (Presented at Knowledge Summit Dublin 2025)
Enterprise Knowledge
 
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 

Understanding Flex Data Services

  • 1. Thomas Burleson Principal Architect Understanding Flex 2 Data Services June 28 th – July 1 st 2006 [email_address] “ With ColdFusion, why should I care about FDS?”
  • 2. Flex 2 Data Services (FDS) What is FDS? Why use FDS? Show me how… June 28 th – July 1 st 2006
  • 3. What is FDS? June 28 th – July 1 st 2006 Flex 2 Data Services (FDS) RPC Services Data Services Message Service Flex 2.0 Technology Stack Flex 2 Framework MXML ActionScript Flex Class Library Flash VM AS2 AS3 FlexBuilder
  • 4. Flex 2 Flash Player June 28 th – July 1 st 2006 Distributed Free Upgrades Automatically Version Detection Downloaded from Adobe FlexBuilder Flash VM AS2 AS3
  • 5. Flex IDE June 28 th – July 1 st 2006 Developer tool costs < $600 Includes source code Does not support Flex 1.5 No J2EE Server required No Distribution licenses of SWFs Flex Framework MXML ActionScript Flex Class Library FlexBuilder (Eclipse)
  • 6. Flex 2.0 Server Components June 28 th – July 1 st 2006 CPU-based Server Costs Leverage Java Messaging System (JMS) Used with J2EE servers; JRun, ColdFusion, WebLogic, Websphere Requires CPU-based licensing Flex 2 Enterprise Services RPC Services Data Services Message Service FlexBuilder
  • 7. 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) June 28 th – July 1 st 2006 Flex Data Services RPC Services Data Services Message Service
  • 8. Flex 2.0 RPC Services June 28 th – July 1 st 2006 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
  • 9. Flex 2.0 Message Services (Publish & Subscribe) June 28 th – July 1 st 2006 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
  • 10. Messaging with ColdFusion & Flex June 28 th – July 1 st 2006 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! FDS Messaging Services ColdFusion Event Gateway Adapter
  • 11. Flex & Coldfusion June 28 th – July 1 st 2006 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!
  • 12. Flex 2 Data Services: Real-Time Data Sharing (via RTMP or HTTP) June 28 th – July 1 st 2006 Object Adapter Adapter API 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
  • 13. 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 ! June 28 th – July 1 st 2006 LSO LSO Adapter Local Persistence Service
  • 14. 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 June 28 th – July 1 st 2006 Introduce Flex 2 Actionscript components for FDS and show source examples: See notes!
  • 15. Using CFCs with C-FDS June 28 th – July 1 st 2006 <mx:RemoteObject id=&quot;myCfc&quot; destination=&quot;ColdFusion&quot; source=&quot; myApplication.components.User “ result=&quot;my_CFC_handler(event)&quot; /> 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) <mx:RemoteObject id=&quot; myCfc &quot; destination=&quot; CustomID &quot; result=&quot;my_CFC_handler(event)“ /> See code samples…
  • 16. FDS for Data Sharing June 28 th – July 1 st 2006 User is ordering online and is submitting an invalid credit card for his order. Instead of get some abstract error… an online representative “pops-up” asking if the buyer needs help. The buyer says yes and describes the problem. The rep fixes the fields REMOTELY and submits the buyers form REMOTELY . The buyer receives confirmation The rep thanks the buyer and logs-off. Real-time, 2-way data sharing (e.g. medical insurance forms, decision support systems, etc)… Let’s review a Flex application to allow online support to help with credit card problems on a visitors form. Scenario: See code and demo…
  • 17. FDS for Dashboards June 28 th – July 1 st 2006 UserA is ordering online orders several products. UserA submits order. UserB is ordering online with several products. UserB submits order. Etc. Each time an order is submitted the dashboard AUTOMATICALLY adjusts its charts/graphs of gross sales and available inventory. Real-time, data aggregation (e.g. medical, decision support systems, etc)… Let’s review an application to allow multiple online buyers to submit orders that update sales and inventory dashboard. Scenario: See code and demo…
  • 18. Use FDS 2 with ColdFusion Server-side Security Performance & Functional Testing Collaboration Large volumes of data with paging Data- Push Features Client Synchronization Real-time data delivery (e.g. medical, investment, decision support systems, etc) June 28 th – July 1 st 2006 Flex Data Services RPC Services Data Services Message Service