![]() |
![]() |
||
The time now is 9:45pm You last visited Today at 9:27pm |
|
||
![]() |
|
| What's the difference between JavaScript and Java? | |
|
| |
|
| Author | Message |
jhonygaddar
Newbie
Joined: 06 Feb 2010 Location: India Online Status: Offline Posts: 3 |
Topic: What's the difference between JavaScript and Java?Posted: 06 Feb 2010 at 5:51am |
|
Actually, the 2 languages have almost nothing in common except for the name. Although Java is technically an interpreted programming language, it is coded in a similar fashion to C++, with separate header and class files, compiled together prior to execution. It is powerful enough to write major applications and insert them in a web page as a special object called an "applet." Java has been generating a lot of excitment because of its unique ability to run the same program on IBM, Mac, and Unix computers. Java is not considered an easy-to-use language for non-programmers.
Javascript is much simpler to use than Java. With Javascript, if I want check a form for errors, I just type an if-then statement at the top of my page. No compiling, no applets, just a simple sequence. |
|
IP Logged |
|
![]() |
|
samlko
Groupie
Joined: 27 Nov 2009 Location: United Kingdom Online Status: Offline Posts: 58 |
Posted: 25 Feb 2010 at 6:55am |
|
Hello,
http://www.dannyg.com/ref/javavsjavascript.html recourse is useful for learning difference between JavaScript and Java You'll learn a lot from it. Cheers, Sam |
|
IP Logged |
|
![]() |
|
rugstore
Newbie
Joined: 27 Apr 2010 Online Status: Offline Posts: 2 |
Posted: 27 Apr 2010 at 7:50am |
|
JavaScript can often be confused with Java due to the similar name. However, these are two different technologies.
Java is an entire programming language developed by Sun Microsystems, while JavaScript is a scripting language that was introduced by Netscape. JavaScript support is built into Opera, as it is a language used to manipulate the contents of Web pages. Java is a separate download because it is an environment in which a program can be run. Java applets generally do not interact with the Web page itself, but usually runs as a "standalone" program embedded in a Web page. |
|
IP Logged |
|
![]() |
|
sasi
Newbie
Joined: 04 May 2010 Location: Iceland Online Status: Offline Posts: 3 |
Posted: 04 May 2010 at 10:18am |
|
Java is a programming language which was introduced by Sun Microsystems in 1995 with a particular eye on the Internet market, thanks to its "write once, run anywhere" philosophy of working across different computing platforms. In many ways, it was designed to be simpler version of another programming language called C++, yet retaining the basic "look and feel" of that language, too.
JavaScript, on the other hand, is a scripting language introduced by Netscape. It uses some of the same features found in Java such as being able to embed itself into HTML pages for interpretation by a Web browser (interestingly, Microsoft and Netscape browsers sometimes support JavaScript in different ways!) or through being run in Microsoft Active Server Pages before a Web page is transmitted to a Web browser. ................................................. Cheap SEO |
|
IP Logged |
|
![]() |
|
sasi
Newbie
Joined: 04 May 2010 Location: Iceland Online Status: Offline Posts: 3 |
Posted: 04 May 2010 at 10:19am |
|
JavaScript is an object-oriented scripting language that allows you to create dynamic HTML pages, allowing you to process/validate input data and maintain data, usually within the browser. Originally created by Netscape for use with their Navigator browser, Microsoft reverse engineered the technology, added their own varients and defined JScript. Due to differences, both were more formally turned into the ECMA-262 standard and renamed EcmaScript, though nobody really refers to it by that name. [See http://developer.netscape.com/docs/javascript/e262-pdf.pdf for the ECMA-262 specification.]
On the other hand, "Java" is a programming language, core set of libraries, and virtual machine platform that allows you to create compiled programs that run on nearly every platform, without distribution of source code in its raw form or recompilation. ............................................... Cheap SEO |
|
IP Logged |
|
![]() |
|
goldjothi
Newbie
Joined: 20 May 2010 Online Status: Offline Posts: 2 |
Posted: 22 May 2010 at 5:15am |
|
JavaScript is an object-oriented scripting language that allows you to create dynamic HTML pages, allowing you to process/validate input data and maintain data, usually within the browser. Originally created by Netscape for use with their Navigator browser, Microsoft reverse engineered the technology, added their own varients and defined JScript. Due to differences, both were more formally turned into the ECMA-262 standard and renamed EcmaScript, though nobody really refers to it by that name. [See http://developer.netscape.com/docs/javascript/e262-pdf.pdf for the ECMA-262 specification.
|
|
IP Logged |
|
![]() |
|
josaphlewis
Newbie
Joined: 30 Jun 2010 Online Status: Offline Posts: 17 |
Posted: 03 Jul 2010 at 7:30am |
|
JavaScript is an Object Oriented Scripting Language that allows you to generate dynamic HTML pages, tolerate you to process input data as well as maintain data, usually within the browser. Java is a programming language, core set of libraries as well as effective machine platform that allows you to create accumulate programs that run on nearly every platform, without circulation of source code in its raw form or recompilation.
|
|
IP Logged |
|
![]() |
|
jaspercarol
Newbie
Joined: 14 Jul 2010 Online Status: Offline Posts: 8 |
Posted: 21 Jul 2010 at 12:05pm |
|
Java is a object-oriented programming language while JavaScript is text-based. You write it to an HTML document and it is run through a browser.
|
|
IP Logged |
|
![]() |
|
jaspercarol
Newbie
Joined: 14 Jul 2010 Online Status: Offline Posts: 8 |
Posted: 21 Jul 2010 at 12:06pm |
|
Java creates applications that run in a virtual machine or browser while JavaScript code is run on a browser only. Java creates applications that run in a virtual machine or browser while JavaScript code is run on a browser only.
|
|
IP Logged |
|
![]() |
|
randycolmen
Newbie
Joined: 31 Aug 2010 Online Status: Offline Posts: 6 |
Posted: 31 Aug 2010 at 9:41am |
|
It is an object-oriented encoding language even as JavaScript is text-based. You write it to an HTML article and it is run from end to end a browser.
|
|
IP Logged |
|
![]() |
|
stevemack
Newbie
Joined: 26 May 2010 Location: United States Online Status: Offline Posts: 15 |
Posted: 07 Sep 2010 at 6:12am |
|
@samlko.. thanks for the link and hope every one is now very clear about the difference. thanks for the stop.
|
|
IP Logged |
|
![]() |
|
|
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |