|
Professional
JSP : Architecture Part 6 - Servlets versus JSPs
JSPs can
be used for most purposes, but there are some scenarios where Servlets
are more appropriate.
|
|
Professional
JSP : Architecture Part 5 - The "Dispatcher" Approach
We now
move on to look at architectures based on the dispatcher or
"N-tiered" approach, where a Servlet (or JSP) acts as a
mediator or controller, delegating requests to JSP pages and JavaBeans.
We will look at the mediator-view, mediator-composite view,
and service to workers architectures.
|
|
Professional
JSP : Architecture Part 4 - The "Page-Centric" Approach
We start
by looking at architectures based on the page-centric or client-server
approach. We will look at the page-view and page-view with
bean architectures.
|
|
Professional
JSP : Architecture Part 3 - Architectures
Before
discussing specific architectures that we can use to build systems with
Servlets and JSP, it is worth mentioning two basic ways of using the JSP
technology.
|
|
Professional
JSP : Architecture Part 2 - Code Factoring and Role Separation
One of
the main reasons why the Java Server Pages technology has evolved into
what it is today (and it's still evolving) is the overwhelming technical
need to simplify application design by separating dynamic content from
static template display data.
|
|
Professional
JSP : Architecture Part 1 - Introduction
This
chapter will examine a variety of ways to architect a system with
JavaServer Pages, Servlets, and JavaBeans. We will see a series of
different architectures, each a development of the one before.
|
|
Java
Server Programming Tag Extensions Part 4 - Tag Extension Idioms
In order
to stress the mechanics of tag handlers themselves, I have deliberately
used simple examples to this point. However, the range of functionality
that can be delivered with tag extensions is very wide.
|
|
Java
Server Programming Tag Extensions Part 3 - Writing Tag Extensions
Once the
initial concepts are grasped, implementing tag extensions is
surprisingly easy.
|
|
Java
Server Programming Tag Extensions Part 2 - Anatomy of a Tag Extension
Before
we return to our simple example, let's cover some basic theory of tag
extensions. A number of components are required to implement a tag
extension.
|
|
Java
Server Programming Tag Extensions Part 1 - Introduction
From the
point of view of the JSP developer, the only significant new feature of
JSP 1.1 is support for tag extensions (often referred to as custom
tags). However, this proves to be very significant indeed.
|