View Full Version : I'm in a java class at school and it got me wondering...
10-09-2007, 06:52 PM
And do you guys have any tips for a newbie? It seems sort of confusing but I'm not quite sure yet.
10-09-2007, 07:00 PM
pretty much the only similarity is the name "java"
java is a full fledged programming language.
this meaning that is can be compiled and ran as an executible, and among other features, it can access various portions of your computer.
now those arent the only difference but from my knowledge those are a good portion of the principle differences.
10-09-2007, 07:12 PM
A few more things--
It isn't as much that Java was cool at the time, but that Sun Microsystems (owners of Java) wanted to use it for free advertising.
PHP, just to toss that in there, is kinda a weird example, as it is compiled as it is run, and then doesn't keep running, so it's sorta in the middle.
The big thing, then, about client side languages, is that the compiling is completely live.
The big thing, then, about client side languages, is that the compiling is completely live.That's not a client-side language thing. Don't forget, Java applets are also client-side.
As has been said here, Java and ECMAScript are entirely different languages. The very basic syntax is roughly similar, and a few of the methods have obviously been cloned from Java to ECMAScript (e.g. indexOf(), length() [which is a property in ECMAScript]), but you shouldn't expect similarities.
10-09-2007, 08:04 PM
The applets aren't client side... they are compiled.
An application is "client side"... but compiled first.
At lest, that was my meaning. Perhaps an applet is technically client side in terms of web design.
I don't have a clue what you're talking about. Client side: runs on the client (with relation to a given client/server transaction, such as HTTP). Applets definitely fall under this definition. Applets are compiled, interpreted (they are compiled to bytecode), and client-side.
10-09-2007, 10:14 PM
My meaning was varied, albeit incorrect. I was describing the end-user's involvement in the compiling/parsing [of code] processes.
That's got nothing to do with where the compiled code runs.
10-10-2007, 03:50 AM
Client side compiling, then.
That IS the big difference.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.