Download and unpack db4o
Install the db4o-*-all-java5.jar file in the local Maven repository:
mvn install:install-file -Dfile=db4o-184.108.40.20698-all-java5.jar -DgroupId=db4o \ -DartifactId=db4o -Dversion=8.0.249 -Dpackaging=jar
Install a JSON formatting plugin for your browser, e.g. JSONView for Firefox
Build and run
cd /path/to/noark.web.service && mvn clean package java -jar target/noark.web.service-1.0-SNAPSHOT.jar
The web service is available at http://localhost:8080/noark/.
To purge all available data, visit http://localhost:8080/noark/cleanup.
The prototype service demonstrates how certain capabilities could be implemented in general and does not try to follow the Noark data model closely. The relationships in the model are as follows:
[Record] * -- 1 [Case] * -- * [Party]
Search for cases whose title starts with Case :
Search for cases whose title starts with Case which have a record(s) with title Record 1 :
Search for cases that have a party whose title starts with Jane :
Search for records whose title starts with Record :
Note that searching for records based on properties of other objects is not implemented.
Search for parties whose title starts with John :
Note that searching for parties based on properties of other objects is not implemented.