Source: http://creatingux.com/js/javascript.php

Many QlikView developers are confused between Java and JavaScript. Many still thinks that JavaScript is part of Java platform, which is not true. While I was interviewing, I had seen some QlikView developers saying that they know Java and claim to have extensive experience writing extensions from scratch. In reality, they mean JavaScript. This will most likely backfire the interview process. So, it is important to understand the fundamental differences between Java and JavaScript.

In truth, JavaScript has nothing to do with Java, only common thing between them is word “Java”. JavaScript was originally called Livescript, and was renamed when Java was introduced as a kind of marketing strategy. Java and JavaScript are two totally different programming languages. JavaScript, which was originally developed to work in web browsers, is a scripting langauge that works in web browsers and is used in combination with CSS and HTML for modern, dynamic web development. Although, recently with the release of Node.js, JavaScript also works on server side. Java on the other hand is a full featured, all purpose, programming language that is mainly used in server side.

Some more points:

  • Java is Object Oriented and JavaScript is both Object Oriented and Functional programming language
  • JavaScript is dynamically typed where Java is statically typed language
  • JavaScript has functional scope and Java has block scope
  • Both JavaScript and Java can be used on server side
  • JavaScript and Java both provide extensive libraries and frameworks