dcsimg
www.webdeveloper.com
Results 1 to 7 of 7

Thread: Java is Not JavaScript; JavaScript is Not Java

Hybrid View

  1. #1
    Join Date
    Aug 2004
    Location
    Kansas City, MO.
    Posts
    209

    Exclamation Java (Not JavaScript)

    I just wanted to be the first one to point this out and save everyone else a lot of hassle.
    Please direct your JavaScript questions here.
    You're welcome.
    Share on Google+

  2. #2
    Join Date
    Jan 2004
    Location
    Melbourne, Australia
    Posts
    5,298
    Good call. Its an endless mix-up for alot of people.
    Share on Google+

  3. #3
    Join Date
    Dec 2002
    Location
    Calgary, Canada
    Posts
    6,136

    Thanks for this forum...

    I'd like to say thank you for creating this forum as well as congrats to buntine...for being a mod here.....
    Cheers

    Khalid

    Message Posting Guidelines In These Forums, Please read these before posting any question.
    Web site: webapplikations.com
    Web Resources Page:Web Resources
    Share on Google+

  4. #4
    Join Date
    Jun 2003
    Location
    UK
    Posts
    789
    Buntine, you should make this a sticky to save alot of misplaced posts.

    Neil
    Share on Google+

  5. #5
    Join Date
    Jan 2004
    Location
    Melbourne, Australia
    Posts
    5,298
    Maybe, someone should elaborate a bit, though.
    Share on Google+

  6. #6
    Join Date
    Jul 2003
    Location
    Boston Area, Massachusetts
    Posts
    3,489

    Java is Not JavaScript; JavaScript is Not Java

    Sorry to be doubly redundant, but it is amazing how many people, including industry insiders, don't understand the difference between Java and JavaScript. Here's the low-down.

    Java, developed under the Sun Microsystems brand, is a full-fledged object-oriented programming language. It can be used to create standalone applications and a special type of mini application, called an applet. Applets are downloaded as separate files to your browser alongside an HTML document, and provide an infinite variety of added functionality to the Web site you are visiting. The displayed results of applets can appear to be embedded in an HTML page (e.g., the scrolling banner message that is so common on Java-enhanced sites), but the Java code arrives as a separate file.

    JavaScript, developed by Netscape, is a smaller language that does not create applets or standalone applications. In its most common form today, JavaScript resides inside HTML documents, and can provide levels of interactivity far beyond typically flat HTML pages -- without the need for server-based CGI (Common Gateway Interface) programs.

    Some server software, such as Netscape's SuiteSpot, lets web application developers write CGI programs in a server-side version of JavaScript. Both client-side and server-side JavaScript share the same core JavaScript language, but each side deals with different kinds of objects. Client-side objects are predominantly the components of an HTML web page (e.g., forms, text boxes, buttons). Server-side objects are those that facilitate the handling of requests that come from clients, as well as connectivity to databases

    It is important to understand that a Java-enabled browser is not automatically a JavaScript-enabled browser: the two technologies require entirely separate interpreters (licensed from separate companies) to handle the languages. It is unlikely, however, that future browsers will incorporate one but not the other (plus or minus implementation timetables on various platforms).

    Starting with Netscape Navigator 3.0, HTML authors have been able to use JavaScript to link HTML form elements to Java applets (and plug-ins) or link Java applets to each other--LiveConnect(tm), Netscape calls this technology. Rather than competing with each other, Java and JavaScript are a powerful combination.

    Much simpler and smaller than the Java vocabulary, JavaScript is within reach of authors who know HTML; writing full-fledged Java, on the other hand, benefits from experience with C and C++. Java and JavaScript share a number of vocabulary and syntax constructions, but the languages are intended for very different purposes.

    All you need to program in JavaScript is a text editor and a JavaScript-enabled browser, such as Netscape Navigator 2.0 and later or Microsoft Internet Explorer 3 and later.

    Written by Danny Goodman. Source: <http://www.dannyg.com/ref/javavsjavascript.html>.
    Share on Google+

  7. #7
    Join Date
    Nov 2002
    Location
    Auburn, AL
    Posts
    9,222
    someone stickify this thread.
    Share on Google+

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles