Home » Archives for Yatin » Page 40

Author Archives: Yatin

An experience full-stack engineer well versed with Core Java, Spring/Springboot, MVC, Security, AOP, Frontend (Angular & React), and cloud technologies (such as AWS, GCP, Jenkins, Docker, K8).

JDBC Best Practices Tutorial

Hello, in this tutorial we will learn some Java Database Connectivity (JDBC) best practices that Java programmer should follow while writing JDBC code. You can also check our Java Programming Database Tutorial in the following video: Java Programming Database Tutorial – Video JDBC API is used to connect and interact with the relational databases to perform CREATE, READ, UPDATE, DELETE ...

Read More »

Hibernate Example Code Using Annotations

Hibernate annotations is the powerful way to provide the metadata for the Object and Relational Table mapping. All the metadata is clubbed into the POJO Java file along with the code which helps the user to understand the table structure and POJO simultaneously during the development. In this tutorial, we will explain how to configure Hibernate annotations to define mapping ...

Read More »

Hibernate Example Directory Structure

In this tutorial, I will show you how to setup a Hibernate project with Eclipse. 1. Introduction Hibernate is an ORM (Object relational mapping) tool for java applications. ORM provides a technique for mapping a data representation from object model to relational data model with an SQL (Structured Query Language) based database schema. Hibernate provides data retrieval facilities, the data query, ...

Read More »

Hibernate JNDI Example

A database connection is expensive to make, yet all web applications use it. That is why most of the servlet containers provide built-in support for connection pooling. We can leverage this connection pooling in any webserver by registering the datasource via the JNDI context. In this tutorial, we will explain how to configure a datasource in Tomcat and how to ...

Read More »

Hibernate Mapping Types Example

Hello, in this tutorial we will see the different mapping types that are available in Hibernate. 1. Introduction Hibernate is a framework that simplifies the development of Java application to interact with the database. It is an open source, lightweight, ORM (Object Relational Mapping) tool.         1.1 What is Hibernate? Hibernate is the Opensource light weight ORM ...

Read More »

MongoDB Full Text Search Tutorial

Hello, in this tutorial we are going to explore the full-text search functionalities of MongoDB right from fundamentals. MongoDB uses text indexes to perform the different full-text search operations and is case sensitive. 1. Introduction MongoDB, one of the leading NoSQL databases, is well known for its fast performance, flexible schema, scalability and great indexing capabilities. At the core of ...

Read More »

MongoDB Bulk Update Example

Hello, in this tutorial, we will see a study and understand the implementation of bulk update in MongoDB. MongoDB update is used to update a document in a collection. 1. Introduction MongoDB is a document-oriented NoSQL database used for high volume data storage and provides high performance, high availability and automatic scaling. 1.1 What is MongoDB? MongoDB is a NoSQL ...

Read More »

How to Check the MongoDB Version

Hello, in this tutorial we will see how to check the exact version of the installed MongoDB. 1. Introduction If you have installed the MongoDB application on Windows or Ubuntu operating system and you don’t remember the version, then follow the below steps to check the MongoDB version. It’s very simple to check the version of MongoDB. 1.1 What is ...

Read More »

When to Use or Not to Use MongoDB

Hello, in this tutorial we will see the pros and cons of using the MongoDB. 1. Introduction MongoDB is a popular open-source document-oriented database developed by 10gen, later called the MongoDB Inc. In this case, documents are created and stored in BSON files, Binary JSON (JavaScript Object Notation) format, so all JS types of data are supported. That being the ...

Read More »

How to Install MongoDB on Ubuntu

Hello, in this tutorial we will see the installation of MongoDB on Ubuntu operating system. Table Of Contents 1. Introduction 1.1 Prerequisites 1.2 Download Ubuntu Operating System 1.3 Download & Install VMware Workstation 1.4 Install Ubuntu on VMware Workstation 2. Installation of MongoDB on Ubuntu 2.1 Adding MongoDB Repository 2.2 Installation of MongoDB Database 2.3 Start and Stop MongoDB Service ...

Read More »