Advantages and disadvantages of JSP

Source: Internet
Author: User

 Disadvantages:

1. JSP technology greatly increases the complexity of the product. In order to gain the cross-platform functionality and product scalability of the system, the Java system has developed a variety of products, such as Jre,jdk,j2ee,ejb,jswdk,javabeans, that only effectively combine them together, To produce a powerful function. (Deployment is difficult)

2. The efficient operation of Java requires a lot of memory and hard disk space. On the one hand, Java's high-speed operation is achieved through the. class file resident memory. On the other hand, hard disk space is also required to store a series of. java files and. class files, as well as the corresponding version files. (High hardware requirements)

3. JSP program debugging difficult.

When the JSP page executes, it is first converted to a. java file (Servlet), and then the. java file is compiled into a bytecode file. In this way, the error message actually points to the converted. java file (Servlet), not the JSP itself. (Debugging is difficult)

 Advantages:

1.JSP Code cross-platform, write once, run everywhere

As we all know, because of the monopoly of Microsoft, its product portability is very poor, ASP is no exception,

2.JSP Components cross-platform

JSP components (Enterprise Javabeans,javabeans or custom JSP tags) are reusable across platforms. The Enterprise JavaBeans component can access the traditional database and can work in the Solaris,linux in Distributed system mode. UNIX and Windows platforms.

3. Support Multiple Web formats

Currently, JSP technology supports a Web page format that does not have a clear standard. In general, JSP technology can not only support html/dhtml traditional browser file format, but also can support the use of wireless communication devices such as mobile phones, PDAs and other Devices for Web Page preview of the WML file format, You can also support some other XML formats for e-business web site applications.

4.JSP Label Extensibility

Although both ASP and JSP use label and scripting technology to make Dynamic Web pages, JSP technology allows developers to extend JSP tags and customize JSP tag libraries, so web-based authors take advantage of XML-compatible tagging technology to greatly reduce their reliance on scripting languages. Due to the custom labeling technology, Make Web page creators reduce the complexity of making web pages.

5. Robustness and security

Because the scripting language used by JSP pages is the Java language, it has all the benefits of Java technology, including robust storage management and security.

Advantages and disadvantages of JSP

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.