The recent Merapi project is open source, and it can be used as a message bridge to connect applications running in Adobe Flash player or Adobe AIR to Java applications. The air's security sandbox supports some common desktop interactions, such as systray support, file access, and so on, but it does not allow other operations, such as accessing USB devices, loading local applications, and so on.
And that's where Merapi is, with a simple messaging framework for Flash, Flex, and air applications to communicate with Java, and then you can interact with these resources as proxies for Java. We can send a message via a simple API:
var message:message = new Message ();
Message.data = "Hello from Merapi Flex.";
Message.type = "Reply";
Bridge.instance.sendMessage (message);
The technology's many applications include the Tesla Model S-car touch-screen system:
Merapi is a landmark solution for bridging traditional desktop and web technologies, which fills the gap between the two applications. The main advantages of Merapi are as follows:
• Access to hardware devices: In the past, browser-based technology (such as Adobe Flash, Microsoft Silverlight, AJAX) was inaccessible to hardware devices except for microphones and webcam.
• Access to existing APIs: through Merapi We can access existing open source and commercial software from browsers or runtime engines such as Adobe AIR without a server.
• Improve the performance of applications.