http://java.sun.com/j2se/1.4.2/docs/guide/lang/assert.html
Very detailed article on sun site about various guidelines on using Java assertions.