Originally Posted By: artie505

(*)Extracted from Java vs. JavaScript:

"Now let's talk about how Java and JavaScript differ. The main difference is that Java can stand on its own while JavaScript must be placed inside an HTML document to function."

I just ran across this comment and found the quote to be overly simplistic and taken out context it is grossly misleading. You would have been more accurate to quote the entire paragraph which reads
Originally Posted By: HTMLGoodies
Now let's talk about how Java and JavaScript differ. The main difference is that Java can stand on its own while JavaScript must be placed inside an HTML document to function. Java is a much larger and more complicated language that creates "standalone" applications. A Java "applet" (so-called because it is a little application) is a fully contained program. JavaScript is text that is fed into a browser that can read it and then is enacted by the browser--although today's web apps are starting to blur the line between traditional desktop applications and those which are created using the traditional web technologies: JavaScript, HTML and CSS.
For a more complete unserstanding of the difference in Java and JavaScript you should read the entire article. By-the-way, to be completely pricise, JavaScript is a dialect of ECMAScript which is the ruliing standard.


If we knew what it was we were doing, it wouldn't be called research, would it?

— Albert Einstein