DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • NoSQL Support for Hyperlambda
  • Smart Deployment Strategies for Modern Applications
  • Solving the Mystery: Why Java RSS Grows in Docker on M1 Macs
  • How We Diagnosed a Hidden Scheduler Failure in a Docker Swarm Cluster Serving 2 Million Users

Trending

  • Evolving Spring Boot APIs to an Event-Driven Mesh
  • Agentic AI Design Patterns and Principles: Building Autonomous, Collaborative Systems
  • How to Set Up and Run PostgreSQL Change Data Capture
  • AWS Kiro: The Agentic IDE That Makes Specs the Unit of Work
  1. DZone
  2. Software Design and Architecture
  3. Cloud Architecture
  4. Simple Sample: Oracle NoSQL With Docker Compose

Simple Sample: Oracle NoSQL With Docker Compose

This quick example demonstrates the usage of Docker Compose co-ordinating an Oracle NoSQL container and a dependent container running its (Java) client.

By 
Abhishek Gupta user avatar
Abhishek Gupta
DZone Core CORE ·
Sep. 07, 16 · Tutorial
Likes (6)
Comment
Save
Tweet
Share
4.2K Views

Join the DZone community and get the full member experience.

Join For Free

Here is an example of using the Dockerized Oracle NoSQL image. This, along with many other Dockerized Oracle products, are available here.

oracle-nosql-jersey-dockercompose-sample-blog-logo

Key points

  • Demonstrates usage of Docker Compose: co-ordinates an Oracle NoSQL container and a dependent container running its (Java) client.
  • Docker Containers
    • Oracle NoSQL ‘kvlite‘ instance (simple enough for demonstration).
    • A Jersey + Grizzly based Fat JAR application which acts as a client.

Jersey App Image

  • Built from the latest openjdk image.
  • Exposes a REST interface to put keys into Oracle NoSQL instance and retrieve the key (return the inserted time stamp).

Oracle NoSQL Image

  • The Docker Hub image is directly referenced in docker-compose configuration.
  • Shows this as an example along with the build image pattern demonstrated by the Jersey app.

It's very simple to set up – instructions are available here. All you need to do is make sure that you have Docker installed.

Cheers!

Docker (software) NoSQL

Published at DZone with permission of Abhishek Gupta. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • NoSQL Support for Hyperlambda
  • Smart Deployment Strategies for Modern Applications
  • Solving the Mystery: Why Java RSS Grows in Docker on M1 Macs
  • How We Diagnosed a Hidden Scheduler Failure in a Docker Swarm Cluster Serving 2 Million Users

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook