/taplib

Java libraries implementing the IVOA protocol: ADQL, UWS and TAP

Primary LanguageJava

README

Preambule

This GitHub repository contains the sources of 3 libraries implementing IVOA standards and protocols:

Documentation

For a complete documentation/tutorial and a demo of the 3 libraries you should visit the following websites: ADQLTuto, UWSTuto and TAPTuto.

Java version

These libraries are developed in Java 1.6.

License

The three of these libraries are under the terms of the LGPL v3 license. You can find the full description and all the conditions of use in the files src/COPYING and src/COPYING.LESSER.

Collaboration

I strongly encourage you to declare any issue you encounter here. Thus anybody who has the same problem can see whether his/her problem is already known. If the problem is known the progress and/or comments about its resolution will be published.

In addition, if you have forked this repository and made some corrections on your side which are likely to interest any other user of the libraries, please, send a pull request here. If these modifications are in adequation with the IVOA definition and are not too specific to your usecase, they will be integrated (maybe after some modifications) on this repository and thus made available to everybody.

Repository content

Libraries

Each library has its own package (adql for ADQL, uws for UWS and tap for TAP). These packages are independent except tap which needs the two other packages. In addition to these packages, you will also find cds and org.json which are dependencies for the libraries.

Dependencies

Below are summed up the dependencies of each library:

  • ADQL: adql, cds.utils
  • UWS: uws, org.json
  • TAP: adql, uws, cds.*, org.json

ANT scripts

At the root of the repository, there are 3 ANT scripts. Each is dedicated to one library. They are able to generate JAR for sources, binaries and Javadoc.

3 properties must be set before using one of these scripts:

  • SERVLET-API: a path toward a JAR or a binary directory containing all javax.servlet.*
  • POSTGRES_JDBC: a path toward a JAR or a binary directory containing the postgres JDBC driver
  • (JUNIT-API not required before the version 2.0 of the tap library: a path toward one or several JARs or binary directories containing all classes to use JUnit.)