Tag Archives: MongoDB

How to inject Collection name in @Document from properties file in Spring Boot?

By | June 17, 2025

Sometimes in enterprise applications, we are required to configure the collection name from the properties file to our entity (model) class instead of hardcoding the collection name. In this tutorial, we will learn to inject Collection name in @Document from properties file. Steps to inject Collection name in @Document from properties file We are using… Read More: How to inject Collection name in @Document from properties file… »

How to Dockerize Spring Boot application with MongoDB?

By | June 17, 2025

Docker is a platform that is used for developing, shipping and running applications inside containers. The containers are lightweight and portable units that package the application and its dependencies, enabling them to run consistently across different environments (DEV, SIT, and PROD) as well as on different systems. In this tutorial, we will learn how to… Read More: How to Dockerize Spring Boot application with MongoDB? »

MongoDB – How to install and configure MongoDB in Windows?

By | March 25, 2023

MongoDB is an open source NoSQL database, which means that unlike SQL, we do not store data in the form of tables and columns, i.e., it will not follow the RDBMS rules. It is a scalable, high-performance, document-oriented database. Difference between SQL and NoSQL database SQL Database NoSQL Database In an SQL database, we need… Read More: MongoDB – How to install and configure MongoDB in Windows? »