What is Java?
Java is a full-blown heavyweight object-oriented programming language developed by Sun Microsystems Inc. It is powerful, complex, and unfortunately, hard to master. Java programs need to be compiled before they can run. Your computer needs to work harder.
Are they similiar?
The only similarity between the two (other than the word "java") is that they both make something happen. Both will create great Web page events. Both can offer interaction between the user and your Web page.
What is the difference?
Should I use them?