Archive for the 'articles' Category



Never thought Even constants(public static final) could be Bad

Wednesday 30 July 2008 @ 2:59 pm

Don’t get me wrong. Using Constants are good. But I am just facing a situation where I feel terribly bad on why I did.
Continue Reading »
Never thought Even constants(public static final) could be Bad




Swing’s InputVerifier tutorial: A super elegant way for validation

Friday 4 July 2008 @ 5:07 am

Let’s consider a common coding situation. Suppose you have a text field in your form that accepts an email address. Suppose you need to code such that if the email address typed by the user is not valid, then you shouldn’t let the focus out of this textfield. Where would you put such a code? In the focus lost of the email-text-field? In the focus gained for all other text-fields? I don’t know what’s the best way to do this in JavaScript but there’s a super-elegant way in Swing!




Captcha Implementation in JSP to prevent Spam in 5 minutes : step by step

Wednesday 18 June 2008 @ 4:16 pm

This article gives step-by-step instructions to setup captcha in your JSP page using recaptcha. In total there are 3 steps

  • Sign up at http://recaptcha.net and get the Public and Private Keys
  • Download the reCaptcha4j library
  • Write code in your jsp to implement it

Continue Reading »
Captcha Implementation in JSP to prevent Spam in 5 minutes : step by step




Serializing Java Code Like data, how cool would that be?

Thursday 29 May 2008 @ 11:11 am

Here’s a thought, a possibility and a question for you, all based on the question “What if you could Serialize java code, like data”?
Continue Reading »
Serializing Java Code Like data, how cool would that be?








Popular Articles

Blog Categories

Monthly Archives

Resources