Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Java VS. JavaScript

Status
Not open for further replies.

rry2k

Programmer
Jun 28, 2001
678
US
I just had someone ask me the difference between Java and JavaScript. I have written a little JavaScript and know nothing about Java. Can someone please explain the difference. I will be conveying this information to a virtually non-technical user.

Thanks..Russ
 
JAVA is a fully developed, though continually evolving programming language, object oriented in its design.

Javascript is similar to JAV in that "Java" appears in Javascript, it was a marketing ploy to ride the coattails of JAVA.

Javascript is a scripting language, executed on the users computer in their browser, for the main purpose of making web-pages interactive.

 
To add to phpPete's description Javascript exist in two flavors, client side (on your broswer) and server side which can communicate with Java Classes and thus the name for JavaScript.

Javascript is lately only seen in browsers where you want to have something done on the person's computer. A good example of something a programmer will want to do on a person's computer is verify the data they entered in a form. This can be done using javascript.

Once the data is verified the information can be sent to a server that could run a Java application to do something usefull with that information. Gary Haran
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top