Blaze DS

happylandcannedΛογισμικό & κατασκευή λογ/κού

2 Ιουλ 2012 (πριν από 4 χρόνια και 9 μήνες)

403 εμφανίσεις

Copyright 2007 Adobe Systems Incorporated.
Blaze DS
Tom Jordahl
Adobe Systems Inc
February 12, 2007
Copyright 2007 Adobe Systems Incorporated.
Introduction

Working at Allaire/Macromedia/Adobe for 11 years

Recently the architect for ColdFusion 8

Currently working on Flex Enterprise team

LiveCycle Data Services ES

BlazeDS
Copyright 2007 Adobe Systems Incorporated.
History

In the beginning…

Flex 1.0

MXML language, Dreamweaver based Flex Builder, Server based compiler

Flex 2.0

Actionscript 3, Flash 9, Eclipse based Flex Builder, Flex Data Services
Copyright 2007 Adobe Systems Incorporated.
History

LiveCycle Data Services 2.5

Support added in ColdFusion 7.0.2

“Flash Remoting Update”

LiveCycle Data Services ES

LCDS 2.5.1

ColdFusion 8 “integrated installation”
Copyright 2007 Adobe Systems Incorporated.
Now
Copyright 2007 Adobe Systems Incorporated.
What is BlazeDS?
“BlazeDS is the server-based Java remoting
and web messaging technology that enables
developers to easily connect to back-end
distributed data and push data in real-time to
Adobe® Flex™ and Adobe AIR™ applications
for more responsive rich Internet application
(RIA) experiences.”
Huh?
Copyright 2007 Adobe Systems Incorporated.
LiveCycle Data Services
Web Service
RPC Services
Remote Object
HTTP Service
Message Service
Message Service
Data Sync
Data Management
OCC
Paging
Collaboration
Messaging
Pub/Sub
Data Push
Web-Tier Compiler
Web-Tier Compiler
LiveCycle Data Services
Copyright 2007 Adobe Systems Incorporated.
BlazeDS
Web Service
RPC Services
Remote Object
HTTP Service
Message Service
Message Service
Collaboration
Messaging
Pub/Sub
Data Push
Blaze DS
Copyright 2007 Adobe Systems Incorporated.
What is BlazeDS?

Remoting

Flex/AIR applications can use mx:RemoteObjecttag to make RPC calls to server

Automatic translation of “value objects”to/from Actionscript

Flex/AIR applications call CFCs rather than Java classes
Copyright 2007 Adobe Systems Incorporated.
Remoting

Remote Object Demo
Copyright 2007 Adobe Systems Incorporated.
What is BlazeDS?

Messaging

Publish and Subscribe becomes trivial

Real-time server push over HTTP

ColdFusion Event Gateways can publish/subscribe
Copyright 2007 Adobe Systems Incorporated.
Messaging

Chat Application Demo
Copyright 2007 Adobe Systems Incorporated.
AMF

AMF (Action Messaging Format) is a wire PROTOCOL

Fast –10X over XML

Small

AMF lies at the heart of all the Data Services

Adobe is publishing the AMF3 specification

Open source and 3rd
parties care:

AMFPHP

OpenAMF

rubyAMF

PyAMF

You don’t care much about it!
Copyright 2007 Adobe Systems Incorporated.
LiveCycle Data Services, Community Edition

Community Edition is BlazeDS with:

Certified Builds

Warranty Coverage

Support

Bug Fixes

Patches

Upgrades

Peace of mind of Adobe backing

Similar to MySQLand JBossmodels

Several support plans will be available

Incidents, response time, number of contacts, etc
Copyright 2007 Adobe Systems Incorporated.
LiveCycle Data Services ES

Enterprise edition

Built with BlazeDS

Offers great features

Data synchronization

Conflict detection

Offline caching

Smart paging of data sets
Copyright 2007 Adobe Systems Incorporated.
LiveCycle Data Services – 2.6
LiveCycle Data Services
Web Service
RPC Services
Remote Object
HTTP Service
Message Service
Message Service
Data Sync
Data Management
OCC
Paging
Web-Tier Compiler
Web-Tier Compiler
Collaboration
Messaging
Pub/Sub
Data Push
Copyright 2007 Adobe Systems Incorporated.
What Happened to the Web Tier Compiler?

Compiled MXML files when requested from the browser

Only useful for development

Familiar to CFML developers

Edit –Reload –Edit

No longer a part of Data Services (or BlazeDS)

Part of Flex SDK

Available on Adobe Labs today

“Flex 3 compiler module for J2EE application servers”
Copyright 2007 Adobe Systems Incorporated.
BlazeDS and ColdFusion

Integrated install in ColdFusion 8 gives you free express edition of 2.5.1

Single CPU license –no clustering
Copyright 2007 Adobe Systems Incorporated.
BlazeDS and ColdFusion

You can configure BlazeDS in to ColdFusion 8

Instructions can be found in BlazeDS/resources/ColdFusion

Includes pre-edited configuration files for CF

Have to remove LCDS 2.5.1

Remoting/RPC

Configured in to all versions of ColdFusion since 7.0.2

Updating to BlazeDS gives you access to new features

Messaging

No CPU restrictions on BlazeDS

CF Messaging Gateway works the same as with LCDS 2.5.1
Copyright 2007 Adobe Systems Incorporated.
What do you lose with BlazeDS vs. LCDS?

Data Management

This is the really cool stuff in LiveCycle Data Services

Real-time data updates, conflict detection, caching, paging, etc, etc!

RTMP channels

Flash opens a socket to the server instead of using HTTP

Clever hacks with HTTP (streaming) to simulate 2-way socket

COMET style –long poll HTTP request

Scalability

HTTP streaming channels max out at 100-200 clients per CPU

HTTP/NIO channels in LCDS scale to 1000’s of clients
Copyright 2007 Adobe Systems Incorporated.
What do you gain with BlazeDS?

Free

Open source

No licensing limits

Access to some new features (HTTP-streaming channels)
Copyright 2007 Adobe Systems Incorporated.
Questions?
Copyright 2007 Adobe Systems Incorporated.
Resources

BlazeDS on Adobe Labs

http://labs.adobe.com/technologies/blazeds
/

ColdFusion 8 Documentation

http://livedocs.adobe.com/coldfusion/8/htmldocs/UseFlexDataService_01.html

LiveCycle Data Services Documentation

http://www.adobe.com/go/lcds_devguide

http://www.adobe.com/go/lcds_javadoc

LiveCycle ES ActionScript Reference

http://www.adobe.com/go/lcds_reference

DevNet-Architecting RIAswith Flex Data Management Services

http://www.adobe.com/devnet/flex/articles/architecting_rias.html

Flex coders yahoo group

http://groups.yahoo.com/group/flexcoders/
Revolutionizing
how the world engages
with ideas and information