• Home
  • New Entries
  • Popular Entries
  • Submit a Story
  • About

Difference Between Java and JavaScript ...

Java and JavaScript might seem like one was a direct descendant of the other, but in reality they are far from that. Java is an object oriented programming language that is capable of running on multiple operating systems with the use of an interpreter. It was created by Sun Microsystems with the objective of creating stand alone applications that works across platforms. JavaScript, on the other hand, was created by Netscape as a scripting language much like a client side version PHP. It cannot create stand alone applications, but instead resides on an internet browser.

Java was an excellent idea on paper. It allowed programmers to create a single program and expect it to work in the majority of operating systems available. It achieves this by not using a specific operating system’s native code. Instead, Java uses its own code then executes it on a virtual machine that interprets the Java code into its counterpart native code. As stated above, it looked great on paper, but in practice Java programs were significantly slower compared to programs coded in the native code. This was largely due to the fact each code needed to be processed twice; by the virtual machine then by the operating system.

JavaScript is a scripting language, and as such it isn’t compiled. A JavaScript enabled browser takes the script and process it, it would then execute the instructions on the script. The main use of JavaScript is to provide a level of interactivity to web pages that are not achievable with simple HTML. It can be used along with other technologies like AJAX to give an even more interactive experience. JavaScript can also interact with elements that are not from within its code which Java doesn’t do. Java applications can only be embedded into html pages and from that point on, the Java application works on its own.

Java and JavaScript are two very different languages, because of that they also have different requirements in order to function properly. Installing Java support in your browser does not mean that it would also be able to support JavaScript applications and vice versa.

Summary:

1. Java is an OOP programming language while Java Script is an OOP scripting language.
2. Java creates applications that run in a virtual machine or browser while JavaScript code is run on a browser only.
3. Java code needs to be compiled while JavaScript code are all in text.
4. They require different plug-ins.

 Original Source:
http://www.differencebetween.net/technology/difference-between-java-and-javascript/

AddThis Social Bookmark Button

Posted at 10:23:07 am | Permalink | Posted in Java  Javascript  

Related Stuff

  • MooV: Using cutting edge Video phones and Software Video Phones - coupling all that with VoIP and empowering the disabled.

  • Moo Telecom: VoIP communications made easy - Ring anyway with the fun and ease of using a normal phone

  • TagR:Mobile Social Network with Real Time Locations Based services, and Ambience Intelligence, VoiP, IM, Skype, Googletalk, Mapping, Flickr, Events, Calendaring, Scheduling, SecondLife Support

  • ClearSMS : ClearSMS is a Web-based application that lets you send bulk SMS messages to your customers, contacts, or just about anyone.

  • Jajah:jah is a VoIP (Voice over IP) provider, founded by Austrians Roman Scharf and Daniel Mattes in 2005[1]. The Jajah headquarters are located in Mountain View, CA, USA, and Luxembourg. Jajah maintains a development centre in Israel.

  • Skype: It’s free to download and free to call other people on Skype. Skype the number one voice over ip software

  • PrivatePhone: a free local phone number with voicemail and messages you can check online or from any phone.

Top Stuff

e-messenger

MSN Web Messenger

eBuddy

ASP.NET Ajax CalendarExtender and Validation

AIM Express

Ajax Tools for ASP.NET Developers



About Ajaxlines

Ajaxlines is a project focused on providing its audience with a database of most of Ajax related articles, resources, tutorials and services from around the world.

Its purpose is to showcase the power of Ajax and to act as a portal to the Ajax development community.


Search


Topics

  • .Net (176)
  • Ajax (112)
  • Ajax Games (10)
  • Articles (95)
  • Bookmarking (35)
  • Calendar (21)
  • Chat (45)
  • ColdFusion (3)
  • CSS (84)
  • Email (23)
  • Facebook (84)
  • Flash (20)
  • Google (54)
  • Html (29)
  • Image (12)
  • International Calls & VOIP (7)
  • Java (58)
  • Javascript (280)
  • jQuery (200)
  • JSON (75)
  • Perl (2)
  • PHP (172)
  • Presentation (19)
  • Python (3)
  • Resources (2)
  • RSS (8)
  • Ruby (32)
  • Storage (4)
  • Toolkits (103)
  • Tutorials (227)
  • UI (11)
  • Utilities (174)
  • Web2.0 (18)
  • XmlHttpRequest (29)
  • YUI (13)

© 2006 www.ajaxlines.com. All Rights Reserved. Powered by IRange