Quantcast
Browsing all 136 articles
Browse latest View live

MongoDB upsert example using Mongo Shell and Java Driver

MongoDB upsert option is used with update method which creates a new document if the query does not retrieve any documents satisfying the criteria. The default value for this option is false. The...

View Article


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 query: specifies the documents to be...

View Article


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...

View Article

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...

View Article

MongoDB Tutorial – installation, example projects, integration with Servlet,...

MongoDB is one of the most widely used NoSQL database. Recently I have written a lot about MongoDB that includes installation on various Operating Systems and then using some common functions through...

View Article


JSF and JDBC Integration Example Tutorial

Java Server Faces can be connected to database to perform operations on the data using JDBC API. Lets consider an example of pulling the data from a Car table residing in the database and display them...

View Article

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>, {...

View Article

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...

View Article


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...

View Article


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...

View Article

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........

View Article

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...

View Article

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...

View Article


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...

View Article

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...

View Article


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..... The post What is NoSQL...

View Article

How To Build a Real-time REST Application with FeathersJS

Introduction Feathers is a minimalistic real-time framework for web applications built over Express. With Feathers, in addition to using middleware, you can get real-time, RESTful services and ORM...

View Article


How To Lazy-Load Images with Intersection Observer

Introduction Images take up a high percentage of the size of your website. Some of these images are below the fold, which means they are not seen immediately by the website visitor. They will need to...

View Article

Image may be NSFW.
Clik here to view.

How To Install Elasticsearch, Logstash, and Kibana (Elastic Stack) on Ubuntu...

Introduction The Elastic Stack — formerly known as the ELK Stack — is a collection of open-source software produced by Elastic which allows you to search, analyze, and visualize logs generated from any...

View Article

Image may be NSFW.
Clik here to view.

22 Best Visual Studio Code Extensions for Web Development

Want to install all of the extensions listed below at once?! Check out The Web Development Essentials Extension 1. Debugger for Chrome Believe it or not, debugging JavaScript means more than just...

View Article
Browsing all 136 articles
Browse latest View live