Sep 5, 2009
New features coming to Java 7
Joseph Darcy, the lead of Project Coin, formally announced the approved changes to the Java language to be included in JDK 7. Although there was no major chang
Jul 28, 2009
How to search for a string in a file using Java regular expression.
If you need to search for a phrase or a string in a text file Java regular expression is the easiest way to accomplish this task. Here is a simple example that
May 30, 2009
How to remove (delete) Eclipse workspace from the dropdown list.
Eclipse is my favorite Java IDE. To manage projects Eclipse uses ‘Workspaces’. Workspace is basically a folder on your disk where your project files
Apr 16, 2009
Top four free programs to capture screenshot
For most web developers, programmers and bloggers taking screenshots is quite a common task. Sometimes you need the screenshot for your next post or article or
Feb 1, 2009
Ultimate Java Regular Expression to validate any email address.
My post about Java regular expression gets a lot of hits daily. Someone commented that the regular expression I included in that post does not block certain inv
Jan 23, 2009
How to read properties file in a Spring Application.
If you need to read the properties file in your Spring application all you need is to configure a PropertyPlaceholderConfigurer bean in your application context
Jan 20, 2009
How to display RSS feed on your website.
Image credit:Kyle Wegner OK, admit this. You have a nice-looking website. The color and the graphics look pleasing to visiting eyes. But you do not get a lot of
Jan 4, 2009
How to configure multiple handlers in a Spring MVC web application
In Spring MVC, DispatcherServlet relies on handler mapping to determine which controller the request should be sent to. All handler mapping classes in Spring im
Dec 31, 2008
DropBox rings in new year with sleek new web interface.
One of the most popular file-sharing applications DropBox has a new and improved web interface. It now offers a new and improved navigation. They have also tran
Dec 29, 2008
Achieve more by typing less, use PhraseExpress.
If you do a lot of repetitive typing, you may want to consider using PhraseExpress. This recently updated text-replacement application can save you a lot of key
Dec 9, 2008
How to remove Ctrl-M (^M) from Unix files?
Sometimes when you upload or FTP files from a Windows system to a UNIX box you will see ^M at the end of each line. ^M is the UNIX equivalent of DOS line break.
Nov 24, 2008
ColorPix. Free utility to determine the hex code of any color.
Ever wanted to use a shade of color you found on a website or an image on your own website? You can find out the text color, background color etc. by looking at
Aug 7, 2008
Extract substring from end of a Java String
Today I’ll show you how to extract last few characters (a substring) from a string in Java. Here is the code to do this.
Jul 19, 2008
How to add external jar files to Maven project POM
Maven has made compiling Java projects almost an effortless job. You no longer need to worry about placing all the required class files in your classpath. All y
Jul 1, 2008
Print large string in PL/SQL.
For PL/SQL developers put_line is a quite useful method. I use it for logging purposes. Recently I found out that the method has an annoying limitation. You can