My Profile

Thursday, January 20, 2011

Java Script Vs Java


JavaScript Versus Java

The process of writing a Java applet can be complicated-writing the source code, compiling, and making the applet available on the server. JavaScript provides a much simpler alternative for small projects. The JavaScript source code is interpreted directly by the browser. The source can either be included directly within an HTML page or referenced in a separate file.
Although JavaScript doesn't really have any features that eclipse Java, it adds some conveniences, simplifies programming, and provides better integration with the browser. The key differences include the following (explained in the following sections):
  • JavaScript can be combined directly with HTML.
  • The JavaScript language structure is simpler than that of Java.
  • The JavaScript interpreter is built into a Web browser.
  • JavaScript is supported on more platforms than Java. 


----------------------------------------------------------

** If you like this post please like our page in facebook

0 comments:

Post a Comment

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More