updated JAVA doc
created sample project