This project provides a unified interface to the astrogrid webservice delegates and supporting code. This makes it simple to call astrogrid services from scripting languages.
This project collects the delegates and dependent jars from the other projects, and adds some front-end classes to tie it all together (see javadocs)At present, preconfigured tarballs containing a scripting language interpreter and all the necessary astrogrid libraries are available for Javascript and Groovy. Both require you to have a Java Runtime Environment already installed.
Rhino is an implementation of javascript in Java. Download the snapshot tarball, unpack, and configure by setting the JS_HOME environment variable to the root of the unpackaged code, and adding /bin to your path.
The bin directory contains programs to run the javascript interpreter - as a commandline, as a shell, and as a debugger The examples directory contains some example programs that use the astrogrid delegatesGroovy is
a powerful new high level dynamic language for the JVM combining lots of great features from languages like Python, Ruby and Smalltalk and making them available to the Java developers using a Java-like syntax.Installation is similar to that for Javascript. Download the tarball snapshot, unzip, and configure by setting the GROOVY_HOME environment variable to point to the unpackaged code. Again, bin contains to run groovy, examples has groovy versions of the example programs.
The assembled set of delegates and supporting libraries is a convenient starting point for writing java client applications. The set of libraries can be downloaded here
Other possible scripting languages targets are