O'Reilly logo

Apache Jakarta and Beyond: A Java Programmer’s Introduction by Larne Pekowsky

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 20. Cocoon

Chapter 18 included an overview of the XML portion of the Java tag library. Several of the examples in that chapter illustrated a two-stage approach to building pages. In the first stage a JavaServer Page builds an XML document containing the data, and in the second stage XSLT is used to transform the document into a form suitable for presentation.

Cocoon takes this idea and expands on it by several orders of magnitude. Cocoon provides a complete XML-based publishing suite that provides dozens of tools for the generation, manipulation, and rendering of XML. The basic two-stage approach is augmented into an XML pipeline that may build and transform a document in several steps.

Building and Configuring Cocoon

Cocoon is unlike any ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required