You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-user@tomcat.apache.org by Steve Bang <SB...@alphablox.com> on 2002/06/12 18:05:21 UTC

MVC/JSTL --> ANN: Maverick MVC Framework v2.1 Released

The Maverick 2.1 announcement seems relevant to both the current MVC
discussion as well as to JSTL users in general:

"[Maverick offers] Clean, easy-to-understand MVC separation"

"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."

Steve

-----Original Message-----
From: Jeff Schnitzer [mailto:jeff@INFOHAZARD.ORG]
Sent: Wednesday, June 12, 2002 4:18 AM
To: JSP-INTEREST@JAVA.SUN.COM
Subject: ANN: Maverick MVC Framework v2.1 Released


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: mailto listserv@java.sun.com with body: "signoff
JSP-INTEREST".
For digest: mailto listserv@java.sun.com with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>