JSAMP is a Java toolkit for use with the Simple Applications Messaging Protocol. It provides the following components:

  • A SAMP hub implementation, suitable for standalone or embedded use
  • A set of classes which can be used to implement SAMP capabilities in client applications
  • A hub test and benchmarking suite, which can test correctness and performance of third-party hub implementations
  • Utilities which can be used by client and hub developers, or SAMP users, to analyse or debug SAMP sessions
  • Graphical components built on top of the basic functionality suitable for use with the above
  • A bridge component, which can allow clients on different hubs to talk to each other

For a given purpose, some or all of these components may be used at one time.

The toolkit's design aims are, in rough order of priority:

  • Correctness according to the SAMP standard
  • Robustness
  • Ease of use for client application authors
  • Ease of deployment within third-party applications (few dependencies)
  • Flexibility, including the possibility to use with non-Standard SAMP Profiles
  • Good documentation
  • Small size (this one's gone by the board a bit)

The current version targets the SAMP 1.11 Recommendation document (21 April 2009).

JSAMP is currently developed by Mark Taylor (m.b.taylor@bristol.ac.uk), working in the Astrophysics Group at Bristol University. Please contact me with queries, bug reports, suggestions etc.