5. JavaServer Pages

JavaServer Pages (JSP)

Author: Russell Bateman

Objective: Use JSP in place of servlets to access the database.

A Brief Introduction

JSP enables developers and designers to develop and maintain rapidly and easily, information-rich, dynamic web pages that leverage existing business systems. As part of the whole Java technology family, JSP enables rapid development of web-based applications that are platform independent. JSP technology separates the user interface from content generation, enabling designers to change the overall page layout without altering the underlying dynamic content.

JSP makes use of XML-like tags that encapsulate the logic that generates page content. The application logic resides on the server host. Tickled from the browser, JSP sends back specially created HTML pages in response to conditions, stimuli, etc.—therefore, the result is "dynamic" web pages.

JSP is considered, architecturally, to be an extension of Java Servlet technology.


JSP is a platform-neutral and ubiquitous solution as long as Java is present. ASP.NET is Microsoft's answer to JSP, but works only on one platform, Windows Server.

Other terms

JavaBeans is a component architecture. Components (called "JavaBeans") are reusable software programs that are developed and easily assembled to create sophisticated applications.

JavaServer Faces is a UI component framework, perhaps in reaction to the rather sophisticated UI framework of Microsoft .NET.



(Still to come...)