Front Controller

Brief Description

Many interactive Web applications are composed of brittle collections of interdependent Web pages. Such applications can be hard to maintain and extend.

The Front Controller pattern defines a single component that is responsible for processing application requests. A front controller centralizes functions such as view selection, security, and templating, and applies them consistently across all pages or views. Consequently, when the behavior of these functions need to change, only a small part of the application needs to be changed: the controller and its helper classes.

Detailed Description

See the Core J2EETM Patterns

Detailed Example


Copyright © 2002 Sun Microsystems, Inc. All Rights Reserved.