Please Scroll Down to See Forums Below
napsgear
genezapharmateuticals
domestic-supply
puritysourcelabs
UGL OZ
UGFREAK
napsgeargenezapharmateuticals domestic-supplypuritysourcelabsUGL OZUGFREAK

java, java2, javascript, javabeans..... what is the difference?

Java is a programming language.

Java 2 is a later edition of it (technically it is 1.2 and also includes 1.3x and 1.4x at this point).

Java Beans are Java code that runs on a server and does things... sounds great right?! usually they look for info coming in, process it (usually with a database, but it doesn't have to be).
sounds simple, but there is much you can do there.

JavaScript kinda looks like Java in its syntax, but it is a scripting language developed by Netscape for client side scripting - so you can do shit in your browser with it, but nothing server side.

Java can be server side (beans) or client side (applet, or a standalone app).
 
Alright, Geek.


Why was Java developed?

Why did they name it Java?

Why do you think Chris Duffy is better than Bob Paris?
 
KHMER ROGUE said:
Why was Java developed?

Why did they name it Java?

Why do you think Chris Duffy is better than Bob Paris?

Why is any language developed?
Java is a spin-off of C++, which is a spin off of C, which is a strange spin off of a few things.

The main reason Java exists is that it has a what is called a "Virtual Machine" in that it mimics an X86 processor in memory and then translates that out to whatever real system it is running on. That means the code you write can be agnostic and/or unaware of what system it is on and still work the same.
So it is platform independant.
The downside was that it was slow and a major memory hog.
The JIT compilation addition added in Java 2 fixed that, and now it is as fast as most C++ apps (not the visual stuff, I'm talking back end), but it still uses an assload of RAM - which doesn't matter much these days.

as for its name, I don't recall exactly - but it was something like they wanted to name it some coffee derivative, but that was already a trademarked name, so they went with Java or something.
Don't really recall honestly - something like that.

and I'm not much on the BB scene, sorry.
 
Top Bottom