Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

Key Differences between Java and Javascript

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I hear that both languages can be used to make websites but I was wonder what is the difference between these two languages. I know that JavaScript was called Livescript before ti got the name JavaScript and that Java is a object orientated language. One thing I was wondering about for Java is what exactly is an Applet? Which language would be the most useful to learn if you want ot become a web programmer? I actually like both languages but I am more familiar with JavaScript as of now. I know I have a while to go before I can figure out everything I need to but with enough practice I think I can figure them both out.
 
Sheriff
Posts: 67671
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Except for a passing similarity in base syntax, and a poor choice of naming, Java and JavaScript have little to nothing in common.

Applets are a dead and obsolete technology, so you don't need to concern yourself with them unless you are charged with supporting a legacy applet.
 
Saloon Keeper
Posts: 14322
321
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As for making websites, it really depends. The two languages are used for different things: JavaScript is mostly used for the client-side of web applications, while Java can be used for the server-side. But you can also make websites without using either of the two languages.
 
Marshal
Posts: 76464
366
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
An applet is a small fruit small application in a small window on its own. As Bear has told you,nobody writes Java® applets any more and there is probably no point in leaning about them.
reply
    Bookmark Topic Watch Topic
  • New Topic