Latest Posts

JSF Tutorial for Beginners

Welcome to JSF Tutorial for Beginners. Java Server Faces (JSF) technology is a front end framework which makes the creation of user interface components easier by reusing the UI components. JSF is designed based on….

Apache Pluto & Jackrabbit Integration Example Tutorial

According for multiple sources and standards, you may be able of defining the Content Repository as a store of digital content (Structured/Unstructured) with an associated set of facilities like data management, full-text search, versioning, transactions….

21 Productivity Tools for Web Designers to Improve their Design Skills

The great thing about living in our time is the advancements of technology, and with that comes the advancements of modern technology as well. There are numerous programs, which are now available for web designers….

How to fight WordPress Spam Comment by filtering and blocking them for GOOD

I use WordPress as my blogging platform. It’s awesome and used by millions of websites. That’s why it has always been targeted by Spammers who post spam comments. Most of these spam comments contains useless….

Java Data Types – Primitives and Binary Literals

Java is a strongly typed language, that means all the variables must first be declared before we can use it. Declaring a variable in java includes type and name with optional value assignment. If no….

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> } )….

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 upsert option….

MongoDB distinct Query

MongoDB distinct method returns a set of discrete values for the field specified as the input argument. Mongo distinct method returns an array of discrete values. MongoDB distinct The syntax for MongoDB distinct method is….

Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages