QAnywhere client applications manage the receiving and sending of QAnywhere messages. The applications can be written using one of several QAnywhere APIs:
You can use a combination of client types in your QAnywhere system. For example, messages that are generated using QAnywhere SQL can also be received by a client created using the APIs for .NET, C++, or Java. If you have configured a JMS connector on your server, the messages can also be received by JMS clients. Similarly, QAnywhere SQL can be used to receive messages that were generated by QAnywhere .NET, C++, Java, or JMS clients.
The QAnywhere .NET API is a programming interface for deployment to Windows computers using the Microsoft .NET Framework and to handheld devices running the Microsoft .NET Compact Framework. The QAnywhere .NET API is provided as the iAnywhere.QAnywhere.Client namespace.
QAnywhere supports Microsoft Visual Studio.
In this document, code samples for the .NET API use the C# programming language, but the API can be accessed using any programming language that Microsoft .NET supports.
Versions of the TestMessage sample application are written in Java, C#, and Visual Basic .NET. There is also a .NET compact framework sample.
For more information about the .NET version of the TestMessage sample application, see Lesson 4: Explore the TestMessage client source code.
The QAnywhere C++ API supports Microsoft Visual Studio.
The QAnywhere C++ API consists of the following files:
Your source code file must include the header file in order to access the API. The import library is used to link your application to the run-time DLL. The run-time DLL must be deployed with your application.
A version of the TestMessage sample application written in C++ is supplied in samples-dir\QAnywhere\Desktop\MFC. (For information about samples-dir, see Samples directory.)
The QAnywhere Java API supports JRE 1.4.2 and up. The Mobile web services wsdl compiler generates Java classes compatible with JDK 1.5.0 and up.
The QAnywhere Java API consists of the following files:
The class file archive must be included in your path when you compile your application. The runtime DLL must be deployed with your application.
A version of the TestMessage sample application written in Java is supplied in samples-dir\QAnywhere\Java\. (For information about samples-dir, see Samples directory.)
The QAnywhere SQL API is a set of stored procedures that implement a messaging API in SQL. Using the QAnywhere SQL API, you can create messages, set or get message properties and content, send and receive messages, trigger message synchronization, and set and get message store properties.
QAnywhere includes a JMS connector that provides connectivity between QAnywhere and JMS applications. See:
QAnywhere includes a mobile web services connector for messaging between QAnywhere and web services.
See Mobile web services.
|Send feedback about this page via email or DocCommentXchange||Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0|