Web Development

  • Logging in Java – Log4J

    Rahul Goel - January 11, 2015
    History of Logging Logging is a very important part of the development cycle. Writing the logs is a very old method to debug and monitor the code as well as your application. In the past, people used to do it by using output statements also called SOP statements in reference…
    continue reading

[symple_divider style=”solid” margin_top=”20″ margin_bottom=”20″]

  • PMD Plug-in for Eclipse

    Shalini Goyal - September 5, 2014
    10 Minutes Step by Step Guide to have PMD Plug-in and Ensure the Code Quality Ensuring the Code quality has always been a challenge in a developer’s life. Needless to say, well written code brings down the maintenance cost. It is always good to have the code reviews by peers…
    continue reading

[symple_divider style=”solid” margin_top=”20″ margin_bottom=”20″]

  • doGet() vs. doPost()

    Shalini Goyal - September 6, 2014
    In this post we are going to look at the details and difference between doGet() and doPost() methods. We have seen the servlet life cycle already in an earlier post and have looked at the service part of it. So when you invoke a servlet, the servlet engine passes the…
    continue reading

  • Servlet Example

    Shalini Goyal - September 5, 2014
    In the last post we discussed about the Servlet basics and covered the different phases of its life cycle. Over here we would try to write a very simple 'Hello World' servlet class. This example would be an http servlet as they are the one widely and mostly used (not…
    continue reading

  • Servlet Overview and Life Cycle

    Shalini Goyal - September 5, 2014
    What is a Servlet Servlet is nothing but a Java Class which services HTTP request. Consider servlet as a Java Class used to extend the capabilities of servers that host applications via a request-response programming model. Though servlets are not tied to a specific client-server protocol but they are mostly…
    continue reading

[symple_divider style=”solid” margin_top=”20″ margin_bottom=”20″]

  • JSP Directives

    Shalini Goyal - September 5, 2014
    Directives provide instructions to the JSP container and affect compiling of the JSP page. Though there are mainly three types of directives named as 'page directive', 'include directive, and 'taglib directive', but I am going to cover few more along with them. [table caption="JSP Directives Table" width="750" colwidth="10|50|50|50" colalign="left|left|left|left"] no.,JSP…
    continue reading

  • Handling JSP Errors

    Shalini Goyal - August 16, 2014
    To handle the JSP errors, lets have a look of the different types of errors first. There are two types of errors in JSP: 1) Translation Time Errors and 2) Request Time Errors Translation Time Errors These errors occur when a JSP is first requested and goes through the initial…
    continue reading

  • JSP Introduction and Life Cycle

    Shalini Goyal - August 15, 2014
    JSP (Java Server Pages) basically separates the work of web designers and developers i.e. it separates 'User Interfaces' from 'Content Generation'. In this post, I am going to cover the basics of JSP, Hello World code sample, JSP Life Cycle, Components and exception/error handling. What is a JSP A JSP…
    continue reading

[symple_divider style=”solid” margin_top=”20″ margin_bottom=”20″]

  • PMD Plug-in for Eclipse

    Shalini Goyal - September 5, 2014
    10 Minutes Step by Step Guide to have PMD Plug-in and Ensure the Code Quality Ensuring the Code quality has always been a challenge in a developer’s life. Needless to say, well written code brings down the maintenance cost. It is always good to have the code reviews by peers…
    continue reading

[symple_divider style=”solid” margin_top=”20″ margin_bottom=”20″]

  • Maven Introduction and Build Phases

    Shalini Goyal - November 16, 2014
    What is Maven Let’s first understand what Maven is actually and what the purpose of it is. That would help you to know why to use it and when to use it. Maven is basically a Java project management framework and a build tool. It is based on the concept…
    continue reading

  • Maven Installation

    Shalini Goyal - October 21, 2014
    Maven (the word maven means Accumulator of Knowledge) is a build and dependency management tool for java- based applications. It provides a uniform way to build the project and a standard way to do the project release. Here I am providing step by step installation guide to install Maven and…
    continue reading

  • Skip Test Cases – Maven Build

    Shalini Goyal - October 14, 2014
    Very often you might need to build your code despite of the test cases not working fine. But what we mean by skipping the test cases? Well, this means that while creating a maven build, we want the test cases to be ignored from the build. We want them not…
    continue reading