IPB

Welcome Guest ( Log In | Register )



Tags
This content has not been tagged yet
 
Reply to this topicStart new topic

What's The Relationship Between Javascript And Java

, are they the same or different


vietonline
no avatar
Advanced Member
*******
Group: Members
Posts: 127
Joined: 10-July 06
Member No.: 26,374



Post #1 post Aug 2 2006, 02:10 AM
I think most of you always confuse about java and javascript .So I make this topic to talk about it.

Javascript and Java ,they have the same first four letter.

Java and Javascript is the two language is very popular in the web world.Java is the general-purpose programming language that you can create an application or an applet.Javascript is a script language that looks sort of like java;with it you can do various nifty things in web pages.They are independent languages ,used for different purposes.If you are interesting in creating a website you should learn how to write and use javascript.

Hope this will make you make sense how is different about java and javascript.
Go to the top of the page
+Quote Post
FirefoxRocks
no avatar
Super Member
*********
Group: Members
Posts: 273
Joined: 14-April 06
From: Ontario, Canada, North America, Planet Earth
Member No.: 21,845
myCENT:82.22



Post #2 post Aug 2 2006, 03:25 AM
I don't get confused about Java and JavaScript at all actually. smile.gif

Similarities: They both use The Web and The Internet.
Both of them are used to perform a specific function.

Diffferences:
Java is a programming language (like C++ or Perl, I think)
JavaScript is a scripting language (like VBScript)
Java is much harder to integrate into web pages using valid XHTML.
JavaScript is a little hard to learn at first, but easy once you get the hang of it.
Java is very hard to learn, and is best left of programmers. wink.gif
JavaScript usually performs functions inside webpages.
Java can do a lot of other stuff as well.
You can find lessons on how to compose JavaScript at http://w3schools.com.
People use JavaScript for cool effects in webpages.
:-}
Both are used for different purposes. If you want to learn easy, cool stuff, learn JavaScript! smile.gif
Go to the top of the page
+Quote Post
rama3i
no avatar
Newbie
*
Group: Members
Posts: 2
Joined: 2-August 06
Member No.: 27,687



Post #3 post Aug 2 2006, 12:14 PM
Java can be integrated into web pages using javascript (have you ever use java web framework like struts, spring or JSF?)

On a web programming Javascript is a client side script means that your script would seen by client. But not Java.

QUOTE(FirefoxRocks @ Aug 2 2006, 10:25 AM) [snapback]271046[/snapback]

I don't get confused about Java and JavaScript at all actually. smile.gif

Similarities: They both use The Web and The Internet.
Both of them are used to perform a specific function.

Diffferences:
Java is a programming language (like C++ or Perl, I think)
JavaScript is a scripting language (like VBScript)
Java is much harder to integrate into web pages using valid XHTML.
JavaScript is a little hard to learn at first, but easy once you get the hang of it.
Java is very hard to learn, and is best left of programmers. wink.gif
JavaScript usually performs functions inside webpages.
Java can do a lot of other stuff as well.
You can find lessons on how to compose JavaScript at http://w3schools.com.
People use JavaScript for cool effects in webpages.
:-}
Both are used for different purposes. If you want to learn easy, cool stuff, learn JavaScript! smile.gif

Go to the top of the page
+Quote Post
hype
no avatar
Legend Killer
*********
Group: Members
Posts: 678
Joined: 15-April 05
From: Singapore
Member No.: 5,697



Post #4 post Aug 2 2006, 02:25 PM
well, Java and JavaScript syntax are similar, but not the same... Once you understand how either one of them works then you will roughly know how to code the other, but the main difference is that they are different types of language, and they are used in different ways...

Basically, if you are building a website its best that you use JavaScript wherease when creating normal application Java suits it better...
Go to the top of the page
+Quote Post
peroim
no avatar
Newbie [Level 2]
**
Group: Members
Posts: 33
Joined: 9-July 06
From: Belgium
Member No.: 26,367



Post #5 post Dec 20 2006, 06:57 PM
Before somebody gets confused: Java and JavaScript have NOTHING to do with eachother. JavaScript just came out while Java was very popular, so they just wanted to be popular too. rolleyes.gif
Java is made by Sun, and JavaScript is created by Brendan Eich of the Netscape Communications Corporation.

There are some similarities in code, but you should really don't mix them up. Java is NOT JavaScript.
Go to the top of the page
+Quote Post
.hack//GU
no avatar
Premium Member
********
Group: Members
Posts: 190
Joined: 21-October 05
Member No.: 13,185



Post #6 post Oct 6 2007, 08:33 AM
QUOTE(peroim @ Dec 20 2006, 06:57 PM) [snapback]300457[/snapback]
Before somebody gets confused: Java and JavaScript have NOTHING to do with eachother. JavaScript just came out while Java was very popular, so they just wanted to be popular too. rolleyes.gif
Java is made by Sun, and JavaScript is created by Brendan Eich of the Netscape Communications Corporation.

There are some similarities in code, but you should really don't mix them up. Java is NOT JavaScript.


From what I know, the first version of Javascript is called LiveScript. By the following time, they named LiveScript 2.0 to JavaScript. And so on till now.
Go to the top of the page
+Quote Post
minimcmonkey
no avatar
Super Member
*********
Group: [HOSTED]
Posts: 367
Joined: 19-June 08
From: United Kingdom - Cornwall!!!!!
Member No.: 63,876
myCENT:43.42



Post #7 post Nov 4 2008, 04:44 PM
The main similarity is the syntax, that is why they share a name - javascript's syntax is based on java's
Many people get confused about the two, thinking they are the same.
THIS IS NOT THE CASE.
Java is actually quite similar to C++
Go to the top of the page
+Quote Post
asdftheking
no avatar
Member [Level 1]
****
Group: Members
Posts: 55
Joined: 14-November 08
From: Peru
Member No.: 72,355
myCENT:76.30



Post #8 post Nov 15 2008, 06:21 AM
I can't see why javascript is included in the same category as Java. To make matters worse, it is written "Java Script." Is someone trying to mess with us here? Javascript's origins are not found at all in Java and its uses and applications are entirely different. Above all else, a compiled language and an interpeted language do not belong in the same category! Shame on the person who set up this forum the way it is...

This post has been edited by asdftheking: Nov 15 2008, 06:22 AM
Go to the top of the page
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No new   72 ultrasmad 7,464 15th February 2008 - 12:10 PM
Last post by: avara.badal
No New Posts   5 ultrasmad 777 10th October 2004 - 01:46 PM
Last post by: eldeo
No New Posts   6 Phil 685 4th August 2004 - 10:32 PM
Last post by: Gamesquare
No New Posts   9 Vacant 1,216 17th November 2006 - 05:13 PM
Last post by: it01y2
No New Posts 10 holyium 1,186 25th September 2004 - 12:33 AM
Last post by: spyshow
No New Posts   3 Vacant 465 26th August 2004 - 09:09 AM
Last post by: Vacant
No New Posts   13 GameDev 3,064 14th April 2006 - 02:35 AM
Last post by: beeseven
No New Posts 5 spyshow 647 28th November 2004 - 08:16 AM
Last post by: ariya
No New Posts   4 Eric Straven 1,272 1st October 2004 - 04:44 AM
Last post by: Eric Straven
No New Posts 0 sanweikui 424 1st October 2004 - 03:34 AM
Last post by: sanweikui
No New Posts   2 KeeperMustDie 324 8th July 2008 - 10:13 AM
Last post by: KeeperMustDie
No New Posts   3 sanweikui 539 11th March 2005 - 03:51 PM
Last post by: gdpglc
No New Posts   5 hansley 623 26th October 2004 - 06:46 PM
Last post by: björn
No New Posts   3 reciter 674 7th December 2004 - 05:54 AM
Last post by: khmerneed
No New Posts   0 cse-icons 522 20th October 2004 - 03:08 PM
Last post by: cse-icons


 



RSS Open Discussion Time is now: 8th January 2009 - 08:45 AM