Verified Document

Java Vs. Javascript Term Paper

Java vs. JavaScript Java was introduced by Sun Microsystems in 1995. The programming language designed for use in the distributed environment of the Internet (TechTarget). Although it was designed to have the "look and feel" of the C++ language, it offers greater ease of use and enforces an object-oriented programming model. Programmers can use Java to create complete applications that may run on a single computer or be distributed among servers and clients in a network. Programmers can also use Java to build a small application module or applet for use as part of a Web page. Applets make it possible for a Web page user to interact with the page.

JavaScript is an interpreted programming or script language created by Netscape to integrate the functionality of Java with HTML (TechTarget). It is similar in capability to Microsoft's Visual Basic, Sun's Tcl, the UNIX-derived Perl, and IBM's Rexx. Script languages are easier and faster to code in than the more structured and compiled languages such as C++ and Java. However, Script languages generally take longer to process than compiled languages and therefore, are more useful for shorter programs. JavaScript is typically used in Web site development to do such things as automatically changing a formatted date on a Web page, causing a linked-to page to appear in a popup window and causing text or a graphic image to change during a mouse rollover.

A programmer can write fully-functional JavaScript using a simple text editor....

To write fully-functional Java, a Java Developer's Kit is required (Java vs. JavaScript). JavaScript must be placed inside an HTML document to function while Java applets run independently of the HTML document that is calling for them. Because JavaScript is a scripting language, the program reading it interprets exactly what has been written. In contrast, Java is not interpreted directly. Instead, if must be compiled it first, and that's what the browser reads. Unlike traditional compilers, where the source code is converted into native machine code, the Java compiler generates an intermediate bytecode which is independent of any machine. An interpreter known as a Java Virtual Machine is built into the browser to run this code.
Java is a strongly-typed, object-oriented, complex programming language while JavaScript is a loosely-typed language which is much simpler than Java. JavaScript lacks Java's static typing and strong type checking (The differences between Java and JavaScript). JavaScript does support most of Java's expression syntax and basic control flow constructs. Java offers a compile-time system of classes built by declarations. On the other hand, JavaScript supports a run-time system based on a small number of data types representing numeric, Boolean, and string values. Like Java, JavaScript also supports functions, but without any special declarative requirements. JavaScript functions can be properties of objects, executing as loosely typed methods.

Unlike…

Sources used in this document:
Bibliography

Goodman. D. Java is not JavaScript. Retrieved March 21, 2004 from Web site: http://www.dannyg.com/ref/javavsjavascript.html

Java vs. JavaScript. Retrieved March 21, 2004 from Web site: http://www.firststep.com.au/education/solid_ground/javadiff.html

TechTarget. Retrieved March 21, 2004 from Web site: http://searchwebservices.techtarget.com/sDefinition/0,sid26_gci212415,00.html

The differences between Java and JavaScript. Retrieved March 21, 2004 from Web site: http://www.jsr.communitech.net/difference.htm
Cite this Document:
Copy Bibliography Citation

Related Documents

Javascript Despite Its Name, Javascript
Words: 580 Length: 2 Document Type: Thesis

How will JavaScript Technology change my life The best benefit of all of learning JavaScript, its syntax, integration with XML and AJAX is the how marketable this skill is today. Being able to define which rich client is best for a given need is an essential skill going forward in any programming or technical career (Zeichick, 2008). JavaScript will hopefully give me an opportunity to earn more money over time. What are

Asynchronous Javascript and XML AJAX
Words: 4094 Length: 15 Document Type: Research Paper

Asynchronous JAVA Script & XML (AJAX) Asynchronous JavaScript and XML (AJAX) are set of technologies with different function that work together to allow the client-server to create a rich web application (Deursen & Mesbah, 2009). The purpose of this paper is to describe more about AJAX, how is it used to create a web application, the difference from classical web application, companies utilizing this technique, security issues, and how to migrate

Computer Hacker Nefarious Notions III
Words: 9646 Length: 35 Document Type: Term Paper

(Hackers Chronology, 2006). 1989 The first case of cyber espionage is recognized in Germany (west). This reportedly involved the CHAOS computer club. "Mentor releases the hacker manifesto Conscience of a hacker, which ends with the intriguing line: 'You may stop the individual, but you can't stop us all.'" (Hackers Chronology, 2006). 1990 Electronic Frontier, Freedom on the Internet advocacy group, is launched Polymorphic viruses (which modifies themselves when they spread), along with other sophisticated kinds of

Comparison of Internet Explorer and Netscape Browsers
Words: 1469 Length: 5 Document Type: Term Paper

Internet Explorer and Netscape Browsers Most people in 2005 have accessed the World Wide Web, and chances are, they used Microsoft Internet Explorer to do it. In 1995, the situation was quite different; far fewer people had accessed the Web, and most of those who had used Netscape Navigator. Microsoft saw Netscape and the Web as a competitive threat to its operating system business, and launched its own browser to

Personal Security and the Internet
Words: 2573 Length: 8 Document Type: Term Paper

The responsibility to seek out and use the most appropriate form of protection for a particular system lies with its user. If a user does not regard these duties with the appropriate seriousness, the consequences could be dire indeed. Another very threatening form of computer crime is the phishing scam. Phishing Phishing involves email from an apparently legitimate source such as a bank or other place of business that requires the user

Cross Platform Mobile and Web
Words: 17284 Length: 63 Document Type: Thesis

82). Both desktop and Web widgets have the same basic components. Fundamentally, they use Web compatible formats, even if intended to run in a desktop environment. This means that the core of the widget is HTML and CSS code which contains the actual content of the widget, namely text, linked images/video or content pulled from a server of Web service. Alternatively, the widget content can be created using Flash, although

Sign Up for Unlimited Study Help

Our semester plans gives you unlimited, unrestricted access to our entire library of resources —writing tools, guides, example essays, tutorials, class notes, and more.

Get Started Now