Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Store and retrieve JSON objects via the REST API
Java
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
jsonstore-main
jsonstore-webapp
.gitignore
LICENSE
README.md
pom.xml

README.md

JSONStore

JSONStore is for storing and retrieving JSON objects via the REST API. It is built on Jackson, Jersey, Jetty and Krati.

Homepage

Find out more about JSONStore at https://github.com/jingwei/jsonstore.

License

Apache Public License (APL) 2.0

Artifacts

jsonstore.jar
jsonstore-webapp.war

Build the jar

mvn clean package

Maven Coordinate

groupId: jsonstore
artifactId: jsonstore
version: 0.1

groupId: jsonstore
artifactId: jsonstore-webapp
version: 0.1

Setup Eclipse

Setup Eclipse by executing the command below:

mvn eclipse:eclipse

Inside Eclipse, select Preferences > Java > Build Path > Classpath Variables. Define a new classpath variable M2_REPO and assign maven repository.

For more information, check out http://maven.apache.org/guides/mini/guide-ide-eclipse.html

Launch JSONStore Webapp

Launch the jsonstore-webapp application using the next command from the jsonstore/jsonstore-webapp folder:

MAVEN_OPTS="-Xms1g -Xmx1g" mvn clean jetty:run -Djsonstore.instance.home=repository

Depending on the size of data sets, you may have to modify the JVM heap size accordingly via MAVEN_OPTS. For example, you can increase the JVM heap size to 8g using MAVEN_OPTS="-Xms8g -Xmx8g".

For more information on REST operations, check out jsonstore/jsonstore-webapp/README.md.

Something went wrong with that request. Please try again.