MongoDB has its own style of storing the documents in the collection and providing the uniqueness to these documents is an important aspect of MongoDB.
So , it is very important that before we go into the higher end of Mongo we should understand what are _id and ObjectId in MongoDB.
Default methods in Java 8 or we can also call them defender methods is one of the new feature that you will see in Java 8. I would rather say it is one of the most awaited feature should have been introduced in the earlier versions itself.Anyways its never been late so that it can’t be used , I think finally its a great introduction by Oracle Java Team.
Now as we know in Java (prior to 8) all the implementation classes (non abstract) of an interface have to agree the interface contract and under that contract they have to provide the concrete implementations of all the methods available in interface that they are implementing , if you missed in providing implementation for even a single method ,compiler will start complaining about it.
From last few days I was thinking to write about a post on log4j framework and the problems that a developer faces during its configuration time because I also faced lot of problems when I started working on Apache log4j logging framework. In this post I am going to start from basic ,e.g what is a logging framework ? , Why it is required? How to Configure it in your application ? and most common exceptions that you will get during configuration. So, let’s start.
After starting my wordpress blog ,within few days some of posts starts toping the Google chart , I was very happy by seeing that but it caused an unwanted problem for me i.e I started getting spam emails and spam comments on my posts.On an average I was getting 50-100 spams everyday and I was really pissed of these spams , so I thought instead of running away from them I have to fight with these spams.So next question is How to fight spams, In this post I am going to focus on what all measures I have taken to avoid spams and gave a rock solid answer to these spammers.
Before we start looking into the details of “How to Install Git on Windows” , we will try to understand what exactly GIT Distributed Version Control System is , what are its advantages and then how to install it.
So, let’s start :
What is GIT ?
In simple terms, GIT is a distributed version control system that’s it. I know just putting a formal definition is not enough and is not sufficient to understand GIT Distributed Version Control System, let’s break this term into 2 parts , Distributed and Version Control System , and we will try to understand Continue reading GIT Distributed Version Control System and How to Configure→