Overview

The Cocoon Bean provides a Java programmatic interface for embedding Cocoon into other applications.

Details

At present, the bean is mainly used for offline page generation. However, there is no reason why it should only be used in offline applications.

An example of an application that uses the bean is the Cocoon Command Line Interface (CLI). To find more about using the bean, look at the code for the CLI, which can be found in the Cocoon codebase in src/java, in the class org.apache.cocoon.Main.

Whilst the Cocoon Bean works, it is still under development, and therefore its API must be considered unstable. Return to this page in future versions to see what has changed.