Digital Edition

SYS-CON.TV
AMF 3 Specification Is Published
Data serialization between Flash Player and the rest of the world made public

Action Message Format (AMF) is a protocol that is used to serialize the data coming into Flash Player or going out to other programming environments that need to communicate with Flash Player. Say, if you create in Java an instance of the class MyOrder.java, this instance can be converted into a string of bytes, sent over the wire to Flash Player and then recreated there as an instance of the ActionScript object MyOrder.as.  The rules of how to do this are defined by a communication protocol, such as  AMF.  Prior to Flash Player 9, the protocol AMF0 has been used, but now Adobe offer implementation of  more efficient AMF3.

The good news is that Adobe decided to make the AMF3 protocol  available to the public, and you can find its description in this document
This is great news for Flash community as it’ll allow more and more third parties to implement this protocol and offer a lot faster communication between the Flash Player and programming environments written in other languages. While Adobe today offers its own implementation of this protocol  for Java and Coldfusion, now it’ll start competing  with other firms that may offer more efficient implementation of this protocol or better tool for developers. The Midnight Coders is one of the vendors that are offering their version of AMF for Java, .Net and other platforms.

While the AMF uses HTTP as a transport, the speed of data exchange between Flash Player and, say,  J2EE application over AMF would be at least ten time faster than comparing to a regular HTTP protocol.
AMF protocol  is based on data polling, but Adobe offers yet another Real Time Messaging Protocol (RTMP) that is being used in such applications as video streaming or others  where the real-time push from the server is needed, for example financial trading applications. The specification of RTMP protocols has not been published yet at this point.

About Yakov Fain
Yakov Fain is a Java Champion and a co-founder of the IT consultancy Farata Systems and the product company SuranceBay. He wrote a thousand blogs (http://yakovfain.com) and several books about software development. Yakov authored and co-authored such books as "Angular 2 Development with TypeScript", "Java 24-Hour Trainer", and "Enterprise Web Development". His Twitter tag is @yfain

In order to post a comment you need to be registered and logged in.

Register | Sign-in

Reader Feedback: Page 1 of 1

I have studied the specification and have a couple of comments.

The compressed way of representing integers with 1 to 4 bytes are very smart, but why did they stop with 4 bytes. If they allowed up to 5 bytes, a complete 32 bit integer could be represented this way.

It isn't clear - at least to me - how negative integers should be represented.

Examples, examples, examples - why aren't their any?




ADS BY GOOGLE
Subscribe to the World's Most Powerful Newsletters

ADS BY GOOGLE

Modern software design has fundamentally changed how we manage applications, causing many to turn to...
In this presentation, you will learn first hand what works and what doesn't while architecting and d...
In an era of historic innovation fueled by unprecedented access to data and technology, the low cost...
In his session at 20th Cloud Expo, Mike Johnston, an infrastructure engineer at Supergiant.io, discu...
Everyone wants the rainbow - reduced IT costs, scalability, continuity, flexibility, manageability, ...
DXWorldEXPO | CloudEXPO are the world's most influential, independent events where Cloud Computing w...
Founded in 2000, Chetu Inc. is a global provider of customized software development solutions and IT...
DevOpsSummit New York 2018, colocated with CloudEXPO | DXWorldEXPO New York 2018 will be held Novemb...
Most DevOps journeys involve several phases of maturity. Research shows that the inflection point wh...
SYS-CON Events announced today that DatacenterDynamics has been named “Media Sponsor” of SYS-CON's 1...
CloudEXPO New York 2018, colocated with DXWorldEXPO New York 2018 will be held November 11-13, 2018,...
Dynatrace is an application performance management software company with products for the informatio...
DXWordEXPO New York 2018, colocated with CloudEXPO New York 2018 will be held November 11-13, 2018, ...
@DevOpsSummit at Cloud Expo, taking place November 12-13 in New York City, NY, is co-located with 22...
Today, we have more data to manage than ever. We also have better algorithms that help us access our...
Bill Schmarzo, author of "Big Data: Understanding How Data Powers Big Business" and "Big Data MBA: D...
A valuable conference experience generates new contacts, sales leads, potential strategic partners a...
DXWorldEXPO LLC announced today that ICOHOLDER named "Media Sponsor" of Miami Blockchain Event by Fi...
SYS-CON Events announced today that IoT Global Network has been named “Media Sponsor” of SYS-CON's @...
The best way to leverage your Cloud Expo presence as a sponsor and exhibitor is to plan your news an...