Technical Report CS-2013-02

Title: Chameleon - A Group Communication Framework for Smartphones
Authors: Alex Dvinsky and Roy Friedman
Abstract: This paper reports about our experience in designing and developing Chameleon, a highly portable and adaptable group communication framework for smartphones. Chameleon owes its level of portability to several design choices, including: (a) a layered architecture, where the headers of each layer have a standard XML-based format, enabling automatic, error resistant generation of efficient serialization code in any platform, (b) reliance only on the J2ME library, which serves as least common denominator for Java dialects and facilitates automatic translation to .NET, (c) having flexible membership models, and (d) supporting multiple concurrent protocol stacks.

Through a single code-base, Chameleon is currently available as an open source project for J2ME, J2SE, Android, .NET CF, and .NET. Chameleon is easily extendable and is bundled with tools, con gurations and third party code tuned in a way that lifts some of the burden normally associated with multi-platform development for smartphones. Both the header generation from XML and automatic translation to .NET features of Chameleon are readily available to any application that is based on it.

Chameleon's threading model separates between execution of internal layers and application's code and by that protects one from the other. As we describe in the paper, it simplifies layers' development and allows the protocol stack to easily block application calls when this is required by internal algorithms. Additionally, this model simplifies testing and an extensive testing framework is supplied along with Chameleon, which is also usable for testing of application-specific layers.

CopyrightThe above paper is copyright by the Technion, Author(s), or others. Please contact the author(s) for more information

Remark: Any link to this technical report should be to this page (, rather than to the URL of the PDF or PS files directly. The latter URLs may change without notice.

To the list of the CS technical reports of 2013
To the main CS technical reports page

Computer science department, Technion