Offered By: IBM
Persisting data with MongoDB
Learn how to persist data in your microservices to MongoDB, a document-oriented NoSQL database.
Continue readingGuided Project
Open Liberty
112 EnrolledAt a Glance
Learn how to persist data in your microservices to MongoDB, a document-oriented NoSQL database.
{
"_id": {
"$oid": "5dee6b079503234323db2ebc"
},
"Name": "Member1",
"Rank": "Captain",
"CrewID": "000001"
}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.
Certificate
No Certificate Offered
Estimated Effort
25 Minutes
Level
Beginner
Skills You Will Learn
Open Liberty, Jakarta EE, MicroProfile, Java
Language
English
Course Code
GPXX017WEN
Released
February 19, 2025