The Jakarta NoSQL specification defines a set of APIs to provide a standard implementation for most NoSQL databases. Jakarta NoSQL is considered "one API for many NoSQL databases" as it supports the four types of NoSQL databases: column family, document, graph and key-value.
This presentation will provide an introduction to Jakarta NoSQL and Eclipse JNoSQL, the compatible implementation to the specification, followed by a demonstration of a MongoDB application built with Jakarta NoSQL.
This Jakarta NoSQL and MongoDB application that accompanies the presentation, Getting Started with Jakarta NoSQL and MongoDB to demonstrate how to get started building a MongoDB database application with the Jakarta NoSQL specification.
One of the 42 specifications in the Jakarta EE ecosystem that supports all four types of NoSQL databases: column family, document, graph and key-value.
The compatible implementation of Jakarta NoSQL.
MongoDB is a free and open-source cross-platform document-oriented database. Classified as a NoSQL database program, MongoDB uses JSON-like documents with schemas.
To run this project a MongoDB instance is required, so you can use either a local installation or Docker.
Follow the instructions in the installation guide.
- Install docker: https://www.docker.com/
- https://store.docker.com/images/mongo
- Run docker command
- Run MongoDB: verify MongoDB image name with the command
docker images
, it can be mongodb or mongo, and then execute this command:docker run -d --name mongodb-instance -p 27017:27017 mongo
git clone https://github.com/mpredli01/jnosql-beers.git
mvn clean compile
mvn exec:java -Dexec.mainClass=org.redlich.beers.BeerApp
- Jakarta NoSQL specification
- JNoSQL website
jnosql-beers
GitHub repository- Getting Started with Jakarta NoSQL and MongoDB slide deck