From XAP Automation
Revision as of 18:34, 18 March 2007 by Edward (Talk | contribs)

Jump to: navigation, search

.Net C# and VB.Net

Currently the .net framework is based on .net 1.1 but soon to be upgraded to v2. The framework encapsulates all that is required to produce a xAP application under .net . xAPFramework mirror

Visual Basic + Webserver

This ocx provides simple and easy to use xAP interface. It also includes a builtin webserver to web-enable your application. This OCX forms the basis of the xAP Intranet applications and includes all the functions that allow all the intranet applications to interoperate. The web server can serve any files and includes functions for RSS and authentication using both basic and digest types.

The ocx and sample vb6 source code

Visual Basic

The Active-X control for xAP provides encapsulates a full xAP interface in an easy to use and accessible control. The control is divided into two functional areas, one associated with delivery of incoming and outbound messages, and the other concerned with constructing and deconstructing messages. All the messy nitty-gritty details related to network communications are hidden. The control is suitable for embedding in any Active-X aware environment, and can be accessed from VB Script, allowing any script-aware application to take advantage of open xAP communications.

Source Code & ocx


The C programming libraries for xAP are the most mature components of the toolset. They provide access to xAP messages and the message transport infrastructure at several levels of abstraction, from the lowest level up to a very simple high level messaging paradigm.

A full xAP compliant application, supporting all the major xAP addressing modes can be implemented in around 15 lines of code, with no loss of flexibility.

This power and ease of use is typical of xAP.

Source Code


Java development for xAP is particularly attractive because of the broad cross-platform support available for Java - including not only a variety of PC's and mobile devices, but also embedded systems such as Tini.

The first release of the Java SDK is now available! It was written with JRE 1.4.2, and includes sample code and Javadoc documentation. Please raise any issues on the xAP-developer Yahoo! mailing list/forum

Source Code


Python is a high level intepreted, object oriented language. It isn't disimilar to, say, Visual Basic, but unlike Visual Basic, has the advantage of being supported on a wide variety of hardware platforms.

The xAP scripting engine provides access to the Python intepreter as an embedded application. This means that incoming xAP messages can be used to trigger Python based scripts. The Python scripts have access to the full range of capabilities exposed by the xAP programming libraries from within the script itself, and may also create and broadcast xAP messages themselves.

Python scripting with xAP is particularly well suited to situations where there is a requirement to add an additional level of conditional control between xAP devices, or where there is a requirement to interface between xAP and a third party application for which Python connectivity is available (for example, a database or webserver)

Source Code


For perl libraries, Misterhoue is the place to look. Mister house now contains many xAP libraries and functions under the GPL.