Introduction
Flex has short learning curve for Java developers, who will find that there
are a lot of familiar language constructs and patterns. It also provides
excellent remoting capabilities for Java programmers, allowing transparent
data transfer between ActionScript and Java 1.4 data types. With Java version
5 and above you have a lot of Java data structures that use enum and need
marshaling to/from the Flex applications. In this article I will provide a
working example of the ActionScript language extension for the enum data
type. We'll discuss the issues common for adding language extensions to the
bytecode machines/compilers. We will also extend LiveCycle Data Services AMF3
protocol to support native translation of classes between Java 5 and
ActionScript 3.
Problem Statement
One of the most discussed limitations of LiveCycle Data Services (LCDS)
serializati... (more)