Advantages and disadvantages of JSP

Source: Internet
Author: User

Advantages and disadvantages of JSP

 Disadvantages:

 

1. JSP technology greatly increases product complexity. to obtain the system's cross-platform Functions and product scaling capabilities, java has developed a variety of products, such as JRE, JDK, J2EE, EJB, JSWDK, and JavaBeans, only by effectively combining them can powerful functions be produced. (deployment is difficult)

 

2. java's efficient operation requires a large amount of memory and hard disk space. on the one hand, java runs at high speed through. class file resident memory. on the other hand, hard disk space is also required to store a series. java files and. class file and the corresponding version file. (High hardware requirements)

 

3. JSP program debugging is difficult.

 

The JSP page is first converted. java file (Servlet), and then. the java file is compiled into a bytecode file. in this way, the error information actually points to the converted one. java file (Servlet), rather than JSP itself. (debugging is difficult)

 

 Advantages:

 

1. JSP code is compiled once across platforms and runs everywhere

As we all know, due to Microsoft's monopoly, its product portability is very poor, and ASP is no exception,

 

2. JSP component cross-platform

 

JSP components (Enterprise JavaBeans, JavaBeans, or custom JSP labels) are reusable across platforms. enterprise JavaBeans components can access traditional databases and work in the distributed system mode on Solaris, Linux, UNIX, and Windows platforms.

 

3. Support for multiple webpage formats

 

Currently, there is no clear standard for the webpage format supported by JSP technology. in general, JSP technology supports both HTML and DHTML traditional Browser file formats and WML file formats used for web page previewing by wireless communication devices such as mobile phones and PDAs, other B2B e-commerce websites can also be used in XML format.

 

4. JSP tag scalability

 

Although ASP and JSP both use label and script technology to create dynamic Web pages, JSP technology allows developers to expand JSP tags and customize JSP tag libraries, therefore, web page makers make full use of the powerful XML-compatible tag technology to greatly reduce the dependency on scripting languages. the custom tag technology reduces the complexity of making webpages.

 

5. robustness and security

 

Since JSP pages use a java scripting language, it has all the advantages of java technology, including robust storage management and security.

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.