You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Erik Bruchez <er...@bruchez.org> on 2002/10/25 21:41:57 UTC

Model 2X Update - OXF Announce

All,

Some Struts users may remember the article that we published in
JavaWorld at the beginning of the year about combining Struts and
XSLT, a model that we called Model 2X:

   http://www.javaworld.com/javaworld/jw-02-2002/jw-0201-strutsxslt.html

To summarize, in this model actions are written as usual with Struts,
but all the presentation logic of the application is written in XSLT,
thus removing the need for JSP.

The rationale behind this approach is based on the many disadvantages
of JSP and the fact that if one really uses Struts and its tag
libraries, one very naturally ends up writing JSP files containing
only HTML and XML elements from the tag libraries. Given that most of
the functionality of those tag libraries (such as iterating and
extracting elements from data structures) is readily available in XSLT
and XPath, the switch to those technologies is extremely natural.

The JavaWorld article only provided short code examples illustrating
how to go about implementing Model 2X. Since then we have developed
and released OXF, an XML framework which, among other features,
provides a robust foundation to build Model 2X applications with a
clearly separated and modular presentation logic. OXF goes well beyond
this with its XML processors, XML pipelines, and its extremely
powerful XML Pipeline Definition Language, XPL. More information about
the technology is available in a technical white paper:

   http://www.orbeon.com/oxf/whitepaper.xhtml

You can also find more information about OXF, including online
documentation, at the Orbeon Web site:

   http://www.orbeon.com/oxf/

Feedback is of course more than welcome!

-Erik


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