这两篇可以入门
http://www.cnblogs.com/ninahan0419/archive/2009/06/25/javarmi.html
http://www.cnblogs.com/wxisme/p/5296441.html