The Aura Contextual Service Interface is a framework for that allows simple information providing services to communicate with clients. This software package provides Java libraries for developing information providing services as well as for developing clients to access these services.
This document provides a brief overview of various topics and also provides links to more detailed information (found in the doc subdirectory).
Note that the Contextual Service Interface was previously referred to as the Primitive Service Interface. The API retains this terminology.
Overview of the Aura Contextual Service Interface
API Documentation - A Javadoc reference to the API contained in this release.
Note for Implementors - Notes on implementing the Aura Contextual Service Interface Protocol. Not required reading, but useful for understanding what's happening on the wire.
See doc/ServiceInterfaceOverview.html for an overview of the service interface.
See doc/ContextualServices.pdf for a more detailed description of the Contextual Services Interface.
This release provides four methods for clients to create queries and send them to services:
See doc/WritingClients.html for more information on writing clients.
See doc/WritingServices.html for more information on writing services.
The GenericClient tool provides an SQL like interface for sending queries to arbitrary services.
After unjarring the distribution file, you will need to set your CLASSPATH so that it includes lib/aurasvc.jar .
For running the pre-compiled examples, the following environment variables should be set (Windows examples are shown; Unix examples are similar):
Clients that need callbacks from servers must tell the server their IP address. The API should take care of this for you, but in certain circumstances clients may need to control this explicitly. You usually should not need to worry about this, but if you need to, this is done by setting the Java property edu.cmu.aura.service.net.HostName (e.g., if your client's IP address was 169.254.0.0 you might use the command: java -Dedu.cmu.aura.service.net.HostName= 169.254.0.0 MyClient ). If you need to do this, you should set the variable HOSTNAME before running the precompiled examples. Again, the majority of the time this step should be unnecessary.
AURASVC_HOME
|
---------------------------------------
| | |
lib doc examples
| |
api ---------
| |
clients services
lib - contains the binary version of the service provider and client libraries
doc - contains the release documentation
examples - contains examples of
services and clients that access those services