Quick Start"

From Documentation
Line 4: Line 4:
 
ZEST is a lightweight Web framework that enables MVC and REST architectural pattern.
 
ZEST is a lightweight Web framework that enables MVC and REST architectural pattern.
  
=Architectural Overview=
+
ZEST is installed as a HTTP filter to intercept each HTTP request. Once a HTTP request is received, ZEST looks for the matched action, instantiate and invoke it, and then forward to the view based on the result as illustrated below.
 +
 
 
[[File:ZESTExecutionFlow.png]]
 
[[File:ZESTExecutionFlow.png]]
  
ZEST MVC is per-request. That is, for each HTTP request, ZEST searches the matched action, instantiate, invoke and then forward to the view based on the result.
+
The use of ZEST is straightforward:
 +
 
 +
# Configure <tt>WEB-INF/web.xml</tt> to specify ZEST as a filter
 +
# Configure <tt>WEB-INF/zest.xml</tt> to specify the definitions of actions
 +
# Implement the action as a Java class to handle the request
 +
# Implement the view in any technology you prefer to show up the result
  
 
{{ZESTEssentialsHeadingToc}}
 
{{ZESTEssentialsHeadingToc}}
 
{{ZESTEssentialsPageFooter}}
 
{{ZESTEssentialsPageFooter}}

Revision as of 10:30, 11 March 2011

Quick Start



WarningTriangle-32x32.png This page is under construction, so we cannot guarantee the accuracy of the content!

ZEST is a lightweight Web framework that enables MVC and REST architectural pattern.

ZEST is installed as a HTTP filter to intercept each HTTP request. Once a HTTP request is received, ZEST looks for the matched action, instantiate and invoke it, and then forward to the view based on the result as illustrated below.

ZESTExecutionFlow.png

The use of ZEST is straightforward:

  1. Configure WEB-INF/web.xml to specify ZEST as a filter
  2. Configure WEB-INF/zest.xml to specify the definitions of actions
  3. Implement the action as a Java class to handle the request
  4. Implement the view in any technology you prefer to show up the result




Last Update : 2011/03/11

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.