NoSQL Databases

What is NoSQL Database?

Most of you have already heard of the term NoSQL Database and when you try to do a Google search of it, it’s not really clear in terms of what exactly this entire concept is…..

SQL Injection in Java and How to Easily Prevent it

What is SQL Injection? SQL Injection is one of the top 10 web application vulnerabilities. In simple words, SQL Injection means injecting/inserting SQL code in a query via user-inputted data. It can occur in any….

How to set up MariaDB Master-Slave replication on CentOS 7

The concept of database replication ensures that data is copied across multiple servers from a Master server. This provides data redundancy and ensures that data is not lost in the event that the Master node….

How to Install MongoDB on CentOS 7

In this article, we dive in and see how you can install MongoDB on CentOS 7. MongoDB is a free, flexible and opensource NoSQL database, different from the regular SQL databases like PostgreSQL and MySQL…..

Spring Boot MongoDB

Welcome to Spring Boot MongoDB example. Spring Boot is the easiest way to spin a spring project quickly and MongoDB is the most popular NoSQL database. Let’s see how to integrate spring with MongoDB database…..

JSF Database Example – MySQL JDBC

Welcome to JSF Database example. We will use JSF with MySQL database and use JDBC for our example. Java Server Faces can be connected to database to perform operations on the data using JDBC API…..

MongoDB Tutorial

Welcome to the MongoDB tutorial index post. MongoDB is one of the most widely used NoSQL database. MongoDB Tutorial Recently I have written a lot on MongoDB tutorials that includes installation on various Operating Systems….

MongoDB authentication configuration example using Shell and Java Driver

Authentication enables user to verify identity before connecting to the database. At first, a user with admin privileges should be created and then additional users can be added. Let’s now create a user having admin….

MongoDB Map Reduce example using Mongo Shell and Java Driver

Map Reduce is a data processing technique that condenses large volumes of data into aggregated results. MongoDB mapreduce command is provided to accomplish this task. Lets consider the following examples that demonstrates the mapreduce command….

MongoDB remove example using Mongo Shell and Java Driver

MongoDB remove method removes a single document or all the documents present in the collection or the documents with specific criteria. The syntax for remove is db.collection.remove( <query>, { justOne: <boolean>, writeConcern: <document> } )….

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors