Difference Between Java and JavaScript{4}

The article I read talks about the difference between Java and JavaScript.  They are essentially similar but somewhat different depending on how you look at them. According to the article, Java is an Object Oriented Programming (OOP) Language created by James Gosling of Sun Microsystems. However, JavaScript is a scripting language known as LiveScript. JavaScript contains a much smaller and simpler set of commands than Java does. It is easier for the average person to understand and much simpler for any individual to work with. The main difference between Java and JavaScript is that Java can stand on its own while JavaScript must be placed inside an HTML document to function. A Java is a fully contained program. It is a much larger and more complicated language that creates applications. However, JavaScript is text based. You write it to an HTML document and it is run through a browser. You can alter it after it runs and run it again and again.

In my opinion, JavaScript’s main benefit is that it can be understood by the common human. It is much easier and more robust than Java. It allows for fast creation of web page events. Many JavaScript commands are known as Event Handlers. They can be embedded right into existing HTML commands. JavaScript is a little more tolerant than Java. It allows more freedom in the creation of objects. I personally believe both will create great web page events and can offer interaction between the user and your Web page. But they are not created equally by any means. I strongly believe this article relates to class because it covers the topic that we were going over in class. I learned a lot from this article because I was curious as to what the difference was between the Java and JavaScript and this article cleared all my doubts.


Burns, J. (n.d.). Java vs. JavaScript. HTML Goodies: The Ultimate HTML Resource. Retrieved April 29, 2012, from http://www.htmlgoodies.com/beyond/javascript/article.php/3470971/Java-vs-JavaScript.htm