| | |
Java or JavaScript
Thread Solved |
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.
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 !!!
![]() |
Similar Threads
- java to javascript (JavaScript / DHTML / AJAX)
- difference java javascript (Java)
- converting from javascript to HTML? (Java)
- A question on java script?(Please answer ASAP) (Java)
- On Internet Explorer, My Java does not work! (Web Browsers)
- Page Cannot Be Displayed & javascript:doNetDetect() Errors (Viruses, Spyware and other Nasties)
- recommendations for JavaScript learning resources? (JavaScript / DHTML / AJAX)
Other Threads in the Java Forum
- Previous Thread: sending sms through a java program
- Next Thread: jTree
| Thread Tools | Search this Thread |
2dgraphics 3d @param affinetransform android api applet application arc arguments array arrays automation banking binary bluetooth byte chat chatprogramusingobjects class client code color compare component count database design detection eclipse eclipsedevelopment encryption error fractal game givemetehcodez graphics gridlayout gui guitesting helpwithhomework html ide if_statement image input integer interface j2me java java.xls javadesktopapplications javaprojects jni jpanel julia keytool keyword linux list loop macintosh map method methods mobile netbeans newbie object os pong problem producer program programming project projectideas read recursion reference replaysolutions rim scanner server set size sms sort sql string swing terminal threads transforms tree ui unicode validation web windows






