943,682 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Marked Solved
  • Views: 572
  • Java RSS
Jan 25th, 2009
0

Java or JavaScript

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
|\|asrin is offline Offline
11 posts
since Jan 2009
Jan 25th, 2009
0

Re: Java or JavaScript

Read this.
Super Moderator
Featured Poster
Reputation Points: 3233
Solved Threads: 719
Failure as a human
~s.o.s~ is offline Offline
8,871 posts
since Jun 2006
Jan 25th, 2009
0

Re: Java or JavaScript

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.
Reputation Points: 485
Solved Threads: 89
Posting Shark
verruckt24 is offline Offline
944 posts
since Nov 2008
Jan 26th, 2009
0

Re: Java or JavaScript

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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
|\|asrin is offline Offline
11 posts
since Jan 2009

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: sending sms through a java program
Next Thread in Java Forum Timeline: jTree





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC