Feeds:
Posts
Comments

Archive for April, 2009

I have had an opportunity to play around with annotation and hibernate validation. Basically, hibernate has a few predefined annotations that you can use to annotate your getter methods. Later on, when in comes the user input, it will be validated based on the annotation type you use. For example -

@Length(max = 100)
@Email
public String getEmail() {
  return email;
}

Here we are [...]

Read Full Post »

Just came across this Garfield post today through google gadget. As always they are funny as hell. But wait, this one is more. It looks awefully familiar !

Can you guess which one is me?

Read Full Post »