Username: Password:
The time now is 9:45pm
You last visited Today at 9:27pm
    Register
Home Search the forumFAQs View active topics View active users View Members View group
What's the difference between JavaScript and Java?
 WebExcel Forums > The Technologies > Javascipt Forum  
Message Icon Topic: What's the difference between JavaScript and Java? Post Reply New Topic
 
Author Message
jhonygaddar View Drop Down
Newbie
Newbie
Avatar

Joined: 06 Feb 2010
Location: India
Online Status: Offline
Posts: 3
Quote jhonygaddar Reply bullet 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 IP Logged
Back to Top
samlko View Drop Down
Groupie
Groupie


Joined: 27 Nov 2009
Location: United Kingdom
Online Status: Offline
Posts: 58
Quote samlko Reply bullet 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 IP Logged
Back to Top
rugstore View Drop Down
Newbie
Newbie


Joined: 27 Apr 2010
Online Status: Offline
Posts: 2
Quote rugstore Reply bullet 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 IP Logged
Back to Top
sasi View Drop Down
Newbie
Newbie


Joined: 04 May 2010
Location: Iceland
Online Status: Offline
Posts: 3
Quote sasi Reply bullet 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 IP Logged
Back to Top
sasi View Drop Down
Newbie
Newbie


Joined: 04 May 2010
Location: Iceland
Online Status: Offline
Posts: 3
Quote sasi Reply bullet 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 IP Logged
Back to Top
goldjothi View Drop Down
Newbie
Newbie


Joined: 20 May 2010
Online Status: Offline
Posts: 2
Quote goldjothi Reply bullet 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 IP Logged
Back to Top
josaphlewis View Drop Down
Newbie
Newbie
Avatar

Joined: 30 Jun 2010
Online Status: Offline
Posts: 17
Quote josaphlewis Reply bullet 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 IP Logged
Back to Top
jaspercarol View Drop Down
Newbie
Newbie


Joined: 14 Jul 2010
Online Status: Offline
Posts: 8
Quote jaspercarol Reply bullet 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.
mbt
IP IP Logged
Back to Top
jaspercarol View Drop Down
Newbie
Newbie


Joined: 14 Jul 2010
Online Status: Offline
Posts: 8
Quote jaspercarol Reply bullet 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.
mbt
IP IP Logged
Back to Top
randycolmen View Drop Down
Newbie
Newbie


Joined: 31 Aug 2010
Online Status: Offline
Posts: 6
Quote randycolmen Reply bullet 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 IP Logged
Back to Top
stevemack View Drop Down
Newbie
Newbie


Joined: 26 May 2010
Location: United States
Online Status: Offline
Posts: 15
Quote stevemack Reply bullet 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 IP Logged
Back to Top

Printable Version Printable Version
Forum Jump Forum Permissions View Drop Down



This page was generated in 0.047 seconds.