Home » Author Archives: Yatin Batra

Author Archives: Yatin Batra

Yatin Batra
Yatin has graduated in Electronics & Telecommunication. During his studies, he has been involved with a large number of projects ranging from programming and software engineering to telecommunications analysis. He works as a software developer in the information technology sector where he is mainly involved with projects based on Java and J2EE technologies platform.

Java MongoDB Iterating through a Collection

Hello readers, in this tutorial, we will show how to iterate the documents of a Mongo collection using the Java driver. 1. Introduction If you have installed the MongoDB application (version 3.6.X) on Windows or Ubuntu operating system and you wish to learn this tutorial, then follow the below steps. It is very simple, but before moving further let’s take ...

Read More »

Java MongoDB Select Collections Example

Hello readers, in this tutorial, we will show how to select or query the documents of a Mongo collection using the Java driver. 1. Introduction If you have installed the MongoDB application (version 3.6.X) on Windows or Ubuntu operating system and you wish to learn this tutorial, then follow the below steps. It is very simple, but before moving further ...

Read More »

Java MongoDB Update Document Example

Hello readers, in this tutorial, we will show readers how to update the documents of a Mongo collection using the Java driver. 1. Introduction If you have installed the MongoDB application (version 3.6.X) on Windows or Ubuntu operating system and you wish to learn this tutorial, then follow the below steps. It is very simple, but before moving further let’s ...

Read More »

Java MongoDB Insert a Document Example

Hello readers, in this tutorial, you will learn how to insert the documents into a Mongo collection using the Java driver. 1. Introduction If you have installed the MongoDB application (version 3.6.X) on Windows or Ubuntu operating system and you wish to learn this tutorial, then follow the below steps. It is very simple, but before moving further let’s take ...

Read More »

Java MongoDB Query Document Example

Hello readers, in this tutorial, we will show readers how to query the documents of a Mongo collection using the Java driver. 1. Introduction If you have installed the MongoDB application (version 3.6.X) on Windows or Ubuntu operating system and you wish to learn this tutorial, then follow the below steps. It is very simple, but before moving further let’s ...

Read More »

Spring and Hibernate Example

Welcome readers, in this tutorial, we will create a simple application that uses the spring and Hibernate framework to display the user details on a webpage. For this tutorial, we’ll have a welcome page that fetches the user records from the MySQL database and displays it on the interface. 1. Introduction Developers can refer to this link to briefly understand the Spring, ...

Read More »

Java MongoDB Authentication Example

Hello readers, in this tutorial, we will show readers how to start the Mongo database in secure mode and use the Java driver to connect and authenticate the Mongo database with the provided credentials. 1. Introduction If you have installed the MongoDB application (version 3.6.X) on Windows or Ubuntu operating system and you wish to learn this tutorial, then follow ...

Read More »

Spring MVC and Hibernate Login Form Example

Hello readers, in this tutorial we will create a simple login application that uses the spring and Hibernate framework to validate the user’s credentials. Table Of Contents 1. Introduction 1.1 What is Spring framework? 1.2 What is Hibernate? 2. Spring MVC and Hibernate Login Form Example 2.1 Tools Used 2.2 Project Structure 2.3 Project Creation 3. Application Building 3.1 Database ...

Read More »

Spring MVC CRUD using MongoDB Tutorial

Hello readers, in this tutorial we will create a simple Spring MVC application that uses a document-oriented NoSQL database for its database layer. For this tutorial, we’ll perform the basic Create, Read, Update, and Delete database operations for managing the list of users. Table Of Contents 1. Introduction 1.1 What is Spring framework? 1.2 What is MongoDB? 2. Spring MVC ...

Read More »

MongoDB Field Update Operators Tutorial

Hello readers, in this tutorial, we will understand the different Field Update Operators available in the Mongo database. Let’s study in brief the different ways in which these operators can be used. Table Of Contents 1. Introduction 1.1 What is MongoDB? 1.2 Why MongoDB? 2. MongoDB Field Update Operators Tutorial 2.1 $inc Operator 2.2 $rename Operator 2.3 $set Operator 2.4 ...

Read More »