Mind the Flex

Java classes to Actionscript3 classes using Maven 2

April 2nd, 2008 | Posted by Martin
Filed under Flex, Java, Maven | 4 Comments »

At some point I found myself in a situation where I had data objects in Java and in order to use the same objects in Flex application I had to duplicate these classes in Actionscript 3. It was pretty boring and in addition to that, the possibility to forget to add or change some attribute was very high and it happened of course more than once. As I started to look around in web I had very low expectations to find a tool for converting Java classes to Actionscript classes. After some digging I found that actually there is a great tool, which does exactly what I needed. Read more »



Setting up a Java and Flex Project in Maven 2 for Beginners

March 31st, 2008 | Posted by Martin
Filed under Flex, Java, Maven | 18 Comments »

Maven is a tool that provides an uniform and easy build process for your projects. In real life this means generally that you describe your project in one xml file and Maven reads this information to compile and package your project. The pros of this approach are that the project can be set up quickly in new environment, you can quite transparently add new features, and you have all the time clear overview of libraries that are used in your project.
Read more »



Setting up the environment for Flex and Java development with Maven 2

March 23rd, 2008 | Posted by Martin
Filed under Flex, Java, Maven | 5 Comments »

To start developing Flex you have two choices: to use FlexBuilder or Flex plugin for Eclipse. As we would like to develop Flex and Java parallely, the Flex plugin approach is the only reasonable way to continue. At first you must have Eclipse (~100MB) installed. It can be obtained from here (must be at least version 3.3 or higher) and it must of course have Java development support. The plugin itself (~300MB) can be downloaded from here but you must have an Adobe ID to download it.
Read more »