An article introducing using K-mean algorithm in Java - http://www.javaworld.com/javaworld/jw-11-2006/jw-1121-thread.html