Vadim,
How's about:
---------------
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 <code>src/java</code>, in the class
<code>org.apache.cocoon.Main</code>.</p>
------
If the bean starts getting used outside of the offline world (e.g. in a maillet engine),
we'll have to find somewhere else to put its docs, but it seems okay there for the
moment.
Regards, Upayavira
On 7 Aug 2003 at 8:11, Vadim Gritsenko wrote:
> [EMAIL PROTECTED] wrote:
>
> > <s1 title="Overview">
> > <p>The
Cocoon Bean provides a Java programmatic interface for
> > offline page and site generation
with Apache Cocoon. </p>
> > </s1>
> >
>
> Ummm... I don't agree with this description. Cocoon bean should
> provide Java interface for embedding cocoon into other applications
> (and CLI being just one possible application). Response generated by
> the bean does not have to be "offline". It still should be able to
> support sessions, and "online" stuff like this. Ideally, it should be
> possible to rewrite CocoonServlet to use CocoonBean.
>
> Vadim
>
>
