1. Complete Jsoup Tutorial

    Jsoup is to HTML, what XML parsers are to XML. It parses HTML; real world HTML. Its jquery like selector syntax is very easy to use and very flexible to get the desired result. In this tutorial, we will go through a lot of examples of Jsoup. Table of Contents What all you can achieve […]

  2. How distributed version control system works?

    In the last post we had an introduction to centralized version control systems. In this post I will be introducing you to the “distributed version control system“. Unlike centralized VCS, where all the heavy lifting is done at the server side and acts as a single point for all the operations and the clients have […]

  3. Hadoop MapReduce Tutorial for Beginners

    Hadoop MapReduce is a software framework for easily writing applications which process vast amounts of data (multi-terabyte data-sets) in-parallel on large clusters (thousands of nodes) of commodity hardware in a reliable, fault-tolerant manner. Similar to HDFS, Hadoop MapReduce can also be executed even in commodity hardware, and assumes that nodes can fail anytime and still […]

  4. How Version Control System (VCS) Works?

    If you are a developer or into testing you would have to work with a source code repository also referred to as version control system. You might have used CVS, SVN and Perforce etc. In this post, I will be walking you through the foundation of version control system, which will help us to understand […]

  5. HDFS – Hadoop Distributed File System Architecture Tutorial

    HDFS (Hadoop Distributed File System) is where big data is stored. Primary objective of HDFS is to store data reliably even in the presence of failures including Name Node failures, Data Node failures and/or network partitions (‘P’ in CAP theorem). This tutorial aims to look into different components involved into implementation of HDFS into distributed […]

  6. Brewer’s CAP Theorem in Simple Words

    When you start discussing distributed architecture, there is high possibility that you will encounter this CAP theory (or Brewer’s theorem). CAP stands for Consistency, Availability and Partition tolerance. It wants system designers to make a choice between above three competing guarantees in final design. It’s said that achieving all 3 in system is not possible, […]

  7. Hadoop – Big Data Tutorial

    In this hadoop tutorial, I will be discussing the need of big data technologies, the problems they intend to solve and some information around involved technologies and frameworks. Table of Contents How really big is Big Data? Characteristics Of Big Data Systems How Google solved the Big Data problem? Evolution of Hadoop Apache Hadoop Distribution […]

  8. Spring transactions on non-public methods with load-time weaving

    In this tutorial, we will learn to apply transactions in any spring application on non-public methods (by deault spring AOP can only advise public methods of beans declared in the IoC container). Using this technique, you can manage transactions for nonpublic methods, or on any methods into objects which are created outside the Spring IoC […]

  9. How to Create Password Protected Zip Files in Java

    This tutorial covers creating password protected zip files using a very useful library zip4j. Java, by default, does not provide any support for password protection for file; though it has very good API support for creating/extracting zip files. There are some other useful libraries out there, which are equally good and sometimes better than zip4j, […]

  10. Windows 7 – Set Environment Variables without Admin Access

    In this tutorial, we will learn to set environment variables e.g. JAVA_HOME when you don’t have admin access to your development machine. This is very common scenario in companies with high security requirements like banks ( like mine :-) ). Open “User Accounts” Option You can locate this option by searching ‘accounts‘ or ‘user accounts‘ […]

Java blog for smart concepts and coding practices