Join the DZone community and get the full member experience.
Join For Free
Learn how our document data model can map directly to how you program your app, and native database features like secondary indexes, geospatial and text search give you full access to your data. Brought to you in partnership with MongoDB.
Here is an example of using the Dockerized Oracle NoSQL image. This, along with many other Dockerized Oracle products, are available here.
- 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.
- 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).
- 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.
Discover when your data grows or your application performance demands increase, MongoDB Atlas allows you to scale out your deployment with an automated sharding process that ensures zero application downtime. Brought to you in partnership with MongoDB.
Published at DZone with permission
Abhishek Gupta, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.