Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A SPIN network is a collection of nodes; , which are objects that can perform queries. SPIN nodes These odes join together to form networks a network that allow queries to be broadcast from node to node and the then aggregate results are then aggregated in the reverse order. 

Nodes can be accessed directly by code running in the same JVM, or exposed over HTTP via an application server (Clint – do you mean app server or servelet container). 

This document explains how to write the SPIN plug-in used to implement a query, and it provides client code that can be used to perform this query remotely.

...

  • Sun/Oracle Java Development Kit (JDK) 1.6.0_04 or later.  Other JDKs, including OpenJDK, are not supported but will likely work.
  • Apache Maven 2.2.1. Maven 3.x is not supported, but will likely work. (Required to build SPIIN and the example module)
  • SPIN

Hello, Spin

* *The queries that SPIN nodes perform are implemented as instances of the QueryAction interface.

...

Testing in a Servlet Container

...

The easiest way to get started is to build the SPIN examples module.  This exists in source control at http://scm.chip.org/svn/repos/spin/base/trunk/examples.  The examples.war file, built by the examples-war module is also available from the Open.Med Maven repository at (TODO: Nexus URL).  Examples.war contains a SPIN node, plus example QueryActions defined in the examples/* modules.

1) Obtain the SPIN node WAR file

2) Install and configure SPIN

The SPIN Installation Guide provides installation, configuration and testing instructions.