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
Newsletter
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • NoSQL Support for Hyperlambda
  • Docker Sandboxes Beyond the Laptop: Running AI Agents in the Cloud
  • Understand the Sidecar Pattern by Deploying n8n to AWS Fargate
  • The Startup Time Trick Hiding Inside Your Docker Build

Trending

  • Jakarta Faces Flow Scope: Managing Multi-Step UX Without Session State
  • A Deep Dive into the Microsoft Foundry Document Intelligence SDK: From PDF to Structured Data
  • The Telemetry Tax: Architecting Zero-Allocation Event Observability at 15B+ Daily Event Scale
  • Build Software Faster With Three Simple Principles
  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.3K 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
  • Docker Sandboxes Beyond the Laptop: Running AI Agents in the Cloud
  • Understand the Sidecar Pattern by Deploying n8n to AWS Fargate
  • The Startup Time Trick Hiding Inside Your Docker Build

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