blob: 013a21774935bc602fab5bd0c57505beb8a2bacc [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.0//EN" "../../dtd/document-v10.dtd">
<document>
<header>
<title>The Cocoon Bean</title>
<version>0.9</version>
<type>Technical document</type>
<authors><person name="Upayavira" email="upayavira@apache.org"/>
</authors>
<abstract>This document details the basics of using the Cocoon bean.</abstract>
</header>
<body>
<s1 title="Overview">
<p>The Cocoon Bean provides a Java programmatic interface for embedding Cocoon into other
applications.
</p>
</s1>
<s1 title="Details">
<p>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.</p>
<p>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 <code>src/java</code>, in the class
<code>org.apache.cocoon.Main</code>.</p>
<note>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.</note>
</s1>
</body>
</document>