What is the difference between JVM, JDK, JRE?

What we download i.e JRE(Java Runtime Environment),JDK(Java Development Kit) as installer.

JDK contains tools needed to develop and compiling the Java programs like javac,jar,debugging tools,javap etc.

JRE to run the programs.It contains libraries,java,javaw and rt.jar.

JVM is created when we run a java program.JVM is the one who provides Platform independence to Java by converting byte code to machine specific code.

jvm_jre_jdk

Validate a date in “YYYY-MM-DD” format

function checkDateFormat($date)
{
    //match the format of the date
    if (preg_match ("/^([0-9]{4})-([0-9]{2})-([0-9]{2})$/", $date, $parts))
    {
        //check weather the date is valid of not
        if(checkdate($parts[2],$parts[3],$parts[1]))
            return true;
        else
        return false;
    }
    else
        return false;
}

What is Big Data?

Everyone is talking about Big Data.

Big Data grows up-forbesbig-data-318x211

Business opportunists in big data-Inc

How Big data got so big- Newyork times

But it’s not just hype.The worlds data is doubling every 1.2 years.There are 7 billion people in the world.5 billion of them own a cell phone. Each day we send over 11 billion texts. Watch over 2.8 billion youtube videos and perform 5 billion google search and we are not consumming IT.

Continue reading

“Pooch-O” new mobile app book GPS-Fitted auto

New App lets delhi residents book gps-fitted auto rickshaws “PoochO”.

12

Pooch-O Feature:-

Location of the Auto: Users can view the location of the autos nearest to them as well as the distance of the auto from the users’ location.
Call the auto driver: Users can call the auto drivers directly on their personal mobile nos. and check if they are free and willing for a trip.
Estimated Fare: Users can get the estimated fare of their trip by feeding in their origin and destination points.
Estimated travel distance: Users can also find out the estimated travel distance by feeding in their origin and destination points.
Estimated travel time: The app will also give the estimated time of travel on feeding in the origin and destination points.
Traffic Update: Users can get the details of the traffic condition of the selected route.
Track the auto: Users can track the auto and check if it is coming towards them or not once the booking is confirmed.
Send user location: Through the app the users can also send their location details to the auto driver if they are unable to explain where exactly they are waiting.