The Linked Data Basic Basic Container. A rough but fast implementation of one single Linked Data Platform (LDP) Container. Supports RDF in JSON-LD, Turtle, RDF/XML, and N-Triples. Stores data in memory and does not persist data on shutdown.
See Releases.
LDBBC can be compiled using Apache Maven:
$ mvn package
You may need the development version of NxParser installed, do so by
$ git clone https://github.com/nxparser/nxparser
$ cd nxparser
$ mvn -Dmaven.test.skip=true install
The downloaded/compiled .war
file can be deployed on an application server (eg. Apache Tomcat, Eclipse Jetty).
Alternatively, check out the code and run LDBBC from the command line using the Jetty plugin for Apache Maven:
$ mvn jetty:run
Note that LDBBC requires Maven at at least version 3.1
when they changed their logging system.
If you are on an earlier version, you have to re-introduce the SLF4J dependencies removed in a recent commit, see the corresponding lines in the diff.
Per default, request logging is enabled on INFO
level.
Disable request logging by setting the level to WARNING
:
$ MAVEN_OPTS=-Dorg.slf4j.simpleLogger.log.org.eclipse.jetty.server.RequestLog=warn mvn jetty:run
By default, the server listens on port 8080.
You can change the port by setting the jetty.port
property:
$ mvn -Djetty.port=8081 jetty:run