Google it?
Or buy a book about Java?
Seeing as you obviously don't know the difference between Java and javascript you shouldn't give any advice on this matter whatsoever, not even to buy a book, because if he follows your advice he will buy the wrong book...
He should do this project in Haskell or Assembler instead of javascript. It would be much better for the community if he did.