0

hi!guys
pay some attention there thanks
can any one tell be what is the difference b/t java and java script..
According to my point of view java is programing language that used for the application development..but i have a little knowledge about java script i think it is client side scripting language....and nothing else...........

6
Contributors
7
Replies
47
Views
3 Years
Discussion Span
Last Post by _1_18
Featured Replies
  • 3
    IIM 163   3 Years Ago

    Here is the difference quoted from http://www.java.com/en/download/faq/java_javascript.xml > How is JavaScript different from Java? > The JavaScript programming language, developed by Netscape, Inc., is not part of the Java platform. > JavaScript, does not create applets or stand-alone applications. In its most common form today, JavaScript resides inside HTML documents, … Read More

  • 3

    one is a complete programming language, that can be used to create stand alone and web applications, the other is a scripting language, which can only run front-end in a webbrowser. it would be easier to answer the question: what do they have in common? 1. they both have 'Java' … Read More

  • 3
    ~s.o.s~ 2,560   3 Years Ago

    > , the other is a scripting language, which can only run front-end in a webbrowser. This isn't true; look at [Node.js](http://nodejs.org/). It provides all the API calls required to do I/O (network connections, read/write files etc.), integrate with other C/C++ API's out there (by writing node.js libraries which wrap … Read More

3

Here is the difference quoted from http://www.java.com/en/download/faq/java_javascript.xml

How is JavaScript different from Java?
The JavaScript programming language, developed by Netscape, Inc., is not part of the Java platform.
JavaScript, does not create applets or stand-alone applications. In its most common form today, JavaScript resides inside HTML documents, and can provide levels of interactivity to web pages that are not achievable with simple HTML.

Listed are key differences between the Java and JavaScript.
Java is an OOP programming language while Java Script is an OOP scripting language.
Java creates applications that run in a virtual machine or browser while JavaScript code is run on a browser only.
Java code needs to be compiled while JavaScript code are all in text.
They require different plug-ins.

hopefully it will clear your doubts

3

one is a complete programming language, that can be used to create stand alone and web applications, the other is a scripting language, which can only run front-end in a webbrowser.
it would be easier to answer the question: what do they have in common?
1. they both have 'Java' in their name.
2. their syntaxis LOOK the same, but they are not.
well, that about sums it up.

there is talk that both 'll be more integrated with each other in a future version of Java, but that 's not the case yet.

Comments
Nice comparison.
3

, the other is a scripting language, which can only run front-end in a webbrowser.

This isn't true; look at Node.js. It provides all the API calls required to do I/O (network connections, read/write files etc.), integrate with other C/C++ API's out there (by writing node.js libraries which wrap them) etc. In short, a stand-alone Javascript implementation. Of course, it isn't the first; there are others like Rhino, an implementation of Javascript in Java.

Edited by ~s.o.s~

0

they are two entirely different things. summing up 'more differences with examples' might lead to a collection of posts that could easily fill an entire library.
what do you need to know that isn't mentioned yet?

0

Key differences between Java and JavaScript:
Java is an OOP programming language while Java Script is an OOP scripting language.
Java creates applications that run in a virtual machine while JavaScript code is run on a browser only.
Java code needs to be compiled while JavaScript code are all in text.
They require different plug-ins.

This article has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.