What is the difference between Java and JavaScript?
Although both are programming languages commonly seen on the Web, they are two very different things.
Java is a language like C that needs to be compiled before use, then referred to with <APPLET> tags in an HTML file.
The browser downloads the applet as it would an image, interprets the .class files, then displays the results.
JavaScript is a language that can be written directly into an HTML file, between <SCRIPT> tags.
The browser interprets the JavaScript along with the HTML, and displays the results.
In general JavaScript is more integrated with an HTML page. For example it can be used to detect information about a user's browser then adjust the HTML that is displayed.
While Java tends to be more of an independent mini-application that sits on a web page, similar to a Flash movie.
Also, while JavaScript tends to be easier to learn and use, it can't be used to create standalone desktop applications the way Java can.
New on the Java Boutique:
New Review:
Time Management Made Easy with the Quartz Enterprise Job Scheduler
Why not just use the Java timer API? This open source scheduling
API boasts simplicity, ease-of-integration, a well-rounded feature
set, and it's free!
New Applet:
Reverse Complement
Reverse Complement is a simple applet that converts DNA or RNA
sequences into three useful formats.
Elsewhere on internet.com:
WebDeveloper Java
Lots of Java information on webdeveloper.com
WDVL Java
Thorough Java resource at the Web Developer's Virtual Library.
ScriptSearch Java
Hundreds of free Java code files to download.
jGuru: Your View of the Java Universe
Customizable portal with online training, FAQs, regular news updates, and tutorials.
New on the Java Boutique:
New Review:
Time Management Made Easy with the Quartz Enterprise Job Scheduler
Why not just use the Java timer API? This open source scheduling
API boasts simplicity, ease-of-integration, a well-rounded feature
set, and it's free!
New Applet:
Reverse Complement
Reverse Complement is a simple applet that converts DNA or RNA
sequences into three useful formats.
Elsewhere on internet.com:
WebDeveloper Java
Lots of Java information on webdeveloper.com
WDVL Java
Thorough Java resource at the Web Developer's Virtual Library.
ScriptSearch Java
Hundreds of free Java code files to download.
jGuru: Your View of the Java Universe
Customizable portal with online training, FAQs, regular news updates, and tutorials.
|