Java Reference
In-Depth Information
A servlet runs on the server side, as if it is a demon. Essentially, servlets are speciic and
niche applications on the server without any UI of their own. Java servlet extensions allows the
Web application developers to create diferent types of applications. he javax.servlet
extension helps in creating generic request-response oriented servlets, and javax.servlet.
http extensions provide the classes and interfaces to deine request-response oriented Web
application servlets. Although servlets can perform a variety of jobs, they are best suited for
“controlling” aspects of the operations on the Web applications.
1.3.3 JavaServer Pages Technology
JavaServer Pages (JSP) are the server-side components of Java Platform, Enterprise Edition. JSP
technology provides a simpliied, quick way to develop the visual aspect of the dynamic Web con-
tent. It enables rapid development of “view” aspect of Web-based applications and lets users add
snippets of servlet code directly into a text-based document.
A JSP is essentially a text-based document that contains two types of textual information:
Static data, which can be expressed in any text-based format, such as HTML, WML, or
XML
JSP technology elements, which determine how the page constructs the dynamic content
A JSP can be as simple as a bit of HTML suitably intermixed with one or more snippets of JSP
code (or JSP tags), and these iles carry a .jsp extension of the page name.
1.3.4 JavaServer Pages Standard Tag Library
JSP Standard Tag Library (JSTL) comprises the server-side components of Java Platform, Enterprise
Edition. JSTL encapsulates core functionality common to many JSP technology-based applica-
tions. he JSTL technology helps in standardizing a set of tags for the entire Web application of
an enterprise in question. his standardization ability of JSTL technology allows the deployment
of Web applications on any JSP container that supports JSTL and makes it more likely that the
implementation of the tags is optimized.
JSTL technology provides many tags—tags for control and manipulation, localization and
internationalization, database access, and so on. For example, iterator and conditional tags help
in handling low control, manipulating tags help in manipulating XML documents, and inter-
nationalization tags are used for internationalization. here are also tags for accessing databases
using structure query language (SQL) and tags for commonly used functions.
1.3.5 JavaServer Faces Technology
JavaServer Faces (JSF) is the server-side components of Java Platform, Enterprise Edition. JSF
technology is a UI framework for building robust Web applications. he main components of JSF
technology involve three aspects—a component framework for GUI, a lexible model for render-
ing components in various markup languages and technologies, and a standard Rendering Kit for
generating HTML markup. his functionality is available through standard Java APIs and XML-
based coniguration iles.
Search WWH ::




Custom Search