The Maverick team is happy to announce the version 2.1 release of the Maverick MVC Framework. Maverick is a minimalist web publishing framework which combines the best features of Struts and Cocoon and yet is far simpler than either. It is open-source and published with an Apache-style license.
http://mav.sourceforge.net Maverick offers: . Clean, easy-to-understand MVC separation . Configuration using an XML sitemap . Automatic internationalization and customization based on user agent . Pluggable templating and transformation technologies, including JSP, Velocity, XSL, DVSL, and FOP. Transformations do not need to be XML-based. . The ability to chain together transformations of varying types (XSL, DVSL, string substitution, etc) into a pipeline. . Automagic conversion of JavaBeans models to DOM representation so that DVSL or XSLT can be applied without manually generating XML (if desired). . The ability to halt the transformation process at any step to obtain the intermediate results . Wrapping transformations, which provide a simple way to apply a common look-and-feel to pages which are not necessarily XML. . A comprehensive set of sample applications, ranging from a simple membership-based contact list to a full-blown EJB application for wiki-like sharing of images. Maverick is an excellent tool for use with the JSTL standard tag library; the primary JSP example uses JSTL to render the model to HTML. The 2.1 release adds the ability to render views with a set of arbitrary transformations of various types (rather than just multiple instances of a single type). So for example, after normally Controller processing and Model building, the View rendering of a request might involve the following sequence of steps: . Render the model to XML with JSP (or use domify to do this automagicaly) . Apply a common look and feel with XSLT . Transform the XML to Formatting Objects with XSLT . Transform the FO to PDF with Apache FOP Just to illustrate how easy this is, here's a snippet of the configuration file that defines a command (the uri is "showReport.m") that executes the transformation process above: <command name="showReport"> <controller class="com.foo.GenerateReport"/> <!-- success, render the report --> <view name="success" path="makeXML.jsp"> <transform type="xsl" path="common.xsl"/> <transform type="xsl" path="makeFO.xsl"/> <transform type="fo" output="pdf"/> </view> <!-- maybe some form data failed validation --> <view name="error" path="requestReportForm.jsp"> <transform type="document" path="lookAndFeel.jsp"/> </view> </command> Of course, Maverick is convenient even if you have no need for transformations and need only a vanilla MVC framework. Just eliminate the <transform> elements. Thanks, The Maverick Team http://mav.sourceforge.net ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
