Skip to content

The Jakarta NoSQL and Data with MongoDB Application Upgraded to JDK 17 and JNoSQL 1.0.0-b6

Notifications You must be signed in to change notification settings

soujava/jnosql-beers-jdk17

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Craft Beer Database Application

Getting Started with Jakarta NoSQL and MongoDB

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.

Jakarta NoSQL

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.

JNoSQL

The compatible implementation of Jakarta NoSQL.

MongoDB

MongoDB Project

Introduction

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.

Manual Installation of MongoDB

Follow the instructions in the installation guide.

Using Docker

Docker

  1. Install docker: https://www.docker.com/
  2. https://store.docker.com/images/mongo
  3. Run docker command
  4. Run MongoDB: verify MongoDB image name with the command docker images, it can be mongodb or mongo, and then execute this command:
    1. docker run -d --name mongodb-instance -p 27017:27017 mongo

Clone the Repository

git clone https://github.com/mpredli01/jnosql-beers.git

Clean, compile and execute the application

mvn clean compile

mvn exec:java -Dexec.mainClass=org.redlich.beers.BeerApp

Resources

About

The Jakarta NoSQL and Data with MongoDB Application Upgraded to JDK 17 and JNoSQL 1.0.0-b6

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%