InfoQ

InfoQ

News

My Bookmarks

Login or Register to enable bookmarks for unlimited time.

The content has been bookmarked!

There was an error bookmarking this content! Please retry.

Adobe launches Flex 2 RIA platform; Flex SDK is now free

Posted by Floyd Marinescu on Jun 29, 2006

Sections
Development
Topics
Rich Internet Apps ,
Ruby ,
Java ,
.NET
Tags
Flex ,
AJAX ,
Adobe ,
Flash
Adobe has released Flex 2, its platform for ajax-style enterprise rich internet application development that runs on Flash.  As part of the announcement, Flash 9 has also been released and features a Just-In-Time compiler built into the Flash runtime which Adobe claims has reduced memory consumption and increased performance 10 fold.  In a pretty major move, Adobe has changed it's licensing to make the Flex SDK free. Flex consists of three parts, the SDK, Flex Data Services (which includes new real time messaging and pub/sub between client and server),  and the new Eclipse based Flex builder. Flex applications are written in MXML and ActionScript (compliant with Javascript/ECMAScript 4) and Flex apps compile to Flash SWF files (much like Java classfiles) which deploy multi-browser and multi-platform thanks to the almost ubiquitous installbase of the Flash virtual machine. 

The SDK is free for use and contains the full Flex framework which provides vector graphics, drawing APIs, rich media (video/audio) and UI widgets, as well as dev tools such as SWF compilation, debugger, etc.  Flex 2 can run without any special components installed on the server; Flex apps can be deployed as SWF files and talk to backends using the HTTPService or Web Services.  "The SDK is free for use just like the JDK",  Adobe's Christophe Conraets said to InfoQ in a briefing.  Flex applications can also fully integrate with Ajax/DHTML via tight Javascript integration provided by the Flex-Ajax bridge.  Flex 2 brings the portability and features of Flash to enterprise client developers, and now that it is free. 

While the free SDK is aiming for mass adoption, Adobe provides enterprise clients with the new Eclipse-based Flex Builder IDE for $499. The Flex builder allows an integrated debugging environment; developers can set breakpoints in Flex code and trace through to Java code and back.

Finally, for enteprise customers, Flex Data Services is the repackaging of special data connectivity between Flex clients and server sides applications and includes messaging (data push, pub/sub), native remoting to Java, and data sychronization (suitable for offline uses).   New in Flex 2 is real-time messaging between client and server over the RTMP protocol (which has been used for Flash video). According to Christophe, the real time messaging overcomes problems Ajax apps have with polling or long lived HTTP Connections and makes Flex apps suitable for enterprise uses such as real time collaboration (changes in one UI being propagated to N others) and real time monitoring applications.  Flex Data Services costs $20,000/CPU and an express version is available for free for 1 CPU. Flex Data Services also include a Hiberrnate adaptor which sychronizes local objects with server side equivalents, taking care of persistence.

"If you listen to what some of the Ajax visionaries say about what's missing in the browser today, performance almost always comes first, then the lack of a JIT, messaging, vector graphics - all things where [Flex] provides added value" said Christophe.   It should be interesting to see what impact this has on the rich client development space; while Ajax and DHTML widget toolkits continue to be developed, Flash although proprietary is ubiquitous and free, making Flex a compelling option considering the portability and performance issues common with Ajax/DHTML apps. In related news, Adobe recently leaked plans around Apollo, their vision for integrating Flash and PDF to allow rich client apps to run on the desktop, directly competing with Microsofts Windows Presentation Foundation efforts.
More on Flex 2 release and Apollo by Michael Klishin Posted
Re: More on Flex 2 release and Apollo by Floyd Marinescu Posted
Interesting by Kit Davies Posted
Re: Interesting by Floyd Marinescu Posted
Ajax? by Stefan Tilkov Posted
  1. Back to top

    More on Flex 2 release and Apollo

    by Michael Klishin

    Floyd, a little note: it's not only Java community event, it's a whole RIA world event. Ruby on Rails plays nicely with Flex as well! ;)

    BTW, more Q&A's about Apollo here:
    weblogs.macromedia.com/mc/archives/2006/06/oh_a...

    and yes, it's gonna be 100% cross-platform with native interface, filesystem/db support and so forth.

    Cheers.

  2. Back to top

    Interesting

    by Kit Davies

    Free? Wow

    Does this mark the beginning of the end for OpenLaszlo? I hope not. I think they have a great product.

  3. Back to top

    Re: Interesting

    by Floyd Marinescu

    OpenLazslo is now positioning itself as a platform that can compile to different RIA environments, first Flash, and now pure DHTML/Ajax.

    I think Adobe had to make this move, especially considering that Microsoft has announced that some small parts of WPF are also going to be free and multi-platoform. Adobe will have beat them to the punch.

  4. Back to top

    Re: More on Flex 2 release and Apollo

    by Floyd Marinescu

    Floyd, a little note: it's not only Java community event, it's a whole RIA world event. Ruby on Rails plays nicely with Flex as well! ;)


    Good point, our .NET and Ruby editors agree so we re-tagged it. :)

  5. Back to top

    Ajax?

    by Stefan Tilkov

    I wonder how much the Ajax label applies here -- IMO, it's closely tied to using "just" a JavaScript-enabled browser. If Flash is somewhat Ajax-style, I can't see a reason why Java applets wouldn't be.

Educational Content

Jesper Boeg on Priming Kanban

In this interview, Jesper Boeg, author of the new InfoQ book – Priming Kanban, discusses the keys to using Kanban effectively, and how to get started if you are currently using other approaches.

New-age Transactional Systems - Not Your Grandpa's OLTP

John Hugg discusses high volume transaction processing applications with high and low frequency profiles, and how VoltDB can be used for that purpose.

Cool Code

Kevlin Henney examines code samples to see what can be learned from them starting from the premise that one won’t write great code unless he knows how to read it.

Collaboration: At the Extremities of Extreme

Jason Ayers share the observations he made watching a team of developers collaborating in real time on the same code base, pushing XP, pair programming and continuous integration to their extremes.

Yesod Web Framework

Michael Snoyman presents Yesod, a web framework written in Haskell and containing a web server, templating, ORM, libraries (templating, gravatar, etc.).

Transactions without Transactions

Richard Kreuter and Kyle Banker on how to avoid classical RDBMS transactional systems by using compensation mechanisms, transactional messaging or transactional procedures.

Attila Szegedi on JVM and GC Performance Tuning at Twitter

Attila Szegedi talks about performance tuning Java and Scala programs at Twitter: how to approach GC problems, the importance of asynchronous I/O, when to use MySQL/Cassandra/Redis, and much more.

10 tips on how to prevent business value risk

One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.