1. Introduction :

If you are an AIR fanatic like I am, you might have heard of a project called Merapi. The Merapiproject.net is an open source project to create an easy link between Java applications and AIR. They have just entered their first alpha. The source isn’t available ( yet ),but you can download a .swc file and get started !

In this post I’ll explain how to transfer custom objects from one runtime to the other using Merapi. I’m using Eclipse for both my Java and Flex projects. There a lot of examples on how to set this up so you can have a good working environment.

2. Time to get started :

The application I’ll show you here doesn’t do anything fancy. I’ll just create a custom class called Shizzle in Java, and send it over to Flex and starting using it immediately. Here are some screenshots on how my projects are organized :

Read the rest of this entry »


Technorati Tags: , , , , ,