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

  • Satisfactory Essays

    Similarities in the languages are that their variables should be made up of Alphanumeric characters. Another similarity is they should refrain from using most symbols. A third similarity is each has reserved words that the language uses for its own purposes.…

    • 218 Words
    • 1 Page
    Satisfactory Essays
  • 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
  • Good Essays

    Pt1420 Unit 7 Analysis

    • 737 Words
    • 3 Pages

    Each of these components is programmed in a specific language, for example, Perl, java. PHP, Python, Ruby, or Erlang. Almost every language supports web programming, Different syntax, and same semantics. Consequently, severer side developers have a tendency to solve every problem in her/his desired…

    • 737 Words
    • 3 Pages
    Good 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
  • 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
  • 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
  • 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
  • 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

    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
  • 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