Welcome to my blog !


zgrep and zcat ussage

February 18, 2011 ·  1 min read

finding content in uncompressed files (extension, gzip). In a directory, there are many .gz files, how do we search for a particular word in those files. one solution is to unzip the .gz file and use the grep command. Here are the steps gunzip filename.gz grep “searchword” file The other and better solution is using zgrep command in unix zgrep “search word” filename.gz grep command work on text files, zgrep works on compressed logs....

Maven dependency example explained

February 3, 2011 ·  2 min read

One of the features of Maven over ant tool is dependencies management for software projects. When you are using maven in your project, you need to define the dependencies in pom.xml, once the dependencies are defined, these will be downloaded into your local machine from repositories. To configure the dependencies, you have to use the dependency plugin which manipulates the artifacts when you are installing with maven So here is sample code snippet for configuring spring-core to your project...

Install and configure maven Tutorials

December 6, 2010 ·  2 min read

Maven is a build tool to automate the build process of java based projects.Java development environment is required for maven installation on any platform. Before installing maven, Please make sure that you installed latest JDK version Install and setup maven on local windows: Download maven software from apache site and extract the files, copy it local drive example D:\java\apache-maven-3.0.3. Before that, you need to set below environment variables on your local box...

Code Names for java releases

June 7, 2010 ·  1 min read

This is my first post for this blog. i am going to post Code Names for different java releases,hope the people don’t confuse with calling code name’s VERSION CODE NAME JDK 1.1.4 Sparkler JDK 1.1.5 umpkin JDK 1.1.6 Abigail JDK 1.1.7 Brutus JDK 1.1.8 Chelsea J2SE 1.2 Playground J2SE 1.2.1 (none) J2SE 1.2.2 Cricket J2SE 1.3 Kestrel J2SE 1.3.1 Ladybird J2SE 1.4.0 Merlin J2SE 1.4.1 Hopper J2SE 1.4.2 Mantis J2SE 5....

Java Code Names

June 7, 2010 ·  1 min read

Hi This is my first post, i am going to post the code names for different java releases, Hope the people don’t confuse with the code names. VERSION CODE NAME JDK 1.1.4 SparklerJDK 1.1.5 PumpkinJDK 1.1.6 AbigailJDK 1.1.7 BrutusJDK 1.1.8 ChelseaJ2SE 1.2 PlaygroundJ2SE 1.2.1 (none)J2SE 1.2.2 CricketJ2SE 1.3 KestrelJ2SE 1.3.1 LadybirdJ2SE 1.4.0 MerlinJ2SE 1.4.1 HopperJ2SE 1.4. 2 MantisJ2SE 5.0 (1.5.0) TigerJava SE 6 MustangJava SE 7 Dolphin...