add more demo
modify java doc