Welcome to Cheng-chien's Web Site Designed for Santa Monica College Study
Home Assign 02 Assign 03 Assign 04 Assign 05 Final Exam World TimeZones  
JSP Home
JAVASERVER PAGESTM
A Simplified Guide
6. JSP Deliverables

Sun's standard practice for a Java API is to provide the API specification with documentation and a reference implementation, so developers and companies can refer to a code implementation as they develop their own. Sun provides the following deliverables for JSP technology:

Competitive Landscape

To understand how JSP technology fits in the progression of products supporting dynamic content, it is worth describing a few of the alternatives.

Portability Across Platforms and Servers

JSP technology, as part of the Java family, is designed to adhere to the Write Once, Run Anywhere credo. Pages created with JSP technology can run on any server, on any platform. Components (such as JavaBeans or tag libraries) developed on one platform can run easily on another.

JSP is unique in this capacity - none of the other solutions have this degree of platform-independence and cross-platform portability. This frees businesses from depending on a single vendor for product solutions or development directions.

Scalability

Scalable performance is critical for Web pages that handle a significant volume of users. CGI pages have a significant weakness when scaling to handle many concurrent users. A CGI application creates a new process for each access, creating significant performance problems in high-volume sites.

JSP pages are compiled once when first invoked and remain in memory; this provides better scalability for high-volume sites than the CGI approach.

Ease of Development, Deployment, and Maintenance

Creating CGI programs and mod_perl scripts are tasks belonging to programmers familiar with the programming languages. The same can be said of writing beans or custom tag libraries - it requires familiarity with the Java language. But writing and maintaining JSP pages that call these custom components is a task that can be delegated to page authors familiar with HTML or XML. In other words, only the JSP technology really enables a tiered development methodology leveraging each person's skills (described above) in addition to a tiered architecture.

Some of the other differences are summarized in the table below. For a more direct comparison of the technologies, please see java.sun.com/products/jsp/.

 CGI/PerlMod_PerlASPJSP
Web serverAny Web serverApache Web ServerMicrosoft IIS or Personal Web ServerAny Web server, including Apache, Netscape, IIS today
Portable across platforms/serversNoNoNoYes
Reusable, modular codeNoNoNoYes
Scripting languageC, PerlPerlVBScript, JScriptJava
Memory leak protectionYesNoNoYes
Supports concurrent access without separate processesNoYesYesYes

Previous Page 04 OF 04
Back To Top

Web Page Designed By : Cheng-chien Yu
Attaendant Class : Santa Monica College - CIS 36H
Due Date : September 29, 2001.