Free technical help for digital creators - music, video, art, photography, graphic & web design

What are Java & JavaScript?

Java is a multi-platform (or cross-platform if you like) programming language developed by Sun. It is therefore ideal for creating software which will be distributed across the Internet and used on differing end-user systems.

Essentially, whereas most software must be re-written for each operating system, software written in Java need only be written once. This remarkable feat is achieved by means of the "Java Virtual Machine", a piece of software which translates between the software and the OS.

Java's one disadvantage is that the Virtual Machine imposes a performance overhead on any Java application, slowing its performance.

Java Applet

A special type of compiled Java program, called an "Applet", may be placed in an HTML Web page, perhaps in order to introduce interactivity.

Java can also be used to create small programs called "Cookies", which webmasters use as a way of profiling and tracking visitors to their sites.

JavaScript

JavaScript is a Java-like programming language developed by Netscape. Despite their simular names they are entirely different languages. JavaScript may be written into Web pages, along with HTML, as un-compiled code to produce basic interactivity such as changing graphic rollovers or to check the contents of a form. Source code in the browser compiles and runs the JavaScript.