Web
Design made
Easy
 

 

 

Anfy Team
Java File
Dynamic Drive
Javascript
Source
JavaScrip Kit

 

Java and JavaScripts are not one in the same.

The two are similar in that they are both Object Orientated Programming (OOP). You build smaller objects that make up the whole. Both will create great Web page events. Both can offer interaction between the user and your Web page.

The main difference is Java is stand-alone and JavaScript is not.

Java runs independent of the HTML document. The delivery of Java is done through a time consuming download. The HTML document calls for the application, it downloads to the user's cache, and waits to run.
JavaScript is placed inside an HTML document and depends on the browser to understand it and make it come to life. JavaScript is more robust than Java. It allows for fast loading of the Web page.

 

Javascript Drop Down Information This user friendly drop down menu uses JavaScript. It loads very quickly and gives the user the direct access to the page or paragraph that he wants to read.



What is JavaScript?

Javascript is a lightweight scripting language originally developed by Netscape to add interactivity and power to web documents. It is purely client side, and runs completely on the client's browser and computer.


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?

The main difference is Java is stand-alone and JavaScript is not. Java runs independent of the HTML document. The viewer must have Java installed on their computer or they will not be able to view the Java. Java needs to be compiled before it can run, while JavaScript does not.


Should I use them?

Using Java and JavaScripts on your page will increase the download time with Java being the longest. If your visitors are the "I'm in a hurry and want it right now or I'm leaving" type definitely do not use Java.

 

 

Calgary, Alberta, Canada