apache > cocoon

- Home

# Readers in Cocoon

## Goal

This document lists all of the available readers of Apache Cocoon and describes their purpose.

## Overview

A reader is the starting, and end point of an xml pipeline. It collapses the features of a generator, transformer, and serializer. Readers are useful for delivering binary content like images; more general readers deliver content as-is.

In the sitemap file, each reader has a unique name which is mapped to a java class. One reader name must be declared as the default reader. Each reader may have additional configuration information specified in child elements.

For conceptual information on readers see the user's guide document The Sitemap.

## The Readers in Apache Cocoon

- AxisRPC Reader (Optional: Axis block)
- Database Reader (Optional: Database block)
- Directory ZIP Archiver (Scratchpad)
- Image Reader
- JSP Reader (Optional: JSP block)
- Resource Reader (The default reader)

Errors and Improvements? If you see any errors or potential improvements in this document please help us: View, Edit or comment on the latest development version (registration required).