Skip to content

Latest commit

 

History

History
93 lines (52 loc) · 2.73 KB

README.md

File metadata and controls

93 lines (52 loc) · 2.73 KB

Eclipse JNoSQL: One API to Many NoSQL Databases - BYOL [HOL5998]

Eclipse JNoSQL is a Java framework that streamlines the integration of Java applications with NoSQL databases. It defines a set of APIs and provides a standard implementation for most NoSQL databases. This clearly helps achieve very low coupling with the underlying NoSQL technologies used in applications. The objective of this session is to show how to use the Eclipse JNoSQL framework to connect with a NoSQL database and perform operations to manipulate and extract information.

Slides

https://www.slideshare.net/otagonsan/eclipse-jnosql-one-api-to-many-nosql-databases-byol-hol5998

Requirements

Run the code

  • git clone https://github.com/JNOSQL/oc1-hands-on-2018.git
  • cd oc1-hands-on-2018
  • mvn clean install
  • Run databases
    • Run Docker instances
    • Run Docker Compose

Run Docker instances

Docker

  • docker run --name redis-instance -p 6379:6379 -d redis
  • docker run -d --name casandra-instance -p 9042:9042 cassandra
  • docker run -d --name mongodb-instance -p 27017:27017 mongodb
  • docker run -d -p 7474:7474 -p 7687:7687 neo4j

Run as Docker-Compose

Start fresh environment

docker-compose -f docker-compose.yml up -d

Stop and Remove

docker-compose -f docker-compose.yml down

List services

docker-compose -f docker-compose.yml ps

Hands on Lab

This workshop is divide in four parts, each of them correspond to a different type of a NoSQL Database. You can follow any order but we recommend next (You can find instructions by clicking on a NoSQL type):

  1. Key-value: this Lab uses Redis

  2. Document: this Lab uses MongoDB

  3. Graph: this Lab uses Graph-Neo4J

  4. Column: this Lab uses Cassandra

Model

JUG
  • Name
  • City
  • Programming Languages
  • Country
JUG Member
  • Name
  • City
  • Programming Languages (name and skill level)