The difference between Java, JSP and JavaScript

Source: Internet
Author: User

Java and JavaScript are two completely different languages, not all of which have a Java like

Java, the full name should be Java Applet, is embedded in the Web page, but also has its own separate running window applet.
Java applets are pre-compiled, and an Applet file (. Class) opens for reading with Notepad, which is simply not understandable. Java applets are powerful, with access to protocols such as HTTP, FTP, and even viruses on your computer (precedent already).

JavaScript is less capable. JavaScript is a "script" that directly writes code to an HTML document, compiles and executes it when the browser reads it, so you can view the JavaScript source code by viewing the HTML source file. JavaScript does not have a separate running window, and the browser's current window is its running window.

JSP is the first acronym of Java SERVER page, as its name implies, is the server page of Java, its dynamic syntax is completely Java specification. JSP is the same server-side language as asp,php, mainly used to make the website backstage technology (but now generally do not use, since 2014 basically started using template engine technology such as velocity, etc.).

In general, Java is the programming language used in the background, JSP and JavaScript are used for foreground page programming

The difference between Java, JSP and JavaScript

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.