Just a quick question, whats the difference between java and javascript, I just realised ther is a difference
java script creates appletts and java script runs on the browser. its hard to explain for me.
javascript is meant for the web. java can be used for normal apps, and can make applets if u want to use it on the web
JavaScript is quite a simple language to learn and use. A language similar to JavaScript is VBScript.
Java is an operating-system level language that is significantly harder to learn than JS. A language similar to Java is C/C++.
Uh, I think i got it. So java runs in those applet windows, and javascript can do something like, make a ball picture bounce accross the screen.
I don’t think that’s right copper.
Javascript is like flash. It makes little things in your browser, like games or animations.
Java is a huge program that is difficult to learn and can create games like quake (C++ more common for games though since it takes java 4 hours to add 1+1). Java basically makes larger applications.
Ah, now I get it. THanks nali.
to put it simply:
JavaScript is a dynamic server side language. its a lot like PHP but there is no db communication and it is used for different things, like it has onClick and what not, wehre PHP is more backend. also JS is the same syntax as AS, just a wee bit different.
Sorry but you guys are all wrong…
Java is a half-compiled code similar to say C#. It is only half-compiled so that in theory you can write a wrapper for the program and make it run on anything (PC, cell phone, web browser, microwave, etc…).
FYI: All most all newer cell phones run on Java now.
JavaScript is a CLIENT-SIDE programming language similar to JScript (not VBScript). JavaScript is a scripting version of Java but doesn’t hold near the versitality that Java has. JavaScript is meant for client-side interaction with the browser. JScript was Microsoft’s competition to JavaScript.
If you set your web server up right then you can actually make JavaScript server-side but there is no purpose or functionality.
I hope this clears things up for you.
does anyone use search engines anymore?
JavaScript is an OO type interpreted language that runs on the clients browser, enabling interaction between the user and the document, without the need to always go back to the server for processing. for example to validate form input. There is no reason why you would want to stop JavaScript from executing on your browser, unless yet another security hole is found in the browser that allows data to be captured by a third party. All the known security holes have been plugged.
Java is a byte compiled language that is a fully fledged OO language. It again runs on the clients browser. It can do things that JavaScript cannot do, like reading a file on the same server that the document was served from (I believe this is correct). It can do graphcs. I’m not too sure if there are valid reasons why you would not want to allow Java to execute on your browser, other than that Java applets can be quite big and can take a while to download. The initial loading of Java in the browser can take quite a few seconds to start up.
from http://developer.irt.org/script/438.htm
Rev
Originally posted by DigitalPimp *
** JScript was Microsoft’s competition to JavaScript.*
you mean theres another one? Jscript!?! Java, JavaScript, Jscript (oh dear)
well, thanks all. I think i get it now.
Don’t worry JScript never flew.
(thank god) Well, I hear Actionscript 2 is more towards Javascript, so I better start reading up.
Actually, it’s more like Java not JavaScript.
AHhahHahHahahaHaHaHHAHahHaHHHHHHH!!!
sorry.
DP, actually, JScript was Microsoft’s implementation of JavaScript. It is basically JavaScript with a different Object Model. The only reason MS called it JScript was so they didn’t have to pay the licensing fee to Sun, and they didn’t like the fact that JavaScript was a Netscape language.
JScript still does exist. Technically, all Internet Explorer based browsers still run JScript, although it’s differences to JavaScript are minute.
In essence, JScript is actually a flavor of JavaScript.
umm… I know. What did I say that conflicted with what you said?
JScript was Microsoft’s version of JavaScript.
I know JScript still exists but nobody uses it.
That was why I said don’t worry about it.
*Originally posted by njs12345 *
**In essence, JScript is actually a flavor of JavaScript. **
yummy!!
(I think i started a debate - oops)
Yea, I have a question about that too. Is J++ also Java ++ and if so, whats the difference between regular Java than J++?
Kinda like C and C++ i guess.
ONLY A GUESS!