Java or JavaScript

Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved

Join Date: Jan 2009
Posts: 11
Reputation: |\|asrin is an unknown quantity at this point 
Solved Threads: 0
|\|asrin |\|asrin is offline Offline
Newbie Poster

Java or JavaScript

 
0
  #1
Jan 25th, 2009
Please somebody help me! I`m a beginner and want to learn web designing. I want to khow taht is there any diffrences between Java & JavaScript if yes which one of them is better for me I have learned just C programming language.
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 7,619
Reputation: ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of 
Solved Threads: 468
Super Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Failure as a human

Re: Java or JavaScript

 
0
  #2
Jan 25th, 2009
Read this.
I don't accept change; I don't deserve to live.
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 823
Reputation: verruckt24 is a jewel in the rough verruckt24 is a jewel in the rough verruckt24 is a jewel in the rough verruckt24 is a jewel in the rough 
Solved Threads: 73
verruckt24's Avatar
verruckt24 verruckt24 is offline Offline
Practically a Posting Shark

Re: Java or JavaScript

 
0
  #3
Jan 25th, 2009
There is not much common where purpose of usage is considered for Java and JavaScript though I am sure they share together much history.

Java is a general purpose language for programming client or server side applications. JavaScript on the other hand is a client-side scripting language.

Since you mention you are a beginner siting and example based on usage would make tings a little clearer I guess. Java would most likely be used for developing applications that run on a stand alone PC such as a desktop GUI program. If you are aware of file sharing peer-to-peer applications, LimeWire is one of them. Java is also used to develop applications that run on the server, such applications normally run without much user interaction and continue to run for days or even months on end without being stopped even once. Various services offered by companies to their clients e.g. messaging service fall in this category. These applications are often called command-line based applications as they are started by commands on the command shell.
JavaScript is used to carry out client side programming in web applications. JavaScript code is embedded within HTML pages and runs in the context of the browser. Most web browsers today have built-in support for JavaScript. JavaScript is commonly used for validating informatoin filled out in web forms, though it does have other uses.
Google about both of them for further information.
Last edited by verruckt24; Jan 25th, 2009 at 3:50 pm.
Get up every morning and take a look at the Forbes' list of richest people. If your name doesn't appear.... GET TO WORK !!!
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 11
Reputation: |\|asrin is an unknown quantity at this point 
Solved Threads: 0
|\|asrin |\|asrin is offline Offline
Newbie Poster

Re: Java or JavaScript

 
0
  #4
Jan 26th, 2009
Thank you for your answers verruckt24 & ~s.o.s~. now I know the differences between Java & JavaScript so I can start writing my first scripts.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC