Persisting data with MongoDB
Learn how to persist data in microservices with MongoDB, a document-oriented NoSQL database. Build and test a crew management microservice that responds to CRUD requests. Connect securely with TLS and configure the MongoDB driver using MicroProfile Config.
At a Glance
Learn how to persist data in your microservices to MongoDB, a document-oriented NoSQL database.
You will learn how to use MongoDB to build and test a simple microservice that manages the members of a crew. The microservice will respond to POST, GET, PUT, and DELETE requests that manipulate the database.
This microservice connects to MongoDB by using Transport Layer Security (TLS) and injects a MongoDatabase instance into the service with a Contexts and Dependency Injection (CDI) producer. Additionally, MicroProfile Config is used to easily configure the MongoDB driver.
User Reviews
Be the first to review “Persisting data with MongoDB”
You must be logged in to post a review.
There are no reviews yet.