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. | ||
− | + | 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 | + | 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
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.
The use of ZEST is straightforward:
- Configure WEB-INF/web.xml to specify ZEST as a filter
- Configure WEB-INF/zest.xml 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