blob: 0d9407337f19099fcda9b248ab6f7e25ae066768 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>The Cocoon Bean</title>
<link href="http://purl.org/DC/elements/1.0/" rel="schema.DC">
<meta content="Upayavira" name="DC.Creator">
<meta content="This document details the basics of using the Cocoon bean." name="DC.Description">
</head>
<body>
<h1>Overview</h1>
<p>The Cocoon Bean provides a Java programmatic interface for embedding Cocoon into other
applications.
</p>
<h1>Details</h1>
<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 <span class="codefrag">src/java</span>, in the class
<span class="codefrag">org.apache.cocoon.Main</span>.</p>
<div class="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.</div>
</body>
</html>