Preview

Compare and Contrast Java and Javascript

Good Essays
Open Document
Open Document
693 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Compare and Contrast Java and Javascript
Compare and Contrast Java and JavaScript
WEB/420 Web Programming II
Mr. Caleb Green
January 31, 2007

TEAMS MEMBER: Gladys Burton, Kassindra Davidson, Corine Holmes, Christina Kennedy, James Mustin, Josh Sheppard, Lura Wade

Contrary to a vast amount of opinions and thinking Java and JavaScript are NOT the same programming languages. The JavaScript language resembles Java in certain ways, but does not require the long typing and strong type checking that Java requires JavaScript supports most of Java 's expression syntax and basic control flow constructs. In contrast, Java 's compile-time system of classes built by declarations, JavaScript supports a run-time system based on a small number of data types representing numeric, Boolean, and string values. It has a simple instance-based object model that still provides significant capabilities. The only thing Java and JavaScript have in common is their names. JavaScript was originally name Live Script Netscape created JavaScript to allow control of Java applets on web pages but ironically this evolved into a means for creating programs on websites like pop-up windows, drop-down menus, and additional things. JavaScript is not complied. Java Script to put it simply can be described as an important ingredient to one 's favorite recipe. JavaScript is simply mixed right in with the HTML. Java would be used for highly interactive things such as putting an arcade system game on the web. JavaScript, however, would be used more to enhance the functionality of a web page as you can attach bits of code to various objects on your page. (Hansen,D). While Java is drastically more difficult than JavaScript and is not limited to just the internet, Java is quite popular with professional developers. One of Java 's best features is portability. Java is independent, one would have no problems applying Java to any PC the language should be the same no matter what one learns



References: Java, sun.com http://www.javasoft.com http://www.bergen.org/AAST/projects/JavaScript/compare.html

You May Also Find These Documents Helpful

  • Good Essays

    Some similarities in these programs are that there are specific words you cannot use in each language. These words are generally reserved for some other part of the language and if the is not some kind of distinction between the words this will cause an error. Though these languages have minor similarities they differ in the same way, some are case sensitive while others are not. They also say that most variables should begin with a letter but in two of these programs they can begin with an underscore and in Java you can use a dollar sign as well. Another key difference is the length of the variable name, in Visual Basic you are limited to a length of 255 characters while the other two have no restrictions on length. So for each language there are minor similarities and differences but in order to program in any of these languages you must know these rules in order to prevent errors from…

    • 878 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    Java is multi-platform and allows a much broader audience to be reached. The .NET framework is aimed primarily at the Windows OS whereas Java is targeted at many different platforms including gadgets, gaming, mobiles as well as windows and the Apple equivalent. This is because Java runs on it’s own virtual machine that can installed on any platform. This is something that should always be considered at the beginning of a project so the developer can reach it’s target audience.…

    • 1025 Words
    • 5 Pages
    Powerful Essays
  • Satisfactory Essays

    Comparing Iis to Apache

    • 392 Words
    • 2 Pages

    Other differences is the way the programs run on operating systems. Apache can be run on multiple platforms such as UNIX, Linux, Windows, and OS/2. IIS can only be ran on Windows. This leaves very little room for users as only so many people use Windows, but a lot of people use multiple platforms.…

    • 392 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Week 5

    • 585 Words
    • 3 Pages

    JS is probably the most used programing with almost every website having a few JS lines in it. Server side apps software that access to databases, files, and network sockets are capable APIs and in my opinion there is a hazy line between server-side and client-side scripting, for example server-side scripts can manipulate a web page DOM, browser quirks and bugs are some biggest complaints (Tetlaw, 2013).. JS engines are on most browsers with many server implementations of JS in conjunction with PHP, ASP.Net, and Ruby on Rails. JavaScript libraries such as jQuery would work on the server and as noted previously features such as server-side DOM manipulation should also be possible. On the…

    • 585 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Java

    • 490 Words
    • 3 Pages

    Write a Java program to demonstrate using bitmaps and bitwise operators to sort and remove duplicates from a file of random phone numbers. Do not confuse the term bitmap used for compressing data into smaller spaces with the bitmap that has come to mean a graphic image.…

    • 490 Words
    • 3 Pages
    Good Essays
  • Better Essays

    Object-oriented Languages: mainly features as same as the imperative languages because these languages are evolved from imperative languages. The specialty rests on the object-oriented concepts in these languages. Widely used for every kind of software programming and the most commonly used languages are considered to these languages. Java, C#, C++ and Python are few examples.…

    • 1672 Words
    • 7 Pages
    Better Essays
  • Good Essays

    For the answer to the first research question, I believe the class would be quite similar in the general rather than in the specific areas. This is because programming languages can do all the same things despite the syntax being different. So instead of talking about the similarities between different programming languages, I am only going to talk about the differences.…

    • 1484 Words
    • 6 Pages
    Good Essays
  • Satisfactory Essays

    Net and Java Comparison

    • 490 Words
    • 2 Pages

    The NET and Java have a lot of similarities, but they are also extremely different. To start the NET framework is built directly into the windows OS, which makes it very simple when deploying to a computer, in that it does not require the need to install any third party add-ons unless specifically used. Since the framework is built into the OS, it has built in functionality for using other OS dependent functionality. For example, it can offer access to Windows active directory. Java requires the use of the Java Virtual Machine (JVM) so that it can run the programs.…

    • 490 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Deitel, H.M., & Deitel, P.J. (2002). Java: How to program (6th ed.). Upper Saddle River, NJ: Pearson Education…

    • 356 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    Javascript: C and Draw

    • 2149 Words
    • 9 Pages

    INTRODUCTION TO JAVASCRIPT {draw:rect} What is JavaScript? JavaScript was designed to add interactivity to HTML pages JavaScript is a scripting language A scripting language is a lightweight programming language A JavaScript consists of lines of executable computer code A JavaScript is usually embedded directly into HTML pages JavaScript is an interpreted language (means that scripts execute without preliminary compilation) Everyone can use JavaScript without purchasing a license {draw:rect} Are Java and JavaScript the Same? NO! Java and JavaScript are two completely different languages in both concept and design! Java (developed by Sun Microsystems) is a powerful and much more complex programming language - in the same category as C and C++. {draw:rect} What can a JavaScript Do? JavaScript gives HTML designers a programming tool - HTML authors are normally not programmers, but JavaScript is a scripting language with a very simple syntax! Almost anyone can put small "snippets" of code into their HTML pages JavaScript can put dynamic text into an HTML page - A JavaScript statement like this: document.write("" + name + "") can write a variable text into an HTML page JavaScript can react to events - A JavaScript can be set to execute when something happens, like when a page has finished loading or when a user clicks on an HTML element JavaScript can read and write HTML elements - A JavaScript can read and change the content of an HTML element JavaScript can be used to validate data - A JavaScript can be used to validate form data before it is submitted to a server. This saves the server from extra processing JavaScript can be used to detect the visitor's browser A JavaScript can be used to detect the visitor's browser, and - depending on the browser - load another page specifically designed for that browser JavaScript can be used to create cookies…

    • 2149 Words
    • 9 Pages
    Powerful Essays
  • Good Essays

    3.7.4 Activity Diagram

    • 1452 Words
    • 6 Pages

    Effortlessness: Java is a less complex dialect than most others utilized as a part of server applications due to its steady requirement of the article model. The expansive, standard arrangement of class libraries conveys capable devices to Java designers on all stages.…

    • 1452 Words
    • 6 Pages
    Good Essays
  • Good Essays

    History of Java

    • 1158 Words
    • 5 Pages

    Netscape introduced an implementation of the language for server-side scripting (SSJS) with Netscape Enterprise Server, first released in December, 1994 (soon after releasing JavaScript for browsers). Since the mid-2000s, there has been a proliferation of server-side JavaScript implementations. Node.js is one recent notable example of server-side JavaScript being used in real-world applications.…

    • 1158 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    When thinking of the functions that are needed in order for JavaScript to function, there are several that comes to mind. One first has to understand what JavaScript is; it is an object-oriented computer programming language that is used to create a responsive effect within and between web browsers. An object-oriented program allows the individual to be able to deal with different types of objects. An object-oriented draw program allows the person to draw different types of objects, like; circles, rectangles, squares “JavaScript is an interpreted programming or script language from Netscape” (Rouse, M 2001-2015). JavaScript is used within the bounds of a web pages to enable the user larger functions for example; form submission, interactivity, and animations which gives diversity. JavaScript can also run on a web server to generate HTML documents; therefore making it run as a Server-Side script, however this usually limits the client-side scripts. The functions can be completed by implementing different steps. (Sebesta, R 2013)…

    • 500 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Power of JavaScript

    • 366 Words
    • 2 Pages

    JavaScript (JS) is a dynamic computer programming language.[5] It is most commonly used as part of web browsers, whose implementations allow client-side scripts to interact with the user, control the browser, communicate asynchronously, and alter the document content that is displayed.[5] It has also become common in server-side programming, game development and the creation of desktop applications.…

    • 366 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    In this paper, it is also described about the implementation of both this approach in various web browsers. From this research, developer will come to know about the detailed usage of both the approach with respect to their web application. Key Words: Extensible Mark-up Language (XML), Asynchronous JavaScript and XML (AJAX), Web Application, Asynchronous Transmission and Receiving Technique, Document Object Model (DOM)…

    • 3109 Words
    • 13 Pages
    Powerful Essays