Need help

Discussion about hacker.org's server
User avatar
Zaffron
Posts: 491
Joined: Thu Dec 18, 2008 12:18 am
Location: Invading a small country

Post by Zaffron »

Yeah, my dad was explaining to me they decided to make like three different kinds of java... Anyone mind explaining the differences?
User avatar
S3th
Posts: 411
Joined: Thu Sep 11, 2008 8:35 am

Post by S3th »

Java and JavaScript have some similarities but more differences than their names may reveal. JavaScript is a scripting language and HTML-page oriented (the script is embedded in the HTML source), while Java is a complete programming language that can be used in and outside the Web world (standalone programs may be developed using Java, for example).
On one hand, Java applets are only referenced inside the HTML source of a page and executed inside the browser's window. JavaScript scripts are actually embedded in the HTML source and are also executed by the browser on the document's window.
Java programs consist of classes and respective methods, and their objects are declared and safely typed. JavaScript is a smaller language with an easier syntax that has some data types already built-in.
Another difference comes from the execution strategy. JavaScript programs are interpreted while Java applets must be precompiled before execution (a pseudo-interpretation, in fact). Object references in JavaScript are checked at runtime while in Java they exist at compile time.
Both languages pretend to be secure, and Web programs developed with them cannot (or should not), in particular, write to the hard disk. Java also has security features concerning network functioning. Java seems to comply with security issues better than JavaScript.

>.>
See through the master
Become the master
User avatar
Zaffron
Posts: 491
Joined: Thu Dec 18, 2008 12:18 am
Location: Invading a small country

Post by Zaffron »

Saved to txt document, thank you much ^_^
athlete501
Posts: 147
Joined: Tue Jul 03, 2007 2:00 am

Post by athlete501 »

s3th you didnt explain the programming language correctly

the J#(Java) programming language..like C++ or VB, it is used to make standalone programs like he said however it has nothing related to do with javascript or Sun (Sun Microsystems) Java...it's just coincedence that they are the same name
BerryTheWest
Posts: 205
Joined: Sat Nov 29, 2008 3:19 am

Post by BerryTheWest »

athlete501 wrote:s3th you didnt explain the programming language correctly

the J#(Java) programming language..like C++ or VB, it is used to make standalone programs like he said however it has nothing related to do with javascript or Sun (Sun Microsystems) Java...it's just coincedence that they are the same name
Well J# is based on .Net Framework and it is a compiled language. JavaScript is a web-based language to manipulate the effect on the website.
The Assistant of the Clan. The White Orders.
athlete501
Posts: 147
Joined: Tue Jul 03, 2007 2:00 am

Post by athlete501 »

BerryTheWest wrote:
athlete501 wrote:s3th you didnt explain the programming language correctly

the J#(Java) programming language..like C++ or VB, it is used to make standalone programs like he said however it has nothing related to do with javascript or Sun (Sun Microsystems) Java...it's just coincedence that they are the same name
Well J# is based on .Net Framework and it is a compiled language. JavaScript is a web-based language to manipulate the effect on the website.
just a more technical definition :P
but then their is Java Applets as in Sun Microsystem...those give you web interface
BerryTheWest
Posts: 205
Joined: Sat Nov 29, 2008 3:19 am

Post by BerryTheWest »

athlete501 wrote:
BerryTheWest wrote:
athlete501 wrote:s3th you didnt explain the programming language correctly

the J#(Java) programming language..like C++ or VB, it is used to make standalone programs like he said however it has nothing related to do with javascript or Sun (Sun Microsystems) Java...it's just coincedence that they are the same name
Well J# is based on .Net Framework and it is a compiled language. JavaScript is a web-based language to manipulate the effect on the website.
just a more technical definition :P
but then their is Java Applets as in Sun Microsystem...those give you web interface
Of course and it is also outdated to our today standard. I'd say Flash or Silverlight is becoming a primary usage in website interface.
The Assistant of the Clan. The White Orders.
Post Reply