Welcome to my blog !


Learn Basics of Inside Java Virtual Machine?

December 4, 2011 ·  3 min read

As you know in any machine, we have different components like a hardware (physical machine call it as hardware(CPU, RAM.. etc) and software (Operating System). if you want to perform any operation from another machine, we need to write some code (say in c language) which will open a socket connection, that is a remote network call to other machine and make an OS call i.e native call. Each machine should have different ways to handle this situation....

Hellow World Jsp Example

December 3, 2011 ·  1 min read

Before setting up deploying JSP on your environment, make sure that JAVA_HOME environment is set. and also download tomcat from the apache site and should set TOMCAT_HOME environment is set. Please make sure that PATH and CLASSPATH environment variables are set Steps to create a first web application. Create a HelloWorld folder and the folder structure looks like as following structure HelloWorld root folder contains the following structure...

java Collections overview

December 3, 2011 ·  1 min read

java.util.Collection Collections are data structures are used to represents a group of elements stored under a single name. Different operations like searching, sorting, insert, delete and filter operations will be performed on collection classes Java provides several classes and interfaces to deal with collections Java collections are defined in java. util package java.util.Collection and java.util.map interfaces are root interfaces which all collection classes are extending either one of the interfaces....

Front Controller Design pattern in java/jsp applications

December 3, 2011 ·  1 min read

Front Controller is one of the most important design pattern mostly used in web applications. The problem:- As you know in a web application, whenever clients send the request to the server, the server process the request, if possible make a database call, get the data from the Database or other third party systems and process the data, and send the response. Here there is different components involved, business data validation, holding the database data(model) and view process....

Fix for Common exceptions in java language

December 3, 2011 ·  3 min read

Java Exception Handling Exception handling is a very important part of Java application development. It helps to make application stable and error free. When application results error, java handles using exception classes. The Exception can be handled using try/catch/finally blocks. During development, Developers used to encounter different type exceptions frequently. This post is about listing out the list of common exceptions, and solutions for fixing them. Following are the exceptions in java programming language....