background image

Java Servlet Technology

<< Java EE 5 APIs | Java Message Service API >>
<< Java EE 5 APIs | Java Message Service API >>

Java Servlet Technology

In Java EE 5, entity beans have been replaced by Java persistence API entities. An entity
represents persistent data stored in one row of a database table. If the client terminates, or if the
server shuts down, the persistence manager ensures that the entity data is saved.
Java Servlet Technology
Java servlet technology lets you define HTTP-specific servlet classes. A servlet class extends the
capabilities of servers that host applications that are accessed by way of a request-response
programming model. Although servlets can respond to any type of request, they are commonly
used to extend the applications hosted by web servers.
JavaServer Pages Technology
JavaServer Pages
TM
(JSP) technology lets you put snippets of servlet code directly into a
text-based document. A JSP page is a text-based document that contains two types of text: static
data (which can be expressed in any text-based format such as HTML, WML, and XML) and
JSP elements, which determine how the page constructs dynamic content.
JavaServer Pages Standard Tag Library
The JavaServer Pages Standard Tag Library (JSTL) encapsulates core functionality common to
many JSP applications. Instead of mixing tags from numerous vendors in your JSP applications,
you employ a single, standard set of tags. This standardization allows you to deploy your
applications on any JSP container that supports JSTL and makes it more likely that the
implementation of the tags is optimized.
JSTL has iterator and conditional tags for handling flow control, tags for manipulating XML
documents, internationalization tags, tags for accessing databases using SQL, and commonly
used functions.
JavaServer Faces
JavaServer Faces technology is a user interface framework for building web applications. The
main components of JavaServer Faces technology are as follows:
A GUI component framework.
A flexible model for rendering components in different kinds of HTML or different markup
languages and technologies. A Renderer object generates the markup to render the
component and converts the data stored in a model object to types that can be represented
in a view.
A standard RenderKit for generating HTML/4.01 markup.
Java EE 5 APIs
The Java EE 5 Tutorial · September 2007
58