Javascript , Java, Java 2 ?

Sharky Forums


Page 1 of 2 12 LastLast
Results 1 to 15 of 22

Thread: Javascript , Java, Java 2 ?

  1. #1
    Catfish
    Join Date
    Dec 2000
    Location
    Pinole, CA, USA
    Posts
    119

    Question Javascript , Java, Java 2 ?

    While browsing in the programing section I saw books with Javascript, and Java 2 in the titles. What's the difference ? All I know is that they are mainly used in web pages.
    (I think ?)

    ------------------
    900 Tbird, KT7,256MB Crucial 133 Cas2, Leadtek GTS64 Pro, IBM 27G
    I'm slow,but not accurate.
    900 Tbird, KT7,256MB Crucial 133 Cas2, Leadtek GTS64 Pro, IBM 27G; PLUS+++ Asus A7V133/T-bird1.33, 2 IBM 307030's in RAID 0, Visiontek GeForce 3, 512MB Excelarate 143, SBLV. MSI K7 Master and 512MB Crucial PC2100 I'm slow,but not accurate.
    Fingers crossed, Looking for smoke.

  2. #2
    Hammerhead Shark
    Join Date
    Sep 2000
    Location
    Montgomery, AL
    Posts
    1,879

    Post

    Javascript and Java are two completely different languages. Java is a full fledged programming language, that while it's use a lot on the web, was orginally developed to be a fully cross-platform capable language. It's actually a full fledged progrmming language that gets used for quite a large number of things, but because the general public's primary exposure to it is on the web, that's what it is associated with. Javascript, on the other hand, is a scripting language developed by Netscape specifically for web apps. It primarily is used for visual enhancements, such as graphics that "light up" when you scroll over them, and so on.

    ------------------
    PIII 733@907 (Alpha PAL6035)
    ASUS CUSL2
    256MB PC133 RAM
    Elsa Gladiac GeForce 2 GTS 32MB
    SBLive! X-Gamer

    [This message has been edited by Sketch (edited January 19, 2001).]

    [This message has been edited by Sketch (edited January 19, 2001).]
    Insert witty signature here

  3. #3
    Tiger Shark
    Join Date
    Oct 2000
    Location
    Atlanta, GA. USA
    Posts
    971

    Post

    Java 2 is what Sun considers there newest version of the language (though the SDK I believe is called Java 1.3.something or other). It is basically just enhancements on Java itself. Sketch was completely on the ball with the differences between Javascript and Java.

    To add something... you can use Java to built web applets as well as applications.

    ------------------
    My box said "WindowsME/2000 or better" so I installed Linux.

  4. #4
    Hammerhead Shark
    Join Date
    Sep 2000
    Location
    Montgomery, AL
    Posts
    1,879

    Post

    Originally posted by jtshaw:
    To add something... you can use Java to built web applets as well as applications.

    Yea, I wasn't too clear on that. In the real world, it's actually used as much for stand alone apps as it is for web pages, if not more.

    ------------------
    PIII 733@907 (Alpha PAL6035)
    ASUS CUSL2
    256MB PC133 RAM
    Elsa Gladiac GeForce 2 GTS 32MB
    SBLive! X-Gamer
    Insert witty signature here

  5. #5
    Catfish
    Join Date
    Dec 2000
    Location
    Pinole, CA, USA
    Posts
    119

    Talking

    Thanks guys, that helped.

    ------------------
    900 Tbird, KT7,256MB Crucial 133 Cas2, Leadtek GTS64 Pro, IBM 27G
    I'm slow,but not accurate.
    900 Tbird, KT7,256MB Crucial 133 Cas2, Leadtek GTS64 Pro, IBM 27G; PLUS+++ Asus A7V133/T-bird1.33, 2 IBM 307030's in RAID 0, Visiontek GeForce 3, 512MB Excelarate 143, SBLV. MSI K7 Master and 512MB Crucial PC2100 I'm slow,but not accurate.
    Fingers crossed, Looking for smoke.

  6. #6
    Sleeps with the Fishes
    Join Date
    Dec 2000
    Location
    Vancouver, WA, USA
    Posts
    0

    Post

    Javascript is nothing but a branch of Java meant usually for the Internet programming like HTML but with a SHYT LOAD MORE features then HTML.

    Java is the original Java 1.0, 1.1, 1.2 while Java 2 is nothing more then version 1.3 and future versions.

  7. #7
    Mako Shark dighn's Avatar
    Join Date
    Nov 2000
    Location
    Vancouver, BC Canada
    Posts
    3,171

    Post

    Javascript is not a branch of Java
    Javascript is not an enhanced version of HTML, it's used WITH html
    And I believe Java 2 refers to JDK 1.2 and later(1.3.0 right now).

    ------------------
    ??..??!12?@#(?{}

    [This message has been edited by dighn (edited January 28, 2001).]
    .

  8. #8
    Sleeps with the Fishes
    Join Date
    Dec 2000
    Location
    Vancouver, WA, USA
    Posts
    0

    Smile

    I didn't mean it as branch my bad it was kinda hard to explain since I don't have the programmer terms and such and how to say it.

  9. #9
    Mako Shark
    Join Date
    Sep 2000
    Posts
    3,518

    Post

    Originally posted by Snoop Dogg:
    I didn't mean it as branch my bad it was kinda hard to explain since I don't have the programmer terms and such and how to say it.
    It's cool. I have a hard time at work understanding all the diferent java technologies. J2EE, EJB, etc...

    ------------------
    "You know, I have one simple request, and that is to have sharks with frickin laser beams attached to their heads. Is that too much to ask?"
    Icna tpye 300 wrdos per mnieut

  10. #10
    Sleeps with the Fishes
    Join Date
    Dec 2000
    Location
    Vancouver, WA, USA
    Posts
    0

    Smile

    Yeah thanx alot man I am new at this programming and Java...I have a IDG Java 2 Bible and tryed going off my head but I was alittle wrong.

    Your right also it is or can be confusing...I am 40+pages into the 1,000+page book and am getting confused on what Java 2 is and can do. All the little diff versions of java and stuff.

    [This message has been edited by Snoop Dogg (edited January 28, 2001).]

  11. #11
    Mako Shark
    Join Date
    Sep 2000
    Posts
    3,518

    Post

    Originally posted by Snoop Dogg:
    Yeah thanx alot man I am new at this programming and Java...I have a IDG Java 2 Bible and tryed going off my head but I was alittle wrong.

    Your right also it is or can be confusing...I am 40+pages into the 1,000+page book and am getting confused on what Java 2 is and can do. All the little diff versions of java and stuff.

    [This message has been edited by Snoop Dogg (edited January 28, 2001).]
    Just keep reading and you will eventually get it.



    ------------------
    "You know, I have one simple request, and that is to have sharks with frickin laser beams attached to their heads. Is that too much to ask?"
    Icna tpye 300 wrdos per mnieut

  12. #12
    Sleeps with the Fishes
    Join Date
    Dec 2000
    Location
    Vancouver, WA, USA
    Posts
    0

    Smile

    Thanks man...BTW what can Java do like what *BIG* things can you make? Games?

  13. #13
    Hammerhead Shark
    Join Date
    Sep 2000
    Location
    Montgomery, AL
    Posts
    1,879

    Post

    Originally posted by Snoop Dogg:
    Thanks man...BTW what can Java do like what *BIG* things can you make? Games?
    You could, but the low efficiency of Java makes it of limited usefulness for things like games. Java is great for anything that needs to be cross platform compatible, but for which speed is a secondary concern.

    ------------------
    OC Knight

    PIII 733@929
    Alpha PAL6035 & Delta 30CFM w/ Arctic Silver
    ASUS CUSL2
    256MB PC133 RAM
    Elsa Gladiac GeForce 2 GTS 32MB 210/385
    SBLive! X-Gamer
    Insert witty signature here

  14. #14
    Tiger Shark dark_man's Avatar
    Join Date
    Sep 2000
    Location
    Guilford,CT
    Posts
    687

    Post

    This semester I have an operating systems course that uses java program in a unix environment. Our first program is writing a shell with java. But I thought unix and windows were both written in C.
    Look I know the supernatural is something that isn't supposed to happen, but it does happen... Rob Zombie Super Charger Heaven

    [SGC Ultimate pass... Don't read anything I post unless you want a headache ]

    [Member of the Sharky High-Resolution Club]

  15. #15
    Tiger Shark
    Join Date
    Oct 2000
    Location
    Atlanta, GA. USA
    Posts
    971

    Post

    Originally posted by dark_man:
    This semester I have an operating systems course that uses java program in a unix environment. Our first program is writing a shell with java. But I thought unix and windows were both written in C.
    Unix was definitly written in C. What I hear is that C and C++ were the languages behind most of Windows. I am not sure why you would want to write a shell in Java over C but professors often have there own hidden reasons for things. All I know is I took a class that required the writting of a shell kind of like KSH (minus a few features:P) but it was required to be in C.

    Truth is I guess it doens't much matter though wouldn't you have to be running the JavaVM in order to run your Java shell?

    ------------------
    My box said "WindowsME/2000 or better" so I installed Linux.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •