[Dev] [ANN] Java framework for implementing SRU endpoints

Oliver Schonefeld schonefeld at ids-mannheim.de
Tue Sep 11 19:06:18 CEST 2012


Hi,

the IDS in Mannheim has created a library that implement a framework to
encapsulate most aspect of the SRU protocol. This may come in handy, if
you're planning on building your own endpoint to hook up your own search
engine into the emerging CLARIN federated content search (FCS)
infrastructure.
The library requires at least Java 1.6 and should run in an environment
that conforms to the Servlet 2.4 specification (e.g. Tomcat 5 or better).

To use the library in your project add the following dependency to
your pom.xml:
<dependency>
  <groupId>eu.clarin.sru</groupId>
  <artifactId>sru-server</artifactId>
  <version>1.0.0</version>
</dependency>

If you don't have the CLARIN repository configured, you'll need to add
it, too:
<repository>
  <id>clarin</id>
  <url>http://catalog.clarin.eu/ds/nexus/content/repositories/Clarin/</url>
  <layout>default</layout>
</repository>

(When unsure about the pom.xml, please refer to the Maven documentation).

All public methods/classes have been documented and the Java-Doc has
also been pushed into the CLARIN-Maven-Repo. A tiny example, how to use
the library can be found at:
  http://clarin.ids-mannheim.de/downloads/clarin/

The source code of the library is available from the CLARIN-Trac at:
  http://trac.clarin.eu/browser/SRUServer
(There is also a README.txt)

Great care taken to create a (more or less complete) SRU version 1.1/1.2
implementation. However, if you find any bugs please report bugs trough
the CLARIN-Trac.

Best,
 Oliver
-- 
Oliver Schonefeld
Institut für Deutsche Sprache, Zentrale Forschung
R5, 6-13, D-68161 Mannheim
+49-(0)621-1581-451 | http://www.ids-mannheim.de



More information about the Dev mailing list