
Presented in Figure 1 is an overview of the Taak core components.
Taak is built on three models:
The execution model is based on Taak scripts and Java classes. These
executable elements are executed in an execution context that provides
the data model. The processing manipulates or generates XHTML pages represented
as JDOM, which provides the document model.
The general flow of processing begins with the Servlet receiving an HTTP
request from the user. The servlet looks up in its configuration for the
XHTML document, Taak script or Java class associated with the requested
URL. These may be parsed or compiled as required and used to build the
execution context. The context also includes the HTTP servlet request
and response objects that may contain input from the user. The Taak script
or Java class is then executed in the execution context and any resulting
XHTML is sent to the user.
|