Introduction
Features
-
MVC architecture, where model is represented by Java classes and views are designed using XSLT stylesheets.
-
Web component - oriented architecture.
-
Components can be placed inside other components.
-
Request, session and application scope components.
-
Support for server-side and client-side per-component cache (implemented using
OpenSymphony OSCache). Declarative configuration of caches.
-
Model XSLT transformation
-
Use any standard XSLT implementation, customizable
-
Path to component's stylesheet can be is dynamically calculated using
JSTL
EL expression.
-
Handling sensitive form resubmissions.
-
Ability to conveniently record and display form errors.
-
Transparent mapping of request parameters to model's JavaBean-style properties.
-
Transparent support of multipart requests through jakarta commons-fileupload library. Mapping to model properties
works with multipart requests too.
-
Handling of most frequent exceptional situations through Java exceptions, for example PageNotFoundException,
InvalidRequestException, ForwardException, RedirectException, AccessDeniedException.
-
(Customizable) Model-to-XMLDOM serialization eliminating the need to think about XML during model implementation.
-
I18n support: specify locale-sensitive text or XML resources using
java.util.ResourceBundle; Servlet Filter is provided that allows to store text and XML resources in XML file
and dynamically switch page languages.
-
Support for "development" mode: all configuration and stylesheet file changes are monitored and corresponding
internal structures reloaded on the fly.
Requirements
WebStyler requires servlet container supporting Servlet specification 2.3 or higher and JRE 1.4 or higher.
Tested on Tomcat 5.0.28 (demo application only) and Jetty 4.1.21 (thoroughly).
|