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.
- Git
- Java 8
- Maven 3 or higher Configured
- Docker 17.12.1-ce or higher
- Docker Compose 1.21.2 or higher
- Any IDE that supports maven and Java 8
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
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
- Go to http://localhost:7474/browser/ set new password to admin, the default is neo4j
docker-compose -f docker-compose.yml up -d
docker-compose -f docker-compose.yml down
docker-compose -f ft-compose.yml ps
- Create a database to handle JUG information using Redis
- Create, Retrieve and Update JUG information
- Where the JUG name is the unique value.
- Implement some searches against a MongoDB
- Search JUG members in a given city
- Search JUG members of legal drinking age
- Search JUGs in a region
- Implement recommendation searches against Neo4J
- Find Beginner Java Users that know Advanced Java User(s).
- Find Java Users in a given City
- Recommend Advanced Java Users in the same City as a given User.
- Name
- City
- Programming Languages
- Country
- Name
- City
- Programming Languages (name and skill level)